A
AMT2K5
Hello, I am a student working on an ASP.NET assignment for my course.
I am using Visual Studio 2003.
All I have is a simple web form with a datagrid. I added a data adapter
and generated a dataset off a table on my schools server with data. In
the page_load I fill the data adapter, bind the data to the grid and
close the connection. I am able to preview the data set being filled in
the properties pane.
I get this exception when attempting to view my webform in IE6.
Security Exception
Exception Details: System.Security.SecurityException: Request failed.
Stack:
[SecurityException: Request failed.]
admin.UserManagementSummary.InitializeComponent() +0
admin.UserManagementSummary.OnInit(EventArgs e) in
usermanagementsummary.aspx.cs:36
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Page.ProcessRequestMain() +2112
System.Web.UI.Page.ProcessRequest() +218
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
+179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +87
Now all my page_load has is
private void Page_Load(object sender, System.EventArgs e)
{
dbCon.Open(); //Open connection
dbDA.Fill(dsDS1); //Fill the data adapter with the dataset
dgUsers.DataBind(); //Bind the grid
dbCon.Close(); //Close connection
}
I am using the following for this assignment.
Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300
Appreciate any help
I am using Visual Studio 2003.
All I have is a simple web form with a datagrid. I added a data adapter
and generated a dataset off a table on my schools server with data. In
the page_load I fill the data adapter, bind the data to the grid and
close the connection. I am able to preview the data set being filled in
the properties pane.
I get this exception when attempting to view my webform in IE6.
Security Exception
Exception Details: System.Security.SecurityException: Request failed.
Stack:
[SecurityException: Request failed.]
admin.UserManagementSummary.InitializeComponent() +0
admin.UserManagementSummary.OnInit(EventArgs e) in
usermanagementsummary.aspx.cs:36
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Page.ProcessRequestMain() +2112
System.Web.UI.Page.ProcessRequest() +218
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
+179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +87
Now all my page_load has is
private void Page_Load(object sender, System.EventArgs e)
{
dbCon.Open(); //Open connection
dbDA.Fill(dsDS1); //Fill the data adapter with the dataset
dgUsers.DataBind(); //Bind the grid
dbCon.Close(); //Close connection
}
I am using the following for this assignment.
Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300
Appreciate any help