Cant get Ajax Uploader to work with asp.net 4 and IIS 7

Last post 09-30-2010, 8:42 AM by ThomaxVision. 14 replies.
Sort Posts: Previous Next
  •  09-17-2010, 7:36 PM 64071

    Cant get Ajax Uploader to work with asp.net 4 and IIS 7

     
      <system.webServer>
        <modules>
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
        </modules>
      </system.webServer>
     
    When i try to upload files i get a API pop up with no error info, when file reach 100%
     
    On IIS 6 = no problems
     
    using demo and latest files.
     
    I am also running cuteEditor  without any problems with IIS7 the uploader there works.
     
      <system.webServer>
        <modules>
          <add name="DotNetGallery.UploadModule" type="DotNetGallery.UploadModule,DotNetGallery"/>
        </modules>
      </system.webServer>
     
  •  09-19-2010, 6:39 PM 64086 in reply to 64071

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Dear ThomaxVision,
     
    You can refer to http://ajaxuploader.com/Deployment.htm, did you follow this installation steps?  You can find 2 settings, If you change to another setting, does it work?

    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>
     
    Thank you for asking
  •  09-19-2010, 7:27 PM 64090 in reply to 64086

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Yes 100% and its not currently working on IIS7, have you tryed to get this work on IIS7 and asp.net 4.0 ? Visual Studio says:
     AjaxUplader was not setup in web.config file (even its there just like in the link above IIS7 integrated mode)

    However the assembly seems to be in place, no compiler error or warning. That i find strange and hard
    to trace.

    When fireing the code in the browser (any browser) i get pop up API with "unknown error".

    i am using <asp:Uploader now instead til i can use ajaxuploader, kinda miss the progress bar.



  •  09-19-2010, 7:30 PM 64091 in reply to 64090

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

       btw   httpmodules doesn't work on IIS7    so there is only 1 option  
  •  09-19-2010, 8:59 PM 64093 in reply to 64091

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Hi ThomaxVision,
     
    Is your site online? If so, can you set up ftp access for me? So I can check it for you.
     
    Please send your site url and the ftp info to [email protected]
     
    Regards,
     
    ken
  •  09-20-2010, 12:48 PM 64102 in reply to 64093

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    No solution, site link + codes have been given.

    Plz respond with status on this issue
  •  09-21-2010, 4:49 AM 64111 in reply to 64102

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Thanks Ken, i don´t know what was changed but it works now.
     
    Now the website have fully advanced features thx to cutsoft. Thanks.
  •  09-24-2010, 11:24 AM 64187 in reply to 64111

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Sorry Ken, but i cant get this Uploader to work, its bugging to much. I removed it from my procject and rather buy it when
    this is more "up to date".

    I would like to see the same functionality as you have in the Cuteeditor uploader where you get auto pixel resize,  and more file control, i buy it then.
  •  09-27-2010, 3:27 AM 64203 in reply to 64187

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Hi ThomaxVision,
     
    Do you get another new issue with uploader? Can you explain it on detail? So I can check it for you.
     
    Please send the info to [email protected]
     
    Regards,
     
    ken
     
  •  09-29-2010, 5:11 AM 64241 in reply to 64203

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Hi again Ken. Not much more i can help explain since i get "unknown error", Its the same error comes up now and then on my project.

    In Visual Studio 2010 (when every thing should be in place) it says Ajax upload is not configured in web.config file. So i am guessing
    the assemblies  doesn't work well with the <module></module> on ISS7
     
    works just fine on IIS6 however.
  •  09-29-2010, 9:52 AM 64249 in reply to 64241

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Dear ThomaxVision,
     
    Please open web.config and check whether you have followed step 2.
     
    Thank you for asking
  •  09-29-2010, 5:21 PM 64251 in reply to 64249

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Sorry Eric there is nothing wrong with the deployment, you missed all my posted here, if you please look at my first post or my second?

    Also that link is missing the header assembly reference, that you need to get this to work.
     
    <%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>
     
     I wasted 3 days to get this to work (time is money i never get back), i have now programmed my own solution that works with my own inherit assembly and asp.net 4.0 and IIS7. Until new version of Ajax Uploader comes.

    Unless you are using application pool Classic .NET mode, that support <httpModules></httpModules> and <Modules>  you can only use <Modules> with Integrated mode. That is currently not working with current AjaxUploader. (at least not bugg free in integrated mode)

    Sorry i can not spend more time on this issue, i hope you understand my point of view as a developer . I tried to explain the issue to help out best i cud.
  •  09-30-2010, 4:43 AM 64259 in reply to 64251

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    HI ThomaxVision,
     
    I tested  Integrated mode and Classic mode on IIS7 with asp.net 4.0. It works both.
     
    maybe you can create a test site and set up ftp access for me. So I can not it for you.
     
    Please send the info to [email protected] and [email protected]
     
    We will check it and get back to you as soon as possible.
     
    Regards,
     
    ken 
  •  09-30-2010, 8:34 AM 64262 in reply to 64259

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Hi Ken, i can set up a test site when i get time, i only have customer sites up atm so.

    As you know, from mail with you back and forward, you got it to work without using /Folder/  but /Folder/page.aspx  insted, it worked on a simple demo file, but when using it with allot of other codes it bugs ("unknown error"), i dont even know where to start looking, so i had to remove it from my project because of time limit.

    I get back to you when i get time with screenshot (maybe video). I mail it to you and Terry
  •  09-30-2010, 8:42 AM 64263 in reply to 64262

    Re: Cant get Ajax Uploader to work with asp.net 4 and IIS 7

    Things i use

    • Integrated mode IIS7 asp.net 4.0 (version 4.0.30319.1)
    • Masterpaging
    • Placeholders
    • JQuery
    • asp.net controller
    • Linq t-sql
    • XHTML 1.0 Transitional
    webconfig things
    • sessionState mode="InProc"
    • globalization requestencoding="utf-8" responseencoding="utf-8
    • pages autoeventwireup="true" enableviewstatemac="true" validaterequest="false" enableeventvalidation="false" viewstateencryptionmode="Never" 
    •  Session.LCID = 1044; (Norwegian Date Time mode)
    • (and ofc deployment section)

View as RSS news feed in XML