Closed Thread
Need your help.
Old 01-06-2008, 04:29 PM Need your help.
Junior Talker

Posts: 3
Name: Dean Dounev
Location: Ottawa, Ontario
Hi,
I'm new at this and need some help. Trying to build a simple DB for my daughter's club. Created an account with Godaddy.
Here is my problem: Everything works until I hit the final "Submit" and the following shows on my screen:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
General error: Invalid file dsn ''
/Fencing/exoadd.asp, line 15

Here is my code:
<%
Dim adoCon
Dim sql
Dim connectstr, sDSNDir
Dim dsn_name
dsn_name = "access_fencing.dsn"
sDSNDir = Server.MapPath("_dsn")
connectstr = "filedsn=" & sDSNDir & "/" & dsn_name
Set adoCon = Server.CreateObject("ADODB.Connection")
adoCon.Open connectstr

Have a DSN file named access_fencing.dsn
DB name is fencing.mdb in a folder named access_db
The rest of my files are in folder named Fencing

What am I doing wrong?

Thank you in advance.
newatthis is offline
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 01-14-2008, 02:35 PM Re: Need your help.
itHighway's Avatar
Average Talker

Posts: 24
Name: Zeeshan Dar
Location: GUJ
Please confirm you connection type. Is it System DSN or File DSN.
__________________
Zeeshan Dar
itHighway - web design development custom e-commerce solution & web based real estate listing software services provider
itHighway is offline
View Public Profile
 
Old 01-14-2008, 03:22 PM Re: Need your help.
chrishirst's Avatar
Super Moderator

Posts: 11,887
Location: Blackpool. UK
can we stick to the ONE thread for the same problem please.

http://www.webmaster-talk.com/asp-fo...ith-my-db.html
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Closed Thread     « Reply to Need your help.
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13534 seconds with 13 queries