I developed one web service which simply returns some names from sql database. When I compiled this webservice from visual studio web server, the service is working fine and I am able to retrieve the names from sql database.
I hosted the service on iis7 on Windows 7. The service is running fine but is unable to get data from the database.
Iam getting the following error:
"A connection was successfully established with the server, but then an error occurred during the pre-login handshake.."
When I debugged my service from iis, the error is
connection.serverversion throws system.invalidoperationexception...
I don have any clue how to solve this. Kindly help me in this regard.
I am using sql server 2008.