Upload Module Not instaled in Web.Config - When localhost Port is in URL

Last post 08-31-2012, 2:45 PM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  08-31-2012, 10:32 AM 74530

    Upload Module Not instaled in Web.Config - When localhost Port is in URL

    I am using the AJAX Uploader in a web application.  When I am debugging and running the app in Visual studio 2010. I  receive the "Upload Module Not instaled in Web.Config" - when localhost Port is in URL

     

    For example : 

    http://localHost:12122/MyApp/default.aspx then the error "Upload module is not installed in web config" surfaces

     

    However if I use the same page for the same app running in IIS7 in http://localhost/default.aspx then everything is fine

     

  •  08-31-2012, 1:35 PM 74533 in reply to 74530

    Re: Upload Module Not instaled in Web.Config - When localhost Port is in URL

    Hi FLJoe,

     

    Please refer to the setting below. Different application pool mode using the different upload module setting.


    Ensure that you have set the upload module in your web.config. If the first one doe not work, then try the second one, one of them will work for you.

     

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

    Add AjaxUploader httpModule to web.config's httpModules list

    To allow Ajax Uploader to handle upload requests, you need to add its HttpModule to your application.

    IIS 6.0 and IIS 7.0 Classic mode

    <configuration>
      <system.web>
        <httpModules>
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
         </httpModules>
      </system.web>
    </configuration> 

    IIS 7.0 Integrated mode

    <configuration>
      <system.webServer>
        <modules>
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
        </modules>
      </system.webServer>
    </configuration>
     

     

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

     

    Regards,

     

    Ken 

  •  08-31-2012, 2:16 PM 74535 in reply to 74533

    Re: Upload Module Not instaled in Web.Config - When localhost Port is in URL

    I have it configured for Integrated Mode and all my app pools are running integrated.

     

    As I mentioned in my post, It works fine when the port is not referenced in the URL. 

  •  08-31-2012, 2:45 PM 74536 in reply to 74535

    Re: Upload Module Not instaled in Web.Config - When localhost Port is in URL

    Hi FLJoe,

     

    When you testing it with visual studio 2010, it will use the classic mode. (I think this is what you mean with the port). this is the visual studio behavior, not set by us. So please use the classic mdoe section when you testing with visual studio.

    When you testing it with IIS, it will use the in Integrated mode what you set in IIS.

     

    Regards,

     

    Ken 

View as RSS news feed in XML