Server Error in '/WebSite1' Application.
--------------------------------------------------------------------------------
Cannot open user default database. Login failed.
Login failed for user 'SECURITY\ASPNET'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Cannot open user default database. Login failed.
Login failed for user 'SECURITY\ASPNET'.
Source Error:
Line 17: cmdInsert.CommandText = strInsert;
Line 18:
Line 19: conn.Open();
Line 20: cmdInsert.ExecuteNonQuery();
Line 21: conn.Close();
من لديه الحل لو سمحتم