B
BobLaughland
Hi There,
I am writing an ASP .NET 2.0 web site.
I have a connection string in my web.config file similar to this for
connecting to my database,
SERVER=125.165.165.116,1092; DATABASE=blah***; UID=Blah***;
PWD=blah*****
That is connecting to a proper database server, and I can indeed
connect (using SQL server management studio).
Anyway my web site has a login page using the .NET 2.0 login control.
When I try to login it tells me it cannot connect to the database, and
that it was looking for an 'App_Data' folder with the database, and
that it couldn't create it.
Even though I have changed the connection string it is still looking
for a SQLSERVER express database file in the default folder (this was
how my web site was set up before until I put it online).
Please help.
Thanks,
Peter.
I am writing an ASP .NET 2.0 web site.
I have a connection string in my web.config file similar to this for
connecting to my database,
SERVER=125.165.165.116,1092; DATABASE=blah***; UID=Blah***;
PWD=blah*****
That is connecting to a proper database server, and I can indeed
connect (using SQL server management studio).
Anyway my web site has a login page using the .NET 2.0 login control.
When I try to login it tells me it cannot connect to the database, and
that it was looking for an 'App_Data' folder with the database, and
that it couldn't create it.
Even though I have changed the connection string it is still looking
for a SQLSERVER express database file in the default folder (this was
how my web site was set up before until I put it online).
Please help.
Thanks,
Peter.