C# .NET - C# Web Service HTTP 500 - Internal server error

Asked By Arvind Singh on 16-May-06 02:45 AM
Hi!!
           I am creating a web service that will connect to the database on the http url.
But it is giving exception as HTTP 500 - Internal server error 
When browsed in Netscape, it throws exception as
System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified at System.Data.Odbc.OdbcConnection.Open() at WebService1.Service1.ConnectDB() in c:\inetpub\wwwroot\webservice1\acharyawebservice.asmx.cs:line 81 
But the same connection string is working in a window form and it is connecting to the database. i am new to the web services. Plz help.
[Note] ::>>>> i tested with local database and it is connecting but not connecting with server database.

Problem solved

Asked By Arvind Singh on 16-May-06 05:34 AM
Its working now.
Thanks