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

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
Swetha_aJaXAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ritesh_GargCommented:
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
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Swetha_aJaXAuthor Commented:
It is happening when i am calling web service from my application.
is there any problem withthe webservice or my app ?
0
Ritesh_GargCommented:
From the error message, it appears the issue is in the WebService.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET App Servers

From novice to tech pro — start learning today.