Solved

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

Posted on 2006-07-11
3
246 Views
Last Modified: 2013-12-04
The main page is help_desk_start.asp. This page will accept a badge number and check for this badge number to exist in the database. Based on the existence, the next page - that is help_desk.asp loads. This is the error I get after I enter my badge number -

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

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

C:\WEB\HELP_DESK\../ado/ado_start.inc, line 5

This is the content of the ado_start.inc file -

<%'SET UP ACTIVEX DATA OBJECT
set my_conn = server.createobject("adodb.connection")
set my_rows = server.createobject("adodb.recordset")
'my_conn.open "miles","web_man",""
my_conn.open "DSN=" & trim(ado_dsn) & ";UID=" & trim(ado_uid) & ";PWD=" & trim(ado_pwd) & ";DATABASE=" & trim(ado_database) & ";APP=" & trim(app)
my_rows.open sql, my_conn
app = "" %>

I have already tried the solution of changing the permissions on the registry key for Full Control.

thanks
0
Comment
Question by:ariesmeeta
3 Comments
 

Accepted Solution

by:
ryanstinson earned 125 total points
ID: 17085788
The problem is your connection string. the line:


my_conn.open "DSN=" & trim(ado_dsn) & ";UID=" & trim(ado_uid) & ";PWD=" & trim(ado_pwd) & ";DATABASE=" & trim(ado_database) & ";APP=" & trim(app)

I would do some debugging to identify the string and verify that the string is correct for connecting to your database.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now