ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP 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:
  #1  
Old February 13th, 2000, 10:31 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 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: 23
Database connection error...

<i><b>Originally posted by : Sandhu (mk_sandhu@hotmail.com)</b></i><br />Hi,<br /><br />What does this error mean?<br /><br />I get this error message when I try to connect to database(oracle), on my PC (NT workstation).<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 />/programs/dblist.asp, line 9 <br /><br />And I also get the following error message while connecting to access database.<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 />/programs/master.asp, line 37 <br /><br />Thanks,<br />Sandhu<br /><br />

Reply With Quote
  #2  
Old February 14th, 2000, 10:01 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 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: 23
<i><b>Originally posted by : </b></i><br /><br />You need to post the which you are using to connect to your DB.<br /><br /><br />------------<br />Sandhu at 2/13/2000 7:31:25 PM<br /><br />Hi,<br /><br />What does this error mean?<br /><br />I get this error message when I try to connect to database(oracle), on my PC (NT workstation).<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 />/programs/dblist.asp, line 9 <br /><br />And I also get the following error message while connecting to access database.<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 />/programs/master.asp, line 37 <br /><br />Thanks,<br />Sandhu<br /><br />

Reply With Quote
  #3  
Old February 14th, 2000, 10:19 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 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: 23
<i><b>Originally posted by : Sandhu (mk_sandhu@hotmail.com)</b></i><br />Hi<br /><br />I am using this program to connect to database.<br /><br /><%<br />MYDSN="DSN=LOCAL1;UID=SCOTT;PWD=TIGER"<br />MYSQL="SELECT ENAME FROM EMP"<br />' DISPLAY A DATABASE FIELD AS A LISTBOX<br />SET CONNTEMP=SERVER.CREATEOBJECT("ADODB.CONNECTION")<br />CONNTEMP.OPEN MYDSN<br />SET RSTEMP=CONNTEMP.EXECUTE(MYSQL)<br />IF RSTEMP.EOF THEN<br />RESPONSE.WRITE "NO DATA FOR<BR>"<br />RESPONSE.WRITE MYSQL<br />CONNTEMP.CLOSE<br />SET CONNTEMP=NOTHING<br />RESPONSE.END<br />END IF<br />%><br /><FROM ACTION="dblistrespond.ASP"METHOD="POST"><br /><SELECT NAME="ENAME"><br /><%<br />'NOW LETS GRAB ALL THE DATA<br />DO UNTIL RSTEMP.EOF %><br /><OPTION> <%=RSTEMP(0)%> </OPTION><br /><%<br />RSTEMP.MOVENEXT<br />LOOP<br /><br />RSTEMP.CLOSE<br />SET RSTEMP=NOTHING<br />CONNTEMP.CLOSE<br />SET CONNTEMP=NOTHING<br />%><br /><INPUT TYPE="SUBMIT" VALUE="Choose Employee Name"><br /></SELECT></FORM><br /></BODY></HTML><br /><br />Thanks<br /><br /><br /><br />------------<br /> at 2/14/2000 7:01:04 AM<br /><br /><br />You need to post the which you are using to connect to your DB.<br /><br /><br />------------<br />Sandhu at 2/13/2000 7:31:25 PM<br /><br />Hi,<br /><br />What does this error mean?<br /><br />I get this error message when I try to connect to database(oracle), on my PC (NT workstation).<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 />/programs/dblist.asp, line 9 <br /><br />And I also get the following error message while connecting to access database.<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 />/programs/master.asp, line 37 <br /><br />Thanks,<br />Sandhu<br /><br />

Reply With Quote
  #4  
Old February 15th, 2000, 01:28 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 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: 23
<i><b>Originally posted by : clive (garrec01@hotmail.com)</b></i><br /><br />It appears you have not set a DSN.<br /><br />------------<br />Sandhu at 2/14/2000 7:19:55 AM<br /><br />Hi<br /><br />I am using this program to connect to database.<br /><br /><%<br />MYDSN="DSN=LOCAL1;UID=SCOTT;PWD=TIGER"<br />MYSQL="SELECT ENAME FROM EMP"<br />' DISPLAY A DATABASE FIELD AS A LISTBOX<br />SET CONNTEMP=SERVER.CREATEOBJECT("ADODB.CONNECTION")<br />CONNTEMP.OPEN MYDSN<br />SET RSTEMP=CONNTEMP.EXECUTE(MYSQL)<br />IF RSTEMP.EOF THEN<br />RESPONSE.WRITE "NO DATA FOR<BR>"<br />RESPONSE.WRITE MYSQL<br />CONNTEMP.CLOSE<br />SET CONNTEMP=NOTHING<br />RESPONSE.END<br />END IF<br />%><br /><FROM ACTION="dblistrespond.ASP"METHOD="POST"><br /><SELECT NAME="ENAME"><br /><%<br />'NOW LETS GRAB ALL THE DATA<br />DO UNTIL RSTEMP.EOF %><br /><OPTION> <%=RSTEMP(0)%> </OPTION><br /><%<br />RSTEMP.MOVENEXT<br />LOOP<br /><br />RSTEMP.CLOSE<br />SET RSTEMP=NOTHING<br />CONNTEMP.CLOSE<br />SET CONNTEMP=NOTHING<br />%><br /><INPUT TYPE="SUBMIT" VALUE="Choose Employee Name"><br /></SELECT></FORM><br /></BODY></HTML><br /><br />Thanks<br /><br /><br /><br />------------<br /> at 2/14/2000 7:01:04 AM<br /><br /><br />You need to post the which you are using to connect to your DB.<br /><br /><br />------------<br />Sandhu at 2/13/2000 7:31:25 PM<br /><br />Hi,<br /><br />What does this error mean?<br /><br />I get this error message when I try to connect to database(oracle), on my PC (NT workstation).<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 />/programs/dblist.asp, line 9 <br /><br />And I also get the following error message while connecting to access database.<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 />/programs/master.asp, line 37 <br /><br />Thanks,<br />Sandhu<br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Database connection error...


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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT