Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: odbc on server


Message #1 by "Phil Perks" <philp@w...> on Tue, 9 May 2000 16:49:55
-----Original Message-----

From: yosef halevy [mailto:ry2774ae@i...]

Sent: 07 May 2013 17:03

To: feedback@w...

Subject: odbc on server





good day

i build my project that includes asp.odbc and database.

on my pc it works prfect but when i upload it to the server the odbc(the 

connection) doesn't receive the connection there then i receive:

  

Microsoft OLE DB Provider for ODBC Drivers error '80004005' 



[Microsoft][ODBC Driver Manager] Data source name not found and no default 

driver specified



/yosef/index.asp, line 230 







this line is the connection to data base !!

Message #2 by Kevin D Riggs <kevin.riggs@p...> on Tue, 09 May 2000 12:30:59 -0400
Yosef,



	The part of the message that matters is the "Data source name not found"



1) Have you uploaded your database to the server?

2) Whoever controls the server must create a DSN (Data Source Name) that

points to your database.  The DSN must use the same name you used in your

code to refer to the database.  If the DSN on your computer is "yosef" then

the DSN on the server must be "yosef" or your code will give you the same

error.  If the webmaster creates a DSN but does not give it the same name

you used, then you will have to edit your ASP code so that the DSN you

refer to in your code has the same name as the DSN on the webserver.





KD





Kevin D Riggs



kevin.riggs@p...

AOL IM - "wsi tn"



Senior Network Administrator & Webmaster

Rhea County

Board of Education



http://www.rhea.k12.tn.us/

http://www.rheacounty.org/


  Return to Index