First of all I would like to congratulate you for your great work! I got in touch with your work with mojoPortal, the CMS I used in a project I developed for the Mono framework. Joe Audette also made a wonderfull job with this CMS!
My problem is that I'm having a little difficulty in get NeatUpload to work in my production environment. It all works fine in development with VS2008 and DotNetNuke v5. But when I try to deploy it in production I get a misleading error... When I add the 2 strings in the web.config at System.web/httpModules and System.webServer/modules, it breaks the portal and I can't login. I keep getting this error: -----------------------------
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
When I erase those 2 lines everything works just fine.
I uploaded the NeatUploaded folder and files to the root of the website, and even added the NeatUpload dll's to the Assembly folder (after I strong typed them) and added the correct version and publicToken in the web.config...
I'm using Windows Server 2008 and using version 5 of DotNetNuke CMS.
Any help I can get from you would be great. Probably it's only stupidity, but I already spent too much time on this...
I checked the permission issue you mentioned, and the "Invoke handler only if request is mapped to file" setting, the replacement in IIS7 for the "Check file exists?" of IIS6 (http://forums.iis.net/t/1092696.aspx), and it's NOT checked. So it should not be the problem.
I already tried different things about a dozen times. Every time I place those 2 lines in web.config, the authentication of DotNetNuke breaks... I remove them, and everything works again! If I don't try to authenticate, the site works just fine...
If I'm logged in before inserting those lines, I keep logged in and everything works fine and I access the private areas. If I press logoff, I get the same error, and the user doesn't get logged off.
One strange behavior I noticed is that when I'm logged in, change the web.config adding those 2 lines and access the module that has the view that uses the NeatUpload, all the events are broken... The first view has a menu with 3 buttons, one of them redirects to the ascx that uses Neat. When NeatUpload is enabled, those buttons just doesn't work, but THE REST OF THE SITE (navigation, links, other buttons, etc.) works just fine!!!
This must be something stupid I'm missing... But it's beeing hard to trace it... arggg! :)
If you have more ideas, I'l be gratefull. Otherwise, if I get to fix this, I'll post the solution here...
1. Use the stock pre-built 1.3.12 assembly (It should already by strongly named). To eliminate any effects of your rebuild. 2. Switch the type of app pool you are using. If you are using the default app pool, switch to the Classic .NET App pool, or vice versa. 3. Remove other HttpModules from your Web.config one (or a few) at a time to try to find a conflicting one.
I finally got it to work! I started by your third tip (find a conflicting module) and it was enough.
So I only added the reference in the HttpModules section and refreshed the page. Everything worked just fine, so the problem wasn't from this section.
I added the reference in the Modules section and the error appeared. So what I did was to place last this reference in the Modules section and... it worked! Next I started testing if it worked when I placed the reference in a upper position, and found out that the conflicting module was the DotNetNuke.HttpModules.UrlRewriteModule. The reference to the NeatUpload MUST be under this reference or the error appears.
Glad you got it working and thanks for reporting what worked. I'll try to include that info in the Manual in the next release. The reason I recommend putting NeatUpload first is that some other modules access parts of the request body. If they do that NeatUpload isn't able to intercept the request and track upload progress. I assume you are seeing the progress bar update multiple times during large uploads with your config, right? If so, then it sounds like you are all set.
Yes, I was testing it now. The progress bar is updating multiple times during uploads (lower than 30Mb), so it all seems to be working just fine! I'm using the GreyBox, by the way.
Just one more question. I noticed that when I try to upload one or multiple files that sum more than 30Mb I get no feedback from the progress bar and after a few minutes I get a timeout.
Can't I just use the maxRequestLength of the httpRuntime to set the maximum size? I want it to be 100Mb but even when I change the values in the web.config httpRuntime line, it all remains the same... Do I have to create a NeatUpload config section and set it there?
first of all i post without login....then i created account and post it ... i have dnn 5, windows server 2003 vs 2088/asp 3.5 i am not able to use your controls ...i have same error which had João Pereira i try his solution but it dint work for me. n got the same /server application error...
can i have any idea how i will use neatupload dll and what changes require in web.config