<div dir="ltr">Also compare the vServer logs on both machines (as well as the logs made by Valentina LiveCode extension which are in your application folder in folder vlogs</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Oct 3, 2013 at 12:06 PM, Mark Schonewille <span dir="ltr"><<a href="mailto:m.schonewille@economy-x-talk.com" target="_blank">m.schonewille@economy-x-talk.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi William,<br>
<br>
>From the documentation, I understand that the database name is either a filename in the databases folder, without the file extension, or the name of a non-existent file that is about to be created. Just to be sure, I tried existing and non-existing file names with and without file extensions.<br>
<br>
Any more ideas?<div class="im"><br>
<br>
--<br>
Best regards,<br>
<br>
Mark Schonewille<br>
<br>
Economy-x-Talk Consulting and Software Engineering<br>
Homepage: <a href="http://economy-x-talk.com" target="_blank">http://economy-x-talk.com</a><br>
Twitter: <a href="http://twitter.com/xtalkprogrammer" target="_blank">http://twitter.com/<u></u>xtalkprogrammer</a><br>
KvK: 50277553<br>
<br>
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. <a href="http://www.color-converter.com" target="_blank">http://www.color-converter.com</a><br>
<br>
Buy my new book "Programming LiveCode for the Real Beginner" <a href="http://qery.us/3fi" target="_blank">http://qery.us/3fi</a><br>
<br>
Fill out this survey please<br>
<a href="http://livecodebeginner.economy-x-talk.com/survey/" target="_blank">http://livecodebeginner.<u></u>economy-x-talk.com/survey/</a><br>
<br></div><div class="im">
On 10/3/2013 18:04, william humphrey wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Error 82504 is ERR_CONNECTION_INVALID_<u></u>DATABASE_NAME<br>
<br>
This would mean that (in your code) "myDatabaseFileName" must be<br>
replaced with the correct name for the database.<br>
<br>
<br>
<br>
<br>
On Thu, Oct 3, 2013 at 11:47 AM, Mark Schonewille<br>
<<a href="mailto:m.schonewille@economy-x-talk.com" target="_blank">m.schonewille@economy-x-talk.<u></u>com</a><br></div><div class="im">
<mailto:<a href="mailto:m.schonewille@economy-x-talk.com" target="_blank">m.schonewille@economy-<u></u>x-talk.com</a>>> wrote:<br>
<br>
Hi François,<br>
<br>
Thanks for your reply. The ini file contains<br>
<br>
; The path, where sysdatabase are stored.<br>
SystemCatalog=databases<br>
<br>
and the path to my databases folder is<br>
<br>
C:\Program Files\Paradigma Software\VServer x64\databases<br>
<br>
Would this be correct?<br>
<br>
How would I open master.vdb and what should I do with it?<br>
<br>
<br>
--<br>
Best regards,<br>
<br>
Mark Schonewille<br>
<br>
Economy-x-Talk Consulting and Software Engineering<br>
Homepage: <a href="http://economy-x-talk.com" target="_blank">http://economy-x-talk.com</a><br></div>
Twitter: <a href="http://twitter.com/__xtalkprogrammer" target="_blank">http://twitter.com/__<u></u>xtalkprogrammer</a><div class="im"><br>
<<a href="http://twitter.com/xtalkprogrammer" target="_blank">http://twitter.com/<u></u>xtalkprogrammer</a>><br>
KvK: 50277553<br>
<br>
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other<br>
colour spaces. <a href="http://www.color-converter.com" target="_blank">http://www.color-converter.com</a><br>
<br>
Buy my new book "Programming LiveCode for the Real Beginner"<br>
<a href="http://qery.us/3fi" target="_blank">http://qery.us/3fi</a><br>
<br>
Fill out this survey please<br></div>
<a href="http://livecodebeginner." target="_blank">http://livecodebeginner.</a>__<a href="http://economy-x-talk.com/survey/" target="_blank">econ<u></u>omy-x-talk.com/survey/</a><div class="im"><br>
<<a href="http://livecodebeginner.economy-x-talk.com/survey/" target="_blank">http://livecodebeginner.<u></u>economy-x-talk.com/survey/</a>><br>
<br>
On 10/3/2013 17:12, François Van Lerberghe wrote:<br>
<br>
I have had this error in the past but unfortunately don't<br>
remember the<br>
details.<br>
<br>
I would check<br>
- the server ini file (specifically the parameter indicating te<br>
path where<br>
sysdatabase are stored : "SystemCatalog")<br>
- perhaps the master.vdb file (?)<br>
(in order to open directly master.vdb, you must close the server<br>
before)<br>
<br>
Cheers<br>
<br>
François Van Lerberghe<br>
Rue Thier Monty, 15 A<br>
4570 Marchin<br>
Belgique<br>
<br>
<br>
le 3/10/13 16:50, Mark Schonewille<br></div>
<m.schonewille@economy-x-talk.<u></u>__com<br>
<mailto:<a href="mailto:m.schonewille@economy-x-talk.com" target="_blank">m.schonewille@economy-<u></u>x-talk.com</a>>> a<div class="im"><br>
écrit :<br>
<br>
Hi,<br>
<br>
I have the following LiveCode script:<br>
<br>
global gTheConnection,gTheDatabase<br>
<br>
on DatabaseOpen<br>
put "databaseName.vdb" into myDatabaseFileName //<br>
temporary change<br>
get Valentina_InitClient( 10 * 1024 * 1024)<br></div>
get Valentina_DebugLevel("__<u></u>kLogParams")<br>
put VConnection_Constructor("__<u></u>localhost", "xxx", "xxx",<div class="im"><br>
15432) into<br>
gTheConnection<br>
put VDatabase_Constructor( gTheConnection ) into<br>
gTheDatabase<br></div>
// get VDatabase_DateFormat(__<u></u>gTheDatabase, "kYMD")<br>
get VDatabase_DateSep(__<u></u>gTheDatabase, "-")<div class="im"><br>
get VDatabase_Open( gTheDatabase, myDatabaseFileName )<br>
if it contains "ERROR" or gTheDatabase contains "ERROR" then<br>
answer "There was an error" && myDatabaseFileName & cr &<br>
gTheDatabase & cr & it<br>
end if<br>
end DatabaseOpen<br>
<br>
The line<br>
<br>
get VDatabase_Open( gTheDatabase, myDatabaseFileName )<br>
<br>
always returns ERROR 0x82504. This seems to mean "invalid<br>
database name"<br>
but I am sure that the database name is correct (the script<br>
works<br>
perfectly fine on someone else's machine, just not on my<br>
machine). What<br>
could cause this problem?<br>
<br>
<br></div>
______________________________<u></u>___________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net" target="_blank">Valentina@lists.macserve.net</a> <mailto:<a href="mailto:Valentina@lists.macserve.net" target="_blank">Valentina@lists.<u></u>macserve.net</a>><br>
<a href="http://lists.macserve.net/__mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/__<u></u>mailman/listinfo/valentina</a><div class="im"><br>
<<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/<u></u>mailman/listinfo/valentina</a>><br>
<br>
<br>
<br>
<br>
--<br>
<a href="http://www.bluewatermaritime.com" target="_blank">http://www.bluewatermaritime.<u></u>com</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net" target="_blank">Valentina@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/<u></u>mailman/listinfo/valentina</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net" target="_blank">Valentina@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/<u></u>mailman/listinfo/valentina</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="http://www.bluewatermaritime.com">http://www.bluewatermaritime.com</a>
</div>