Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



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

Posts: 3
Name: Dean Dounev
Location: Ottawa, Ontario
Trades: 0
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
 
 
Register now for full access!
Old 01-14-2008, 03:35 PM Re: Need your help.
itHighway's Avatar
Skilled Talker

Posts: 83
Name: Zeeshan Dar
Location: GUJ
Trades: 0
Please confirm you connection type. Is it System DSN or File DSN.
__________________
Zeeshan Dar
itHighway -
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
itHighway is offline
View Public Profile
 
Old 01-14-2008, 04:22 PM Re: Need your help.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Closed Thread     « Reply to Need your help.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.11155 seconds with 12 queries