I am using the latest version of NeatUpload in my application. Everything works fine as long as I have anonymous authentication set on the virtual directory of web application. When I turn on the windows authentication and disable anonymous authentication at the root directory(Not NeatUpload folder) in IIS, the multifile.Files count is returning 0. As a result the upload alone is not functioning, rest everything including the multi file selection, progress bar are working.Its a .NET 2.0 web app, so anonymous login was ASPNET; thinking its a security issue I added read/write access to both the NeatUpload folder and the NeatUpload_Temp folder for MACHINE\ASPNET and MACHINE\IUSR_MACHINE accounts. Still I am not etting the upload to work when web app is in windows authentication.Also tried configuring the temp folder explicitly, still no luck.Pls help, below is the web.config file of web app:-
For Flash-based MultiFile uploads to work, Flash needs to be able to upload to NeatUpload/MultiRequestUploadHandler.ashx. Flash doesn't know about Windows authentication, so if Windows auth is required to access NeatUpload/MultiRequestUploadHandler.ashx, that would explain why Flash-based MultiFile uploads aren't working. If you try to access NeatUpload/MultiRequestUploadHandler.ashx from a machine/browser that can't do Window Auth, are you able to?
You might need to put the pages requiring Windows auth in a separate folder so that all parent folders of MultiRequestUploadHandler.ashx allow anon access. Not sure.
Thanks for the advice and its working after doing the changes you suggested.
Please validate my understanding:-
In any websites with root folder set to windows authentication only, NeatUpload control will not work even when the NeatUpload folder has anonymous access as the NeatUpload folder's parent folder is not having anonymous account access.The work around is to put all the website screens in one folder, enable windows authentication on that and enable windows & anonymous authentication on the root folder. This way we are enabling anonymous access from root folder through NeatUpload folder.
FYI, I seem to have this working locally without needing to put all the windows auth stuff in its own folder. I just made the top-level dir only allow windows auth and made the NeatUpload subdir allow anonymous auth. Flash-based MultiFile uploads seem to work fine in that environment. The only problem I seem to be having is that if I restart the website, I get a login prompt when I attempt to start the upload and the upload doesn't actually occur. Restarting the browser makes that problem go away. This is all with IE8+IIS7 on a stand-alone Vista box.