I have noticed every time i select a client on the file the upload control post a small amount of data to the server and it causes an un-handled exception. Here is the exception message:
The file '/DigitalMailer.EDMS.CCC/ig_fua34sf345sdf13sdf3454erdsf2345asd3425df5235d54df345.aspx' does not exist.
Why?
Hello Lenny,
Follow this sample here :
http://samples.infragistics.com/jquery/file-upload/client-side-events
Make sure you have the httpHandlers for the file upload correctly added to your project also all the resourcefiles for it added in the project.
<add key="fileUploadPath" value="~/Uploads" />
This register the uploaded files to be added to the Uploads folder so that it means that you need Uploads folder in your root.
I hope this helps.
For any further questions do not hesitate to contact me.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Maybe I need to clarify. The upload control is working. Uploading,progress messages etc. The issue is when a user clicks the button to select a file to upload, then closes the dialog. The upload control posts a small amount of data to the server. That post is what is throwing an exception. We only noticed it because we have an unhandled exception handler setup to catch any unhandled exception. That is the problem. The fileupload path is not the problem. All the handlers are setup correctly.
<system.webServer> <validation validateIntegratedModeConfiguration="false" /> <modules runAllManagedModulesForAllRequests="true"> <remove name="ScriptModule" /> <remove name="IGUploadModule" /> <remove name="ExceptionLoggerHttpModule" /> <add name="ExceptionLoggerHttpModule" type="DigitalMailer.EDMS.CCC.WebUI.HTTPHandlers.UnhandledExceptionLogger, CommunicationCenter.WebUI" /> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="IGUploadModule" type="Infragistics.Web.UI.EditorControls.UploadModule, Infragistics35.Web.jQuery.v11.2, Version=11.2.20112.2086, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" preCondition="managedHandler" /> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated" /> <remove name="ScriptHandlerFactory" /> <remove name="ScriptHandlerFactoryAppServices" /> <remove name="ScriptResource" /> <remove name="IGUploadStatusHandler" /> <add name="WebCaptchaImage" path="WebCaptchaImage.axd" verb="GET,HEAD" type="Infragistics.Web.UI.EditorControls.CaptchaImageHandler" /> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="IGUploadStatusHandler" path="IGUploadStatusHandler.ashx" verb="*" type="Infragistics.Web.UI.EditorControls.UploadStatusHandler, Infragistics35.Web.jQuery.v11.2, Version=11.2.20112.2086, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" preCondition="integratedMode" /> </handlers> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2147483648"/> </requestFiltering> </security> </system.webServer>