SecurityException With CH_MainForm when deployed on server.

  •  07-12-2006, 11:17 AM

    SecurityException With CH_MainForm when deployed on server.

     
    I have downloaded cutechat integration package and integrated with our website successfully within Visual studio2005.
    It works fine on my local machine. If I upload these files to my temperary server. I am getting the following exception.
     
    I am using CHMainForm.aspx with params Lobby and locationId as it is used on demo site.
     
    Any suggestions or help would be greatly appreciated.
     
     
     
    SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
       CuteSoft.Chat.ChatWebUtility.GetUserAdapter() +0
       CuteSoft.Chat.ChatWebUtility.get_CurrentIdentity() +76
       CuteSoft.Chat.Impl.ResourceContext.LoadResources(CultureInfo ci) +9
       CuteSoft.Chat.UI.ChatPageBase.Render(HtmlTextWriter writer) +42
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
       System.Web.UI.Page.ProcessRequest() +86
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
       System.Web.UI.Page.ProcessRequest(HttpContext context) +49
       ASP.cutesoft_client_cutechat_ch_mainform_aspx.ProcessRequest(HttpContext context) in App_Web_kn2ncies.16.cs:0
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
View Complete Thread