browse window not coming up when control is deployed online

Last post 01-05-2014, 4:04 PM by rxraza. 5 replies.
Sort Posts: Previous Next
  •  12-31-2013, 2:15 AM 78673

    browse window not coming up when control is deployed online

     I downloaded a trial version of ajax uploader. The browse windows comes up fine when I run it within Visual Studio but it does not show up online below

     

    http://www.atexaslowcostefile.com/Index.aspx [please select Lead Document from the left hand side navigation]

     

    The code snippet that I have put is below

     

    <CuteWebUI:UploadAttachments InsertText="Upload Multiple files Now" runat="server"                ID="Attachments1" MultipleFilesUpload="true" OnAttachmentAdded="Attachments1_AttachmentAdded">
                    <InsertButtonStyle />
                    </CuteWebUI:UploadAttachments>

    Filed under:
  •  12-31-2013, 8:08 AM 78674 in reply to 78673

    Re: browse window not coming up when control is deployed online

    Hi rxraza,

     

    You did not set up the upload module correct in web.config. Please refer to http://www.ajaxuploader.com/Deployment.htm step 2. It has two sections. one for classic application pool, one for integrated application pool. The visual studio will use the classic application pool by default, I think you production site using the integrated mode, you can try the second section.

     

    2. Add Uploader 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 Classic mode

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

    IIS Integrated mode

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

    </configuration>

     

    Regards,

     

    Ken 

  •  12-31-2013, 6:49 PM 78675 in reply to 78674

    Re: browse window not coming up when control is deployed online

     I added that in web.config file. Now I am getting internal server error

     

    http://www.atexaslowcostefile.com/

  •  12-31-2013, 6:50 PM 78676 in reply to 78675

    Re: browse window not coming up when control is deployed online

     Below is the complete node in the config file

     

    <system.web>    
        <customErrors mode="Off"/>
        <compilation debug="true" targetFramework="4.0">
          <assemblies>
            <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
          </assemblies>
        </compilation>
         <httpModules>
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader" />
        </httpModules>
      </system.web>

  •  01-02-2014, 7:42 AM 78678 in reply to 78676

    Re: browse window not coming up when control is deployed online

    Hi rxraza,

     

    Can you try the integrated mode section too? I have explained in the last reply, you are using the wrong section.

     

    IIS Integrated mode

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

    </configuration>

     

    Regards,

     

    Ken 

  •  01-05-2014, 4:04 PM 78691 in reply to 78678

    Re: browse window not coming up when control is deployed online

     yep that worked! Thanks a lot
View as RSS news feed in XML