Finally Success!
Great! Thanks for letting me know what you needed to change.
I commented line 205 (HttpContext.Current = savedContext;) in UploadHttpModule.cs file, to prevent error: E:\NeatUpload\UploadHttpModule.cs(205): Property or indexer 'System.Web.HttpContext.Current' cannot be assigned to -- it is read only
I don't think that will be a problem, but I'm not positive. If it causes a problem, it would be limited to pages that redirect/transfer, applications that use other HttpModules, or applications that register HttpApplication event handlers (eg via Global.asax.cs). If your app falls into any of those categories, you might want to test that functionality.
Also, commented everywhere (throw new XmlException("Unrecognized tag name: " + tagName);) to prevent error :E:\NeatUpload\Config.cs(191): 'System.Xml.XmlException.XmlException(string)' is inaccessible due to its protection level
That won't cause any problems. It just won't complain about any errors you make in the config file. To catch such errors, you could just change XmlException to ApplicationException or Exception.
And commented everywhere ([AspNetHostingPermissionAttribute (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]) to prevent the error: E:\NeatUpload\DetailsSpan.cs(32): The type or namespace name 'AspNetHostingPermissionAttribute' could not be found (are you missing a using directive or an assembly reference?)
I thought that was necessary for the Designer stuff to work, but maybe that's only true with VS 2003 and later. If you can drag and drop the controls onto your forms without it, then you don't need it.
After this, the code could build successfully with following warnings:
1)warning CS1607: Assembly generation -- The version 'trunk' specified for the 'product version' is not in the normal 'major.minor.build.revision' format
2)E:\NeatUpload\AssemblyInfo.cs(43,10): warning CS1030: #warning: 'LOGGING DISABLED. To enable logging, add a reference to log4net and define USE_LOG4NET.'
Those are both fine. You can safely ignore them.
Also, I would be glad if you please tell me how the controls DetailsSpan and DetailsDiv can be used?
See Customizing Progress.aspx.
I could not run the HashedDemo.aspx page. I converted HashedInputFile.csproj to VS2002 so as to open it in VS. But in this case, I had to remove and re-add the reference to NeatUpload dll to this project, as it showed a warning icon next to it in the Solution Explorer.
That doesn't suprised me. It's probably because it expected to link to the version that was included in the release.
Also, when I try to open HashingFilesystemUploadStrorageProvider.cs, I get an error that the file does not exist or might have been renamed/moved/deleted. A warning icon is shown against HashingFilesystemUploadStrorageProvider.cs also.
Hmm. That file should be in your NeatUpload-1.1.3\HashedInputFile folder. If it isn't, perhaps the filename was too long for your zip program, OS, or VS2002 to handle? If there is file with a truncated version of that name in the HashedInputFile folder, try renaming it to something like HashingFsUploadStorageProvider.cs and adding that file to the project in VS2002.
I did not build HashingInputFile project. I am not sure if this is required. Does it get built with NeatUpload or something?
HashedInputFile is definitely not required. It is just an extension that computes the cryptographic hash of the files as they are uploaded. If you don't need that functionality, you can completely ignore HashedInputFile. For more info on HashedInputFile, see The HashedInputFile Extension.
Cheers,
--Dean