If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > set up DSN on Web Server help?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-13-04, 02:49
zobernjik zobernjik is offline
Registered User
 
Join Date: Feb 2004
Location: Australia
Posts: 183
Angry set up DSN on Web Server help?

If I try to run/preview my web site by in the browser/F12 it comes up fine and it submits fine.If I type in the actual URL to retrieve the web site that is fine too, but when I submit I get an error message.

Microsoft OLE DB Provider for ODBC Driverserror '80004005'


[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /Shipment/Save.asp, line 55

I was told I need to set up DSN on my Web Server.
What exactly do I need to do on the Web Server, I am using SQL as a database if that is important

Thanks
Reply With Quote
  #2 (permalink)  
Old 08-14-04, 00:37
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Can you post your datasource code?
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 08-15-04, 19:23
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
who is your provider they should have details about setting up a dsn if you need to... having said that it is likely that they don't allow dsn connections and require you to connect using OLEDB instead of ODBC.

Using OLEDB to do your conenction you can specify the server ip, username, password and database to connect to and never need a dsn.
Reply With Quote
  #4 (permalink)  
Old 08-17-04, 15:44
JPry565 JPry565 is offline
Registered User
 
Join Date: Aug 2004
Posts: 13
Don't use DSN, they are slow and cause a lot of problems. Use a dsn-less connection.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On