It will not connect at the published location using
Expand|Select|Wrap|Line Numbers
- http://localhost/...default.aspx
Connection string
Expand|Select|Wrap|Line Numbers
- Data Source=SWRI16SQL1;Initial Catalog=training09;Integrated Security=SSPI;
Error message at the connection "open" statement:
Login failed for user ''. The user is not associated with a trusted SQL Server connection.
Note that the "user" was empty ie: '' as shown above.
The entire app worked fine and the web page could be accessed by anyone on my domain right up to the time I switched from AccessDataSource to SqlDataSource.
Anyway, just wondering how to debug this. All the queries and reports actually work and the remote sql server responds with the correct data, but only if I had hit F5 (debug) in Visual Studio 2008. Obviously, no one can access it because they get that trusted SQL complaint and I also get the same complaint when using localhost
best regards