B
bh
I have an ASP.NET page, created in VS.NET 2003 which connects to a SQL
Server 2000 Database on our network, using a connection string, as follows:
Dim SQLConnString As String = "data source=SERVERNAME;initial
catalog=DB;User ID=MyWebUser;Password=WebUserPassword"
The server is on our network, but a different machine from both of the web
servers I'm trying.
Web Server 1: When I run this from Visual Studio (running on my laptop), it
works fine every time.
Web Server 2: When I run this from another web server within our network,
SOMETIMES it works fine, and other times I get:
SQL SERVER DOES NOT EXIST OR ACCESS DENIED
If I go back & run it from Visual Studio on my laptop, again, it seems to
SOMETIMES temporarily correct the issue from our other web server other
times it has no effect.
Does anyone have any idea as to what might be causing this? Thanks in
advance.
BH
Server 2000 Database on our network, using a connection string, as follows:
Dim SQLConnString As String = "data source=SERVERNAME;initial
catalog=DB;User ID=MyWebUser;Password=WebUserPassword"
The server is on our network, but a different machine from both of the web
servers I'm trying.
Web Server 1: When I run this from Visual Studio (running on my laptop), it
works fine every time.
Web Server 2: When I run this from another web server within our network,
SOMETIMES it works fine, and other times I get:
SQL SERVER DOES NOT EXIST OR ACCESS DENIED
If I go back & run it from Visual Studio on my laptop, again, it seems to
SOMETIMES temporarily correct the issue from our other web server other
times it has no effect.
Does anyone have any idea as to what might be causing this? Thanks in
advance.
BH