S
Stephen
I'm experiencing a strange problem that has me baffled. I created a
webservice with a webmethod that connects to a remote MS SQL Server.
It works fine when connecting to one server (running SQL Server 7).
But it can't connect to another server (running SQL Server 2000). The
SQLConnection.Open() call results in a long pause, then the error
"could not connect to server". What's odd is that if I put the exact
same SQLConnection code into a new Windows application project it
works with either server.
What could be making the SQL connection fail when it's in a webservice
compared to a Windows app? And why only with the one server?
Any help would be greatly appreciated!
webservice with a webmethod that connects to a remote MS SQL Server.
It works fine when connecting to one server (running SQL Server 7).
But it can't connect to another server (running SQL Server 2000). The
SQLConnection.Open() call results in a long pause, then the error
"could not connect to server". What's odd is that if I put the exact
same SQLConnection code into a new Windows application project it
works with either server.
What could be making the SQL connection fail when it's in a webservice
compared to a Windows app? And why only with the one server?
Any help would be greatly appreciated!