Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 6 hours ....................and counting!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bk
Starting Member

37 Posts

Posted - 20 July 2001 :  03:09:22  Show Profile
Have been trying to connect to database.

Have forum running fine localy, have uploaded to server and no go.

All read/write permissions have been set.
Have used whereami.asp to determine path.
Using.mdb
Still getting the following errors.

ADODB.Connection.1 error '80004005'

SQLState: IM002
Native Error Code: 0
[INTERSOLV][ODBC lib] Data source name not found and no default driver specified


inc_top.asp, line 42

and

when trying to update through admin:

ADODB.Connection.1 error '80004005'

SQLState: IM002
Native Error Code: 0
[INTERSOLV][ODBC lib] Data source name not found and no default driver specified


/register/forum/setup_login.asp, line 59

Help would GREATFULLY BE APPRECIATED!!!

gor
Retired Admin

Netherlands
5511 Posts

Posted - 20 July 2001 :  03:16:51  Show Profile  Visit gor's Homepage
Is this on Linux + Chili!Asp ?
Because in that case you can't use DSN-less connections with Access

Pierre
Join the Snitz WebRing
Go to Top of Page

bk
Starting Member

37 Posts

Posted - 20 July 2001 :  10:33:52  Show Profile
No it is IIS

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 20 July 2001 :  11:52:45  Show Profile  Visit gor's Homepage
You did uncomment the strDBType line in config.asp ?



Pierre
Join the Snitz WebRing
Go to Top of Page

bk
Starting Member

37 Posts

Posted - 20 July 2001 :  11:57:28  Show Profile
Oh yeah..............among other things!!

Do I have to set up a dsn or is this done through the setup file?

Tx,
Brian

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 20 July 2001 :  12:04:22  Show Profile  Visit gor's Homepage
Can you post the strConnString you are using ?
You can use it to connect to the database without using a DSN.

Pierre
Join the Snitz WebRing
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 20 July 2001 :  22:10:52  Show Profile
quote:
ADODB.Connection.1 error '80004005'

SQLState: IM002
Native Error Code: 0
[INTERSOLV][ODBC lib] Data source name not found and no default driver specified

That isn't an error you get on an IIS server. He must be on a *nix server running Chili!ASP.

- David
Go to Top of Page

Dan Martin
Average Member

USA
528 Posts

Posted - 21 July 2001 :  00:44:15  Show Profile  Visit Dan Martin's Homepage  Send Dan Martin an AOL message  Send Dan Martin an ICQ Message  Send Dan Martin a Yahoo! Message
Reading around, it appears to be a Cold Fusion error. Are you running Cold Fusion?
quote:
Error Diagnostic Information
ODBC Error Code = IM002 (Data source not found and no default driver specified)


[INTERSOLV][ODBC lib] Data source 'court' not found and no default driver specified

Hint: In order to use ODBC data sources with Cold Fusion you must create the data source using the Data Sources page of the Cold Fusion Administrator. In addition, if you are running under Windows NT you must make sure that the Data Source is created as a System DSN in order for it to be available to ColdFusion.



Edited by - Dan Martin on 21 July 2001 00:48:24

Edited by - Dan Martin on 21 July 2001 00:49:14
Go to Top of Page

bk
Starting Member

37 Posts

Posted - 21 July 2001 :  14:25:45  Show Profile
These are the two connection strings.strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("http://www.mjbaskets.com/register/forum/fpdb/snitz_forums_2000.mdb") '## MS Access 2000 using virtual path
'strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=: /home/sites/site42/web/register/forum/fpdb/snitz_forums_2000.mdb;" '## MS Access 2000



Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 July 2001 :  14:30:25  Show Profile
You can't use a url to point to your database. It has to be a direct path to the database. Go here http://forum.snitz.com/archive/default.asp?catid=11&cattitle=Forum+Setup+Tools and download the "Where Am I?" tool. Extract the script to your database folder and browse to it using your browser. It will tell you the path to your database. You will use that path in your config.asp file.

If your database folder is outsite of your www root, you can place the script in your forum folder and using the path it gives you, you can determine the path to your database.

Then this is what you will have in your config.asp file:

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=PATH TO DATABASE;" '## MS Access 2000

Replace the text in red with the path you get from the where am I script.

- David
Go to Top of Page

bk
Starting Member

37 Posts

Posted - 21 July 2001 :  15:18:34  Show Profile
It is a Linux platform.....is that not good?

Go to Top of Page

bk
Starting Member

37 Posts

Posted - 21 July 2001 :  15:23:48  Show Profile
Hi David,

Thanks for your reply.

I have posted two strings. Like you mentioned I already have used whereami to determine path and have used that path in the second string. It doesn't seem to be working either. have i got the virtual and relative paths mixed up?

Thanks,

Brian

Go to Top of Page

bk
Starting Member

37 Posts

Posted - 21 July 2001 :  18:12:20  Show Profile
Hi Pierre,

Yes it is on a linux + chili.asp system. Do you know what kind of connection I need to use?

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 21 July 2001 :  18:19:54  Show Profile  Visit gor's Homepage
See my reply here: http://forum.snitz.com/forum/link.asp?TOPIC_ID=13465

Pierre
Join the Snitz WebRing
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07