"Upload" does not work on the production server

Last post 12-28-2009, 7:11 PM by Eric. 2 replies.
Sort Posts: Previous Next
  •  12-28-2009, 12:49 PM 57951

    "Upload" does not work on the production server

    Using the CuteSoft demo web project, the project compiles and runs fine on my local development machine.  When I publish it to the production web server, everything works except the "UpLoad" link in the admin console.   http://test.dynawebs.biz
     
    When you click on the upload link button, the file-uploader does not appear.
     
     
     

    Matt
  •  12-28-2009, 3:10 PM 57952 in reply to 57951

    Re: "Upload" does not work on the production server

    Thanks to Eric in Support, here is the answer:
     
    It is important to use both the httpModule and the web.server module in the web config. 
     
    In the system.web section
    <httpModules>
       <
    add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery" />
    </httpModules>

    In the system.webserver section
    <
    modules>
       <add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery"/>
    </
    modules>
     
    This resolved the issue with running the control in an IIS 7.0 envioronment.
     
    Thanks Eric!
     
     

    Matt
  •  12-28-2009, 7:11 PM 57956 in reply to 57952

    Re: "Upload" does not work on the production server

    The installation steps can be found in http://cutesoft.net/ASP.NET+Image+Gallery/Deployment.aspx 
    Add Uploader httpModule to web.config's httpModules list
    IIS 6.0 and IIS 7.0 Classic mode
    <system.web>
       <httpModules>
         <add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery"/>
        </httpModules>
    </system.web>

    IIS 7.0 Integrated mode
    <system.webServer>
       <modules>
         <add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery"/>
       </modules>
    </system.webServer>
     
    Based on IIS running mode, you only need use one of them in web.config
     
    Regards,
    Eric
View as RSS news feed in XML