Website works in debug but not when deployed.

E

egamble

I think it has something to do with my connection string(s) as the
error is:
Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection. But when i test my connection it works fine and
it works fine in debug... Besides the data source and initial
catalogue, the only other thing in my strin gis Integrated Security =
True.
 
G

Guest

Try switching your connection string to a SQL Server login rather than a
Windows Authentication login.
(e.g. uid=user;pwd=pass;)
And make sure that the SQL Server is enabled for both SQL Server and Windows
Authentication.
Peter
 
E

egamble

I tried that and its still throwing the error, connection string is
like:
ConnectionString="Data Source=db1;Initial Catalog=Temp;Integrated
Security=false;Trusted_Connection=True;uid=Test;pwd=Test"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top