View previous topic :: View next topic |
Author |
Message |
celtic3
Joined: 16 Jul 2005 Posts: 19
|
Posted: Sat Sep 17, 2005 3:18 Post subject: Error in log HELP? |
|
|
Everything seems to be running alright, but aparently not.
Can someone tell me what is wrong and steps to fix it. Below are the 2 log files reporting whatever this is.
..........................................First log NWNX......................................
NWN Extender V.2.6.1
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org
* Loading plugins...
* Plugin functions is loaded.
* Plugin hashset is loaded.
* Plugin leto is loaded.
* An error occured during OnCreate of odbc
* An error occured while loading extension profiler (126: The specified module could not be found. )
* NWNX2 activated.
........................................................................................................
.................................Second log NWNX_ODBC...................................
! Error while connecting to database: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
........................................................................................................ |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Mon Sep 19, 2005 22:38 Post subject: |
|
|
Probably something wrong with the youre datasource.
I would recommend to use the sqlite database, since it is much easier to get working.
Quote: |
3.c. Configuration for ODBC database
If you have a different database system than MySQL you will use the ODBC connection method. In this section we will describe the steps needed to setup your system correctly. In the description below we asume that you are using Windows XP or a similar system.
* Make sure your database system (including ODBC support) is installed and running correctly on your machine (with a remote database system you only need the ODBC drivers on your machine).
* Create an ODBC datasource: in the Control Panel select Administrative Tools and then Data Sources (ODBC). In the System Tab click on Add, and fill in the required fields. When finished the datasource should appear in the list (if not, consult your database system manual).
Edit the nwnx.ini file and set the dsn= parameter to the name you have just entered, e.g.:
[ODBC2]
source = odbc
dsn = nwn
|
|
|
Back to top |
|
|
celtic3
Joined: 16 Jul 2005 Posts: 19
|
Posted: Tue Sep 20, 2005 1:36 Post subject: |
|
|
I'm using Win2K and SQLite. The nwnx.ini has those settings already. |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Tue Sep 20, 2005 9:00 Post subject: |
|
|
Perhaps you could post the odbc section of youre nwnx.ini file.
I never had such an error, so the only way I can help you out is trying to rule out the most logic causes one at a time. |
|
Back to top |
|
|
celtic3
Joined: 16 Jul 2005 Posts: 19
|
Posted: Sun Oct 02, 2005 20:55 Post subject: |
|
|
[ODBC2]
; Log file
MaxLogSize = 512 ; in KByte
LogLevel = 2 ; 0=nothing, 1=only errors, 2=everything
; Use these two settings for the SQLite internal database
source = sqlite
file = sqlite.db
; Use these two settings for ODBC connections
;source = odbc
;dsn = nwn
; Use these five settings for MySQL connections
;source = mysql
;server = localhost
;user = nwn
;pwd = nwn
;db = nwn
; Set hookscorco to false if you want to disable hooking of
; StoreCampaignObject and RetrieveCampaignObject entirely
hookscorco = true |
|
Back to top |
|
|
Papillon x-man
Joined: 28 Dec 2004 Posts: 1060 Location: Germany
|
Posted: Mon Oct 03, 2005 0:15 Post subject: |
|
|
Quote: | [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified |
It's still using the ODBC connection type. I'm pretty sure that you are using the old ODBC plugin. Delete it and get a fresh copy from the download section. _________________ Papillon |
|
Back to top |
|
|
celtic3
Joined: 16 Jul 2005 Posts: 19
|
Posted: Mon Oct 03, 2005 7:24 Post subject: |
|
|
Ok everything good now but the NWN error...........
NWN Extender V.2.6.1
(c) 2005 by Ingmar Stieger (Papillon) and Jeroen Broekhuizen
visit us at http://www.nwnx.org
* Loading plugins...
* Plugin functions is loaded.
* Plugin hashset is loaded.
* Plugin leto is loaded.
* Plugin odbc is loaded.
* An error occured while loading extension profiler (126: The specified module could not be found. )
* NWNX2 activated. |
|
Back to top |
|
|
monezz
Joined: 03 Jan 2005 Posts: 52 Location: The Netherlands
|
Posted: Mon Oct 03, 2005 9:32 Post subject: |
|
|
looks like you are missing the profiler plug-in.
It's a seperate download in the download section.
The rest of nwnx should run fine now though. |
|
Back to top |
|
|
celtic3
Joined: 16 Jul 2005 Posts: 19
|
Posted: Tue Oct 04, 2005 4:35 Post subject: Works Fine |
|
|
Thanks for all the help. It is running perfect now! |
|
Back to top |
|
|
odenien
Joined: 26 Sep 2005 Posts: 37
|
Posted: Wed Oct 05, 2005 17:02 Post subject: |
|
|
The 126 error is from the odbc dll. It means it could not load the dll you specificed in the Driver= section of the ODBC datasource. Either the dll does not exist or the supporting client does not. |
|
Back to top |
|
|
|