J
JimCinLA
On an ASP.Net 2.0 Web project, I created a deployment setup
using the deployment wizard in Visual Studio 2005.
I use SQL 2005 Express as a database server.
The development version of my project -- it is a large one --
works fine inside Visual Studio. But when I try to deploy it
on localhost outside VS, I receive an error message at the
point where a connection should be made to the database
server. Apparently, the deployment wizard has altered my
connection string.
The connection string I use on the development version
has
[computer name]\sqlexpress
for the provider.
On the development version, the login works fine. I fetch the
connection string from Web.config.
On the deployed version, an error message says that the
login failed for
[computer name]\aspnet
which is not the same name that appears in the connection
string.
Anyone know what's happening? I suppose a setting in the Web.config
file needs to be altered for deployment.
Jim
using the deployment wizard in Visual Studio 2005.
I use SQL 2005 Express as a database server.
The development version of my project -- it is a large one --
works fine inside Visual Studio. But when I try to deploy it
on localhost outside VS, I receive an error message at the
point where a connection should be made to the database
server. Apparently, the deployment wizard has altered my
connection string.
The connection string I use on the development version
has
[computer name]\sqlexpress
for the provider.
On the development version, the login works fine. I fetch the
connection string from Web.config.
On the deployed version, an error message says that the
login failed for
[computer name]\aspnet
which is not the same name that appears in the connection
string.
Anyone know what's happening? I suppose a setting in the Web.config
file needs to be altered for deployment.
Jim