ERROR 0x82504
Mark Schonewille
m.schonewille at economy-x-talk.com
Thu Oct 3 11:06:53 CDT 2013
Hi William,
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.
Any more ideas?
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: 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/
On 10/3/2013 18:04, william humphrey wrote:
> 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
> <mailto: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
> <mailto: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 <mailto:Valentina at lists.macserve.net>
> http://lists.macserve.net/__mailman/listinfo/valentina
> <http://lists.macserve.net/mailman/listinfo/valentina>
>
>
>
>
> --
> http://www.bluewatermaritime.com
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
More information about the Valentina
mailing list