Save Message issue

Last post 03-22-2010, 9:22 AM by Eric. 6 replies.
Sort Posts: Previous Next
  •  02-26-2010, 2:03 PM 59022

    Save Message issue

    Hello,
    We have a problem when we use the javascript function ChatUI.SaveMessages(target). Here is the error encountered on a development local server:

    Erreur du serveur dans l'application '/'.
    --------------------------------------------------------------------------------

    La ressource est introuvable.
    Description : HTTP 404. La ressource recherchée (ou l'une de ses dépendances) a peut-être été supprimée ou renommée ou bien elle n'est plus disponible temporairement. Vérifiez l'URL ci-après et assurez-vous qu'elle est correcte.

    URL demandée: /Chat/CuteSoft_Client/CuteChat/SaveTemplate.aspx/ChatLog2010-2-26--15-3.htm


    --------------------------------------------------------------------------------
    Informations sur la version : Version Microsoft .NET Framework :2.0.50727.3074; Version ASP.NET :2.0.50727.3601








    And here is the error encoutered on another server:
    Erreur du serveur dans l'application '/FIQChat'.
    --------------------------------------------------------------------------------

    La collection Controls ne peut pas être modifiée, car le contrôle contient des blocs de code (c'est-à-dire <% ... %>).
    Description : Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations sur l'erreur et son origine dans le code.

    Détails de l'exception: System.Web.HttpException: La collection Controls ne peut pas être modifiée, car le contrôle contient des blocs de code (c'est-à-dire <% ... %>).

    Erreur source:

    Une exception non gérée s'est produite lors de l'exécution de la demande Web actuelle. Les informations relatives à l'origine et l'emplacement de l'exception peuvent être identifiées en utilisant la trace de la pile d'exception ci-dessous.  

    Trace de la pile:


    [HttpException (0x80004005): La collection Controls ne peut pas être modifiée, car le contrôle contient des blocs de code (c'est-à-dire <% ... %>).]
       System.Web.UI.ControlCollection.Add(Control child) +11013946
       System.Web.UI.PageTheme.SetStyleSheet() +339
       System.Web.UI.Page.OnInit(EventArgs e) +11035784
       ASP.chat_cutesoft_client_cutechat_savetemplate_aspx.OnInit(EventArgs args) +9
       System.Web.UI.Control.InitRecursive(Control namingContainer) +143
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477


    --------------------------------------------------------------------------------
    Informations sur la version : Version Microsoft .NET Framework :2.0.50727.3074; Version ASP.NET :2.0.50727.3074





    A collegue seems to think its a security issue...


    We need this save feature for production release next week.
     
    Thanks, Anne-Marie

    Filed under:
  •  03-01-2010, 1:30 PM 59074 in reply to 59022

    Re: Save Message issue

    Can anybody help us with this error, please?
  •  03-06-2010, 2:37 PM 59208 in reply to 59074

    Re: Save Message issue

     It may help if you could provide an english translation. But either way, if you type in that error in google you get plenty results so hopefully this will help you:
     
    Looks to me like this could be a server problem?
     
    Filed under: , ,
  •  03-16-2010, 2:27 PM 59438 in reply to 59208

    Re: Save Message issue

    Here is an english translation of the previous message:
     
     

    Hello,
    We have a problem when we use the javascript function ChatUI.SaveMessages(target). Here is the error encountered on a development local server:

    Server error in ‘/’ application
    --------------------------------------------------------------------------------

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /Chat/CuteSoft_Client/CuteChat/SaveTemplate.aspx/ChatLog2010-2-26--15-3.htm


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.3074;
    ASP.NET Version:2.0.50727.3601








    And here is the error encountered on another server:
    Server error in '/FIQChat’ application
    --------------------------------------------------------------------------------

    The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).


    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception details: System.Web.HttpException:
    The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

    Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [HttpException (0x80004005):
    The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).]
       System.Web.UI.ControlCollection.Add(Control child) +11013946
       System.Web.UI.PageTheme.SetStyleSheet() +339
       System.Web.UI.Page.OnInit(EventArgs e) +11035784
       ASP.chat_cutesoft_client_cutechat_savetemplate_aspx.OnInit(EventArgs args) +9
       System.Web.UI.Control.InitRecursive(Control namingContainer) +143
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477


    --------------------------------------------------------------------------------

    Version Information: Microsoft .NET Framework Version:2.0.50727.3074;
    ASP.NET Version:2.0.50727.3074



    A collegue seems to think it’s a security issue...

     

    We need this save feature for production release next week.

     

    Thanks, Anne-Marie

     

     
  •  03-18-2010, 9:52 AM 59472 in reply to 59438

    Re: Save Message issue

    I always encounter the error with the latest Cute Chat StandAlone version.
     
     
  •  03-22-2010, 8:03 AM 59553 in reply to 59472

    Re: Save Message issue

    Cute Chat Support?
  •  03-22-2010, 9:22 AM 59557 in reply to 59553

    Re: Save Message issue

    Dear anne-marie,
     
    Please open file \CuteSoft_Client\CuteChat\Script\ChatUI.js, you will find function SaveMessages(target), you can debug it and find exactly line which leads to this issue.
     
    Regards,
    Eric
View as RSS news feed in XML