how to add sql server connections in local host .my project is run in IIS now i need to insert data in my page but it throw the error. using asp.net 2008 and sql server 2005
Server Error in '/' Application.
Cannot open database "bramandam" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\Emplyee'.
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 database "bramandam" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\Emplyee'.
Source Error:
Line 82: catch (Exception e)
Line 83: {
Line 84: throw e;
Line 85: }
Line 86: finally
Source File: d:\bramandam site\App_Code\Marvel.cs Line: 84
Stack Trace:
[SqlException (0x80131904): Cannot open database "bramandam" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\Emplyee'.]
Marvel.GETDS(String qry) in d:\bramandam site\App_Code\Marvel.cs:84
EmployeeRegistration.TextBox1_TextChanged(Object sender, EventArgs e) in d:\bramandam site\EmployeeRegistration.aspx.cs:90
System.Web.UI.WebControls.TextBox.OnTextChanged(EventArgs e) +8755606
System.Web.UI.WebControls.TextBox.RaisePostDataChangedEvent() +55
System.Web.UI.WebControls.TextBox.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +10
System.Web.UI.Page.RaiseChangedEvents() +165
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1485
Version Information: Microsoft .NET Framework Version:2.0.50727.4984; ASP.NET Version:2.0.50727.4971