Last post Feb 12, 2008 04:52 AM by m_coomer146
Jan 31, 2008 06:07 AM|m_coomer146|LINK
i am having problems with the security of my website. I am trying to add some news tot the site. I keep getting an error that says:
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed
Line 320: If Not System.Web.HttpContext.Current Is Nothing Then
Line 321: item.Save(System.Web.HttpContext.Current.User.Identity.Name)
Line 322: Else
Line 323: item.Save(System.Threading.Thread.CurrentPrincipal.Identity.Name)
I have checked the the asp.net configuration file and my username is in an administrator role. Can someone help me figure this out?
Club Starter Kit
club Starter Kit MemberInfo
Club Starter Kit login register table
SQL 2005 Express or Standard
Feb 11, 2008 10:33 PM|mm17498|LINK
I am in the same spot, actually could not even launch my site. I spent a couple of hours with GoDaddy Sunday and they finally directed me to MS MSDN Site where there is some explanation of launching sites in "medium trust". I am working on my site tomorrow (02/12)
and will post any resolution I am able to get to.
If anyone out there has resolved this issue please share.
Godaddy -- Security Exception -- Medium Trust
Feb 12, 2008 04:52 AM|m_coomer146|LINK
Thank you for your help. i still cannot get past it so my site is haulted until.