Wrong odbc ?

Status
Not open for further replies.
Newbie Spellweaver
Joined
Aug 16, 2005
Messages
33
Reaction score
0
hmm i have another problem with zoneserver. You will all say that this is wrong odbc.
I have odbc : A3ItemEvent, HSDB, FriendDB and ASD (the same DBs in sql).
I checked in control panel and in sql what can be wrong but i cant find. Maybe someone had the same problem and know what to do.
Peace :)

I got that in my registry:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI]

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\A3Friend ]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="FriendDB"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\A3RcvRes ult]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="A3ItemEvent"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\A3Serial List]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="A3ItemEvent"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\EventA3]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="ASD"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\FriendDB ]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="HSDB"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\HSDB]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="HSDB"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\LETTERDB ]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="FriendDB"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\LocalSer ver]
"Description"=""
"Server"="(server)"
"Trusted_connection"=""
"UseProcForPrepare"="Yes"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\Login202 ]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="ASD"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\NEWASD]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="ASD"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"LocalServer"="SQL Server"
"A3RcvResult"="SQL Server"
"A3SerialList"="SQL Server"
"FriendDB"="SQL Server"
"NEWASD"="SQL Server"
"Login202"="SQL Server"
"LETTERDB"="SQL Server"
"EventA3"="SQL Server"
"A3Friend"="SQL Server"
"HSDB"="SQL Server"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC File DSN]
"DefaultDSNDir"="C:\\Program Files\\Common Files\\ODBC\\Data Sources"
 

Attachments

Last edited:
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\A3RcvRes ult
HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\LocalSer ver

those are examples of WRONG entries, you MUST BE ABLE to edit any and all of the odbc entries using the ODBC manager. if you get an error, means thats entry must be removed from registry and added manually from the ODBC manager.
Also: some of the .exe files has embebed ODBC entries that doesnt appear on the config files. Because of that I had to create some dummy odbc entries even if they are not used.
As long as its works, and in the propper way, I dont care. Server is quite buggy enough by itself.

rudy.

Also: create a Db named Itemevent and run the script from the Part3sql on it, and make the odbc entry to point to that db.
 
Last edited:
Yea some odbc entries had errors. I did db Itemevent and restore it in query analyzer with A3ItemEvent.txt. I made odbc entry Itemevent and point with that db. hmm i write you my entries :
ASD pointed to ASD
A3ItemEvent pointed to A3ItemEvent
HSDB pointed to HSDB
FriendDB pointed to FriendDB
EventA3 - that was pointed to ASD. Point it to A3ItemEvent?
A3Friend - error (i must point it to what? friendDB?
A3RcvResult - ASD
A3SerialList - ASD
NEWASD - ASD
Login202 - ASD
LocalServer - where to point it?
LETTERDB - ASD
Itemevent - Itemevent

I tried to point everything that i dont know by myslef but still the same error in zoneserver.
 
I cant now, but I will post my .ini files and my odbc entries.

Checking the console messages and the log files gives you a clue, in this case, you have a problem while connecting to the Itemevent DB. if you check the log files in the zoneserver, you must have one that complains "ERROR CONNECTING ITEM EVENT".
Thats your clue.
 
iNs@nE said:
yea...you gotta change the server to ur server name in the odbc.ini file...



i know i changed it when i put it on this topic :) it is not that problem but thanks :)

I found in log this:
[2006-03-19, 02:14:54] SUCCESS: Event Item Provider DB Connect Succeeded.
[2006-06-14, 20:14:07] ERROR:: A3SerialList Connect Failed.
[2006-06-14, 20:56:13] ERROR:: A3RcvResult Connect Failed.

ok ill try to point it with other dbs. maybe it will works.

hehe rudy you are god ^^ it was all in log files :D
 
Last edited:
NO, I just had all those problems, and I had to do all of those things. =P

I think I should get another harddisk and try to do all this mess again, because I have been working almost blindly, trying to guess wth had the programmers in their mind when they developed the server.

And the next time, I will keep a log file of every thing I had to do in order to make it run. That would be a perfect way to write a tutorial.
 
See some error from this
[2006-06-14, 20:14:07] ERROR:: A3SerialList Connect Failed.
[2006-06-14, 20:56:13] ERROR:: A3RcvResult Connect Failed.

And then check from ODBC link to
A3RcvResult - ASD
A3SerialList - ASD

It like every say check ODBC, it was wrong.Please see from script
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\A3RcvResult]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="A3ItemEvent"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\A3SerialList]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="A3ItemEvent"
"LastUser"="sa

both script link to A3ItemEvent. Please correct with your ODBC and make double sure with all character like capital letter and or lower letter.
 
Pon said:
See some error from this
[2006-06-14, 20:14:07] ERROR:: A3SerialList Connect Failed.
[2006-06-14, 20:56:13] ERROR:: A3RcvResult Connect Failed.

And then check from ODBC link to
A3RcvResult - ASD
A3SerialList - ASD

It like every say check ODBC, it was wrong.Please see from script
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\A3RcvResult]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="A3ItemEvent"
"LastUser"="sa"

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\A3SerialList]
"Driver"="C:\\WINDOWS\\System32\\SQLSRV32.dll"
"Server"="(server)"
"Database"="A3ItemEvent"
"LastUser"="sa

both script link to A3ItemEvent. Please correct with your ODBC and make double sure with all character like capital letter and or lower letter.

must be A3RcvResult and A3SerialList (WITHOUT ANY SPACES). On the web theres an space that appears, if you use Control-C/Control-V, BE CAREFUL.

terek did you get your server to run?
 
Last edited:
No my server still "connecting..." ... it is really hard to do something if you are not programmer etc. :/ dunno what to do... i look in Netstat and there are some ports "estabilished" but i dont know what to do with it. I only get information from here and server runs ok. Im afraid that its all i can do :/

btw.
If you got some time pls write your inis here
 
yea a3client.exe is pointed to my ip. I turn off firewall when i test server.
I have 1 question. If my server is testing on 1 computer i need to put everywhere in inis 127.0.0.1 ?
 
Hey like you can read my last post i have another problem now (in that problem what you wanted help me i just had to point A3RcvResult and A3SerialList to A3ItemEvent :) Now i have problem with Connecting when i want to log in game.
 
Terek said:
yea a3client.exe is pointed to my ip. I turn off firewall when i test server.
I have 1 question. If my server is testing on 1 computer i need to put everywhere in inis 127.0.0.1 ?


do you have more than 1 pc ? cos i'm not sure if server and client work on the same pc using 127.0.0.1 ( since i have 3 pcs , i always try using the lan ip not the loopback
 
Status
Not open for further replies.
Back