User-419034929 posted
When I test the TimeTracker i VS2005 it runs fine, but when it is published on ISS I get the error: LoginFailed For User <XXXX\ASPNET>
I had the MDF file attatched to SQL Express Management and ran the following script:
sp_grantlogin 'XXXX\ASPNET'
GO
sp_grantdbaccess 'XXXX\ASPNET'
GO
sp_addrolemember 'db_owner', 'XXXX\ASPNET'
GO
And after I detatched it again.
I'm runninng it on XP-pro, using SQL Express.
Somtimes It won't even show the Login.aspx, and it show the same error, then when i hit refresh It show the page. Then when i try to login, the error reappears.
I think i't a Timeout problem but I added 'Connect Timeout=30' in the web.config connectionstring, and that didnt solve the problem.