Event Calendar Error on GoDaddy

Last post 08-28-2009 8:24 AM by Ganesh@Nilgris. 4 replies.

Sort Posts:

  • Event Calendar Error on GoDaddy

    05-22-2009, 1:43 AM
    • Member
      21 point Member
    • dude9er
    • Member since 06-03-2008, 4:30 PM
    • Posts 120

    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 body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

    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

    Source File: d:\hosting\nhsportsman\events\Add.aspx    Line: 51

    Stack Trace:

    [SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
       SubSonic.Utilities.Utility.WriteTrace(String message) in Utility.cs:37
       SubSonic.AbstractRecord`1.ValidateColumnSettings() in AbstractRecord.cs:899
       SubSonic.ActiveRecord`1.Validate() in ActiveRecord.cs:354
       SubSonic.ActiveRecord`1.Save(String userName) in ActiveRecord.cs:366
       ClubStarterKit.Data.ClubEvent.Insert(DateTime varStarttime, Nullable`1 varEndtime, String varTitle, String varDescription, Int32 varPhoto, Nullable`1 varAlbum, Nullable`1 varCurrentAttendance, String varLocationName, String varLocationDirections) in ClubEvent.vb:435
       ASP.events_add_aspx.apply1_Click(Object sender, EventArgs e) in d:\hosting\nhsportsman\events\Add.aspx:51
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
       System.Web.UI.Page.ProcessRequest() +80
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
       System.Web.UI.Page.ProcessRequest(HttpContext context) +49
       ASP.events_add_aspx.ProcessRequest(HttpContext context) +37
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
    

  • Re: Event Calendar Error on GoDaddy

    05-22-2009, 3:49 AM
    • Contributor
      7,416 point Contributor
    • satalaj
    • Member since 11-28-2007, 5:41 AM
    • Pune
    • Posts 1,439

    Add write permission to appropriate folder of your web

  • Re: Event Calendar Error on GoDaddy

    05-22-2009, 12:02 PM
    • Member
      21 point Member
    • dude9er
    • Member since 06-03-2008, 4:30 PM
    • Posts 120

     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?

  • Re: Event Calendar Error on GoDaddy

    05-24-2009, 4:38 AM
    • Contributor
      7,416 point Contributor
    • satalaj
    • Member since 11-28-2007, 5:41 AM
    • Pune
    • Posts 1,439

    No Idea, Can you open suport ticket with them?

  • Re: Event Calendar Error on GoDaddy

    08-28-2009, 8:24 AM

    dude9er:

     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 , GSD ,India

    Please Mark As Answer If my reply helped you.
Page 1 of 1 (5 items)