Tuesday, February 26, 2008

Login failed for user computername\ASPNET

$exception {"Cannot open database \"Pasal\" requested by the login. The login failed.\r\nLogin failed for user 'owner-CC6FEF3\\ASPNET'."} System.Exception {System.Data.SqlClient.SqlException}

Try to solve this kind of error by adding below lines in web.config file.
<system.web>

<identity impersonate="true" userName="abc" password="abc" />

</system.web >

No comments: