ERROR 0x82504

william humphrey bill at bluewatermaritime.com
Thu Oct 3 11:04:45 CDT 2013


Error 82504 is ERR_CONNECTION_INVALID_DATABASE_NAME

This would mean that (in your code) "myDatabaseFileName" must be replaced
with the correct name for the database.




On Thu, Oct 3, 2013 at 11:47 AM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

> Hi François,
>
> Thanks for your reply. The ini file contains
>
> ; The path, where sysdatabase are stored.
> SystemCatalog=databases
>
> and the path to my databases folder is
>
> C:\Program Files\Paradigma Software\VServer x64\databases
>
> Would this be correct?
>
> How would I open master.vdb and what should I do with it?
>
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/**xtalkprogrammer<http://twitter.com/xtalkprogrammer>
> KvK: 50277553
>
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
> spaces. http://www.color-converter.com
>
> Buy my new book "Programming LiveCode for the Real Beginner"
> http://qery.us/3fi
>
> Fill out this survey please
> http://livecodebeginner.**economy-x-talk.com/survey/<http://livecodebeginner.economy-x-talk.com/survey/>
>
> On 10/3/2013 17:12, François Van Lerberghe wrote:
>
>> I have had this error in the past but unfortunately don't remember the
>> details.
>>
>> I would check
>> - the server ini file (specifically the parameter indicating te path where
>> sysdatabase are stored : "SystemCatalog")
>> - perhaps the master.vdb file (?)
>> (in order to open directly master.vdb, you must close the server before)
>>
>> Cheers
>>
>> François Van Lerberghe
>> Rue Thier Monty, 15 A
>> 4570 Marchin
>> Belgique
>>
>>
>> le 3/10/13 16:50, Mark Schonewille <m.schonewille at economy-x-talk.**com<m.schonewille at economy-x-talk.com>>
>> a
>> écrit :
>>
>>  Hi,
>>>
>>> I have the following LiveCode script:
>>>
>>> global gTheConnection,gTheDatabase
>>>
>>> on DatabaseOpen
>>>    put "databaseName.vdb" into myDatabaseFileName  // temporary change
>>>    get Valentina_InitClient( 10 * 1024 * 1024)
>>>    get Valentina_DebugLevel("**kLogParams")
>>>    put VConnection_Constructor("**localhost", "xxx", "xxx", 15432) into
>>> gTheConnection
>>>    put VDatabase_Constructor( gTheConnection ) into gTheDatabase
>>>    // get VDatabase_DateFormat(**gTheDatabase, "kYMD")
>>>    get VDatabase_DateSep(**gTheDatabase, "-")
>>>    get VDatabase_Open( gTheDatabase, myDatabaseFileName )
>>>    if it contains "ERROR" or gTheDatabase contains "ERROR" then
>>>       answer "There was an error" && myDatabaseFileName & cr &
>>> gTheDatabase & cr & it
>>>    end if
>>> end DatabaseOpen
>>>
>>> The line
>>>
>>>   get VDatabase_Open( gTheDatabase, myDatabaseFileName )
>>>
>>> always returns ERROR 0x82504. This seems to mean "invalid database name"
>>> but I am sure that the database name is correct (the script works
>>> perfectly fine on someone else's machine, just not on my machine). What
>>> could cause this problem?
>>>
>>
>>  ______________________________**_________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/**mailman/listinfo/valentina<http://lists.macserve.net/mailman/listinfo/valentina>
>



-- 
http://www.bluewatermaritime.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20131003/2ff4b40b/attachment.html>


More information about the Valentina mailing list