<div dir="ltr">Does vStudio open your vServer connection and show you the database files?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 3, 2013 at 12:11 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">William,<br>
<br>
I can't do that, because I don't have that other machine :-)<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:07, 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">
I just re-read your email and the fact that the script works on another<br>
machine. That would mean something to do with vServer. Please use<br>
vStudio to open your vServer connection on both machines and see any<br>
differences.<br>
<br>
<br>
<br>
On Thu, Oct 3, 2013 at 12:04 PM, william humphrey<br></div><div class="im">
<<a href="mailto:bill@bluewatermaritime.com" target="_blank">bill@bluewatermaritime.com</a> <mailto:<a href="mailto:bill@bluewatermaritime.com" target="_blank">bill@<u></u>bluewatermaritime.com</a>>> wrote:<br>

<br>
    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<br>
        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"<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<br>
            te 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<br>
            server 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",<div class="im"><br>
                "xxx", 15432) into<br>
                gTheConnection<br>
                    put VDatabase_Constructor( gTheConnection ) into<br>
                gTheDatabase<br></div><div class="im">
                    // get VDatabase_DateFormat(__<u></u>gTheDatabase, "kYMD")<br></div>
                    get VDatabase_DateSep(__<u></u>gTheDatabase, "-")<div class="im"><br>
                    get VDatabase_Open( gTheDatabase, myDatabaseFileName )<br>
                    if it contains "ERROR" or gTheDatabase contains<br>
                "ERROR" then<br>
                       answer "There was an error" && myDatabaseFileName<br>
                & 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<br>
                "invalid database name"<br>
                but I am sure that the database name is correct (the<br>
                script 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><div class="im">
        ______________________________<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><br></div><div class="im">
        <<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>
<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>