Upload not working

Last post 02-09-2009, 10:58 PM by cutechat. 21 replies.
Page 1 of 2 (22 items)   1 2 Next >
Sort Posts: Previous Next
  •  12-29-2008, 6:56 PM 47267

    Upload not working

    The UploadPersistedFile control works locally, both via the built-in Dev Server in asp.net, as well as locally on the server itself.  But it doesn't work from my browser to the remote server.  It starts to upload the file, then prompts for credentials when it gets to the end.  If I re-enter my credentials, it prompts again.  If I cancel the credentials prompt, I get a javascript alert: "Error, HTTP, 401".  Nothing is in the UploaderTemp folder (which I manually created). 
     
    The local Network Service has Modify permissions to the UploaderTemp folder (and if I remove these permissions, it stops working locally as well, so it would appear I have the permissions straight). 

    What would cause this?  
     
    FYI, we are still in the process of purchasing the product (things move at a glacial pace here).  Could that cause this pattern?  There are no license-related error messages generated.
     
    Thanks,
    Brad
  •  12-30-2008, 6:17 AM 47273 in reply to 47267

    Re: Upload not working

    Brad,
     
    Is your remote server using WINDOWS AUTHORIZATION? Does the IIS disable the ANONYMOUS AUTHORIZATION?
     
    Regards,
    Terry
  •  12-30-2008, 9:30 AM 47283 in reply to 47273

    Re: Upload not working

    It is using windows auth, and allow anonymous is unchecked.
  •  12-30-2008, 9:38 AM 47284 in reply to 47283

    Re: Upload not working

    It is IIS6, it is running in an app pool that uses the Network Service identity.  I granted Modify permissions to the UploaderTemp folder for Network Service.
  •  12-30-2008, 5:07 PM 47296 in reply to 47284

    Re: Upload not working

    Any ideas on this?
  •  12-30-2008, 8:39 PM 47303 in reply to 47296

    Re: Upload not working

    Hi,
     
    Currently Flash-plugin is not support your case.
     
    If the browsers installed Flash, the Uploader would try to use Flash to upload,
     
    And then the Flash would prompt the username/password.
     
    We already provide a method to just disabled the Flash mode :
     
     
    That should let your application work on your server.
     
    Without Flash plugin , the Uploader would choose Silverlight/IFrame mode.
     
    If the browsers do not install the Silverlight ,
     
    The Uploader would not support multiple files selection.
     
    So we suggest your end-users install Silverlight to get better experience.
     
     
     
    We also found that Flash10 can support you case , (not make sure..)
    Maybe you can also test the Flash10.
     
     
    Regards,
    Terry
     
  •  12-31-2008, 7:48 AM 47311 in reply to 47303

    Re: Upload not working

    Bear in mind that from the same browser, it works if the web server is local, but does not if the web server is remote.  How could Flash be playing a role in this case?
  •  12-31-2008, 4:52 PM 47334 in reply to 47311

    Re: Upload not working

    OK, I tried adding UploadType="IFrame" to the HTML.  Same result: it works locally, but not remotely.  Here is my HTML control declaration:
     
    <CuteWebUI:UploadPersistedFile UploadType="IFrame" runat="server" ID="uplFile" InsertText="Browse" ManualStartUpload="false" MultipleFilesUpload="false" OnFileUploaded="uplFile_FileUploaded" TempDirectory="~/UploaderTemp" ></CuteWebUI:UploadPersistedFile>                                            
     
    Again, environment is as follows:
     
    • IIS 6.0
    • Windows Server 2003
    • Enable anonymous access = unchecked
    • Integrated Windows authentication = checked
    • Framework 3.5 is installed, and the app is targeting v3.5
    • Web Site app pool identity has Modify permissions to UploaderTemp folder
    Works locally, does not work remotely.  Please help.
  •  12-31-2008, 10:48 PM 47335 in reply to 47334

    Re: Upload not working

     
    We will invesgating on this issue more deeply.
     
    Regards,
    Terry
  •  01-02-2009, 2:20 PM 47364 in reply to 47335

    Re: Upload not working

    Any progress on this?  If I take your sample and upload it to our server, disable anonymous access, and use integrated windows authentication, I get the same result.  It only works when Allow Anonymous is checked.  FYI, the identity used with Allow Anonymous is (currently) an Administrator, also the identity used by the App Pool is an administrator.
     
    This is pretty critical for us.
  •  01-05-2009, 10:28 AM 47411 in reply to 47364

    Re: Upload not working

    so it seems this just doesn't work with intranet sites (e.g., integrated windows authentication) hosted on W2K3
     
    the iframe mode ends up loading the file into server memory, which won't work for very large files
     
    if you can figure out another solution, let us know
  •  01-05-2009, 8:36 PM 47436 in reply to 47411

    Re: Upload not working

     
    Currently I still do not know what's wrong.
    Because the IFrame/Silverlight modes are OK when we tested it.
     
    I suggest you install Silverlight and test the Silverlight and then reply me the result.
     
    Thanks.
     
    Regards,
    Terry
  •  01-06-2009, 12:30 PM 47473 in reply to 47436

    Re: Upload not working

    It does work with the IFrame mode, but the file gets loaded into server memory.  This is not viable for very large files.
  •  01-06-2009, 10:14 PM 47476 in reply to 47473

    Re: Upload not working

    Hi,
     
    If your website using ASP.NET1.1+Medium trust level , the uploader would not able to intercept the raw request data into the file stream.
     
    So I suggest you 3 solutions:
     
    1. upgrade to ASP.NET2.0
    2. use Full trust level
    3. let end users use Silverlight.
     
    Regards,
    Terry
  •  01-12-2009, 1:42 PM 47663 in reply to 47476

    Re: Upload not working

    1.  It is ASP.NET 3.5
    2.  It is Full trust
    3.  Silverlight works, but end users require admin privs to install, which is not an option for us.
     
    Any other ideas, or are we at a dead-end?
  •  01-14-2009, 10:20 AM 47735 in reply to 47663

    Re: Upload not working

    Hi,
     
    Some other customers have this issue too.
    We are still investigating on it and will have a conclution in a few days.
     
    Regards,
    Terry
  •  01-16-2009, 8:44 AM 47807 in reply to 47735

    Re: Upload not working

    Any idea when you will have a conclusion? 
     
    Thanks,
    Brad
  •  01-21-2009, 10:32 AM 47925 in reply to 47807

    Re: Upload not working

    Any hope for getting this working?
  •  01-27-2009, 1:20 PM 48110 in reply to 47925

    Re: Upload not working

    Can I get an update on where this stands?  Thanks.
  •  01-28-2009, 11:09 AM 48155 in reply to 48110

    Re: Upload not working

    veloearl ,
     
    We are still working on this issue. and it may last for one week.
     
    Regards,
    Terry
     
Page 1 of 2 (22 items)   1 2 Next >
View as RSS news feed in XML