473,386 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Data source name not found and no default driver specified

When trying to view an asp page on my Windows 03 server, I get the following error message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

/LoginPage.asp, line 8
Line 8 in the code is: rsLogin.ActiveConnection = MM_connTesting_STRING

All of this was working at one point. My server (win2000) was hacked a month ago and was then rebuilt (to Win 2003). Now none of my asp pages display.

I tried some of the usual stuff with updating everything, but it still does not work.

If it matters, I use Dreamweaver 8 and I have full control of the server (I just don't know a lot about it). I did make sure that asp permissions were allowed.

Thanks
S
Sep 20 '06 #1
4 21924
I figured it out. My path to the database was incorrect. I also had problems with permission on the database itself and a "time out" variable that I had to change from 5 to 5000.
Sep 21 '06 #2
I figured it out. My path to the database was incorrect. I also had problems with permission on the database itself and a "time out" variable that I had to change from 5 to 5000.

hi could you please explain the permission, path and time out variables that you changed step by step as i have the same problem
Mar 7 '08 #3
DrBunchman
979 Expert 512MB
How are you connecting to your database? If it's a connection string can you print it and I'll go through the various properties.

Dr B
Mar 7 '08 #4
How are you connecting to your database? If it's a connection string can you print it and I'll go through the various properties.

Dr B
am gettin the error at this point con1.Open Application("dcon") & "DATABASE=<database name2>;"

follow up
constr= '"PROVIDER=SQLOLEDB;" & _
' "DATA SOURCE=<datasource name>;DATABASE=<database name 1>;" & _
' "UID=SSI_User;PWD=;"

Application("dcon")=constr & Application("ppp") & ";"
Mar 8 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: dave | last post by:
Hello there, I am at my wit's end ! I have used the following script succesfully to upload an image to my web space. But what I really want to be able to do is to update an existing record in a...
1
by: M.E.Farmer | last post by:
Hello c.l.py!, I have just finished this and decided to share. PySourceColor is a module to convert Python source into colored html. Yes it has been done before, but I like this better:) You can...
0
by: Nick Poulis | last post by:
Hi to all I face the following problem, the following code (very simple) is contained in a referenced class method Dim cn As New OdbcConnection("DSN=BOC;UID=Admin;PWD=;") cn.Open()
3
by: Jennifer | last post by:
Hi. I don't know a whole bunch about html and asp pages, but I thought I'd give it a try to see if I could get it to work. I found an example for a calendar event page from Microsoft at: ...
12
by: bhanu08 | last post by:
I am get this error java.sql.SQLException: Data source name not found and no default driver specified my code for connection is { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");...
1
by: Gourisankar | last post by:
Hi, I am using a VB6 application. While I am trying to access Sybase Database stored procedure through DSR, It is giving the error "Data source name not found or Default driver is not specified" ....
15
by: Copyrite | last post by:
Hi, I work for an IT company in the UK and we have a customer that we developed software that uses a VB front end application running with a Access database. The people that developed this before...
5
by: Darshini | last post by:
Hi When ever opening my asp pages im getting this error..plz give some solution Data source name not found and no default driver specified
1
by: harsha1302 | last post by:
Hi all i am trying to connect my application written in jsp to the database and i am receiving this exception java.sql.SQLException: Data source name not found and no default driver specified...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.