Error please check logger
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Web.HttpRequest.MapPath(VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMapping)
at System.Web.HttpServerUtility.MapPath(String path)
at Microsoft.SharePoint.WebControls.SPControlTemplateManager.GetTemplateCollection()
at Microsoft.SharePoint.WebControls.SPControlTemplateManager.GetTemplateByName(String templateName)
at Microsoft.SharePoint.WebControls.TemplateBasedControl.get_Template()
at Microsoft.SharePoint.WebControls.TemplateBasedControl.get_ControlTemplate()
at Microsoft.SharePoint.WebControls.ListFieldIterator.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Microsoft.SharePoint.WebControls.TemplateBasedControl.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at COPInternetFeatures.WEBPARTS.General.COPAddListItem.CreateChildControls()
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.FileIOPermission
The Zone of the assembly that failed was:
MyComputer