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

Posted on 2008-11-18
Medium Priority
Last Modified: 2012-08-13
Hi ,
when ia m trying to unit test my application using Visual studio unit tests when i am testing the webservice call my test is failing and giving me this message .
as i am doing this as part of migration from earlier version..

"Test method BusinessLogicUnitTest.xxRepositoryTest.IsOpenTest threw exception:  System.Web.Services.Protocols.SoapException: Server was unable to process request. --> ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified."

System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
BusinessLogic.Info.Isxyz(String osAttrCode, String osDateInQuestion, String osTimeInQuestion) in
Question by:Swetha_aJaX
  • 2

Accepted Solution

Ritesh_Garg earned 2000 total points
ID: 22991063
The error message says Data Source Name not found.  If this is a webserver application, create a System Data Source Name on the webserver or if its a desktop application, create it on your desktop.
To create Data Source Name:
Control Panel => Administrative Tools => Data Souces (ODBC)

Please select System DSN so that it applies for all users

Author Comment

ID: 22997980
It is happening when i am calling web service from my application.
is there any problem withthe webservice or my app ?

Expert Comment

ID: 22998006
From the error message, it appears the issue is in the WebService.

Featured Post

Technology Partners: 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

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

850 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