I am getting this error when I try to add an event. Can someone tell me what it means and how to fix it. I am using CSK 2.0 VB.
Thanks!!
Security Exception
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 configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
Line 49: End If
Line 50:
Line 51: ClubStarterKit.Data.ClubEvent.Insert(dtpicker.startDateTime, dtpicker.endDateTime, titleTextBox.Text.ToString(), description, pictureid, 0, 0, LocationNameTXT.Text, locdirections)
Line 52: Response.Redirect("list.aspx")
Line 53: End Sub
HI satalaj, I have given write permissions to all dir's. I am reading information about medium trust levels with goDaddy. Do you know how to get around this?
HI satalaj, I have given write permissions to all dir's. I am reading information about medium trust levels with goDaddy. Do you know how to get around this?
check the connection string and mdf . the folder should have proper rights
Jai Ganesh. J, IDC, India
Please Mark As Answer If my reply helped you.
dude9er
Member
49 Points
176 Posts
Event Calendar Error on GoDaddy
May 22, 2009 05:43 AM|LINK
I am getting this error when I try to add an event. Can someone tell me what it means and how to fix it. I am using CSK 2.0 VB.
Thanks!!
Security Exception
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 configuration file.Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error:
Line 49: End If Line 50: Line 51: ClubStarterKit.Data.ClubEvent.Insert(dtpicker.startDateTime, dtpicker.endDateTime, titleTextBox.Text.ToString(), description, pictureid, 0, 0, LocationNameTXT.Text, locdirections) Line 52: Response.Redirect("list.aspx") Line 53: End SubSource File: d:\hosting\nhsportsman\events\Add.aspx Line: 51
Stack Trace:
satalaj
Star
10505 Points
2031 Posts
MVP
Re: Event Calendar Error on GoDaddy
May 22, 2009 07:49 AM|LINK
Add write permission to appropriate folder of your web
dude9er
Member
49 Points
176 Posts
Re: Event Calendar Error on GoDaddy
May 22, 2009 04:02 PM|LINK
HI satalaj, I have given write permissions to all dir's. I am reading information about medium trust levels with goDaddy. Do you know how to get around this?
satalaj
Star
10505 Points
2031 Posts
MVP
Re: Event Calendar Error on GoDaddy
May 24, 2009 08:38 AM|LINK
No Idea, Can you open suport ticket with them?
Ganesh@Nilgr...
Contributor
6074 Points
2354 Posts
Re: Event Calendar Error on GoDaddy
Aug 28, 2009 12:24 PM|LINK
check the connection string and mdf . the folder should have proper rights
Please Mark As Answer If my reply helped you.