Barry,
By restarting the SQL Server you effectively corrupt the connection pool on
the client machine. In .NET 1.1 you will have to restart the app
server/client machine too, in .NET 2.0 you can clear the connection pool.
The asp applications are able to connect because they donot have a
connection pool underneath like asp.net apps do.
- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book -
http://tinyurl.com/9bync
----------------------------------------------------------------------------
"Baz" <(E-Mail Removed)> wrote in message
news:91C7FC5F-C9DC-45F8-ABDC-(E-Mail Removed)...
>
> After restarting my SQl Server instance my ASP.net applicaions running on
> Windows 2000 are unable to connect to the SQL Server. My asp appplications
> are still able to connect
>
> The connection string I am using is
> user id=sa;pwd=????;data source=????;persist security info=False;initial
> catalog=DBNAme
>
> My clients running on Windows 2003 Server are still able to connect after
> the restart.
>
> I have tried the following:
>
> Restarted the 2000 Machine hosting the client with no resolution
>
> Changed the "data source" parameter to use the ip of the database server
> rather than the DNS name with no resolution.
>
> Added an entry in the ODBC Data Source Administrator for the server on the
> 2000 Machine with no resolution
>
>
> I am able to ping the Database server and access it from Query Analyser
> from
> the 2000 servers.
>
> I was wondering if anyone has come across a similiar problem or if anyone
> has any pointers as to what other changes to try??
>
> Thanks,
> BArry
>
>