.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old February 28th, 2001, 12:20 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
ODBC connection

<i><b>Originally posted by : Chong (c_huei_huei@hotmail.com)</b></i><br />I'd develop a Access97 database and going to publish it on web. I'd save it into ASP format. But I confused on what shall key in Data Source Name. However, I create an ODBC locally and use it. But after I publish it on my web server, this message show:<br /><br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br /><br />[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified <br /><br />/test/Categories_1.asp, line 17 <br /><br /><br />Who had overcome this problem?? Please Help.<br /><br /><br />Rgds,<br />Chong<br />

Reply With Quote
  #2  
Old March 12th, 2001, 11:15 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : erik</b></i><br />The odbc is on your local machine, try this:<br />(or use sql-server)<br /><br />strSQL="SELECT * FROM table"<br />set conn=server.createobject("ADODB.Connection")<br />conn.Provider="Microsoft.Jet.OLEDB.4.0"<br />conn.ConnectionString="Data Source=" & Server.MapPath(yourFilePath)<br />conn.Open <br />set rs=conn.execute(strSQL)<br /><br />etc<br /><br />------------<br />Chong at 2/27/2001 10:20:12 PM<br /><br />I'd develop a Access97 database and going to publish it on web. I'd save it into ASP format. But I confused on what shall key in Data Source Name. However, I create an ODBC locally and use it. But after I publish it on my web server, this message show:<br /><br /><br />Microsoft OLE DB Provider for ODBC Drivers error '80004005' <br /><br />[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified <br /><br />/test/Categories_1.asp, line 17 <br /><br /><br />Who had overcome this problem?? Please Help.<br /><br /><br />Rgds,<br />Chong<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > ODBC connection


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway