logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Error in log HELP?

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related
View previous topic :: View next topic  
Author Message
celtic3



Joined: 16 Jul 2005
Posts: 19

PostPosted: Sat Sep 17, 2005 3:18    Post subject: Error in log HELP? Reply with quote

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
View user's profile Send private message
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Mon Sep 19, 2005 22:38    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
celtic3



Joined: 16 Jul 2005
Posts: 19

PostPosted: Tue Sep 20, 2005 1:36    Post subject: Reply with quote

I'm using Win2K and SQLite. The nwnx.ini has those settings already.
Back to top
View user's profile Send private message
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Tue Sep 20, 2005 9:00    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
celtic3



Joined: 16 Jul 2005
Posts: 19

PostPosted: Sun Oct 02, 2005 20:55    Post subject: Reply with quote

[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
View user's profile Send private message
Papillon
x-man


Joined: 28 Dec 2004
Posts: 1060
Location: Germany

PostPosted: Mon Oct 03, 2005 0:15    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
celtic3



Joined: 16 Jul 2005
Posts: 19

PostPosted: Mon Oct 03, 2005 7:24    Post subject: Reply with quote

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
View user's profile Send private message
monezz



Joined: 03 Jan 2005
Posts: 52
Location: The Netherlands

PostPosted: Mon Oct 03, 2005 9:32    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
celtic3



Joined: 16 Jul 2005
Posts: 19

PostPosted: Tue Oct 04, 2005 4:35    Post subject: Works Fine Reply with quote

Thanks for all the help. It is running perfect now! Very Happy
Back to top
View user's profile Send private message
odenien



Joined: 26 Sep 2005
Posts: 37

PostPosted: Wed Oct 05, 2005 17:02    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Database related All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group