Error on other pages when httpModule is in Web.Config

Last post 05-13-2009, 2:06 PM by baseballrock17. 4 replies.
Sort Posts: Previous Next
  •  05-12-2009, 9:12 AM 52069

    Error on other pages when httpModule is in Web.Config

    The following error exists only when 
    <add name="CuteWebUI.UploadModule" Type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
    is added to the web.config httpModule.  The error is not taking place on any pages that utilize a Cute control.  Rather, the error occurrs on a page in which i use reference a web service. 


    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.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
     
    Can anyone think why a page not referenceing the control would be having a problem?
  •  05-12-2009, 9:21 AM 52070 in reply to 52069

    Re: Error on other pages when httpModule is in Web.Config

    Hi,
     
    what service do you use ?
     
    local website or remote website ?
     
    Can you provide more information ?
     
    Regards,
    Terry
     
  •  05-12-2009, 12:33 PM 52075 in reply to 52070

    Re: Error on other pages when httpModule is in Web.Config

    It is a document Management solution.  We are listing links to documents from the Software.  It is a web-based application.
     
    The software exists on the same server within the same website.

    Thanks for your response,
  •  05-12-2009, 9:32 PM 52096 in reply to 52075

    Re: Error on other pages when httpModule is in Web.Config

    Hi,
     
    I think I know the reason.
     
    The UploadModule may not compatible with the webservice post mode.
     
    Please try this way at first , we will improve this part soon :
     
    add such appSettings into web.config :
     
    <configuration>
      <appSettings>
     <add key="CuteWebUI.AjaxUploader.RewritePath" value="False" />
     
     
    Regards,
    Terry
     
  •  05-13-2009, 2:06 PM 52130 in reply to 52096

    Re: Error on other pages when httpModule is in Web.Config

    This has been resolved.
     
    I added the Cute DLL to each Application and SubApplication's Bin folder.
     
    Thanks so much for your Ideas and thoughts.
View as RSS news feed in XML