Hi,
I'm quite new to IIS and asp.
I am writing a webpage using asp.net (c#) and setting up a webserver using ISS 5. The web form is accessing an MSSQL2005 database on another box, using windows authentication login.
When I test the webform locally by using "View in browser" in visual studio, a .net Development Server is automatically setup, and the page is accessing the database with no problem.
However, when I set the website using ISS, and access the web form I created through ISS's localhost address, I always get this sql connection error:
"Login failed for user ''. The user is not associated with a trusted SQL Server connection. "
The two methods are using the exactly same connection string:
"Data Source=aaaaa;Initial Catalog=DevTrackIssues;Integrated Security=SSPI;"
My ISS is set to not allow anonymous users and use Windows authentication in "Directory security".
Thanks so much in advance.