Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-07-11
3
Medium Priority
?
254 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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As I write this article, I am finishing cleanup from the Qakbot virus variant found in the wild on April 18, 2011.  It was a messy beast that had varying levels of infection, speculated as being dependent on how long it resided on the infected syste…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

971 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