I have a machine with Windows XP Pro w/SP 2, IIS, SQL Server Express and Visual Studio 2005 installed. When I attempt to open a database from an ASPX page, I'm getting an exception with the message:
"Cannot open database "Tasks" requested by the login. The login failed.Login failed for user 'MYDEV\ASPNET'."
I've searched the web and found a number of pages that talk about the "Login failed for MACHINE\ASPNET" issue, but I didn't find any with a solution.
For your information (in case it makes any difference), the computer is connected to a domain. And the authentication methods for the virtual directory (in IIS) is configured for "Anonymous access" and "Integrated Windows authentication."
Does anyone know how to configure SQL Server Express (or is it IIS?) so the web page can access the database?
View Complete Post