I am using VS 2008 with .NET 3.5 and after I put the control on the page and let it import it's ig_ui folder I added the following headers.
<link type="text/css" href="ig_ui/themes/ig/jquery.ui.custom.min.css" rel="stylesheet" /> <link type="text/css" href="ig_ui/themes/base/ig.ui.min.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.6.1.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.13/jquery-ui.min.js"></script> <script type="text/javascript" src="ig_ui/js/min/ig.ui.min.js"></script>
I also tried using the Microsoft CDN for jQuery and jQueryUI. Then end result is that the page opens up and control looks good and brings up the find file dialog as expected but it never actually uploads the file. The progress bar opens, blinks a bit and then goes away. No file is to be found in the destination folder. The Uploaded events don't fire client or server side.
I added the modules and handlers shown in the help site and documentation but the behavior was exactly the same. It doesn't throw any exceptions so I can't even figure out where to start looking.
<modules> <remove name="ScriptModule"/> <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" preCondition="managedHandler" /> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated"/> <remove name="ScriptHandlerFactory"/> <remove name="ScriptHandlerFactoryAppServices"/> <remove name="ScriptResource"/> <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" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" 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" preCondition="integratedMode" /> </handlers> </system.webServer>
Any help at all would be greatly appreciated.
Hi ChSamtleben,
I suppose probably you are working on MVC project - please check our MVC samples http://samples.infragistics.com/jquery/file-upload. If I am not right - just you can check ASP.net samples http://samples.infragistics.com/aspnet/ComponentOverview.aspx?cn=web-upload
It will be very helpful for us to send more information about your problem: what exactly project is, your web.config, if it is possible for you some little project with page that contains the file upload. Thanks,Miro Hristov
Some additional information on my previous posting:
There is a "405.0 - Method Not Allowed" Error also
Server log shows:2011-08-04 13:28:40 ::1 GET /WebApplication1/ig_ui/Themes/base/ig.ui.min.css - 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 304 0 0 02011-08-04 13:28:45 ::1 POST /WebApplication1/Upload/ key=zcVT5eK1bUqAJbnHKs330g8tNPMqnp&command=fileSize 80 - ::1 Mozilla/5.0+(compatible;+MSIE+9.0;+Windows+NT+6.1;+WOW64;+Trident/5.0) 405 0 1 0
In web.config the verbs are set: verb="*"
The filesize is 100kb
Thank you
Ch. Samtleben
Hi I get "errorCode: nosuchfilekeyid, errorMessage: The file you requested could not be found. Probably this file is too big., errorType: serverside" on client side onError event
UploadUrl is set to: WebUpload1.UploadUrl = Me.ResolveUrl("~/Upload/")The Permission on this Folder is set to Full Access for everyone
I'm using Win7 Prof, VisualStudio 2010
Do you have any idea where to look for ?
Regards
Christian Samtleben
Hi sheeeraz001,
You can check working sample for WebUpload control here:
http://samples.infragistics.com/aspnet/Samples/WebUpload/Display/MultipleUpload/Default.aspx?cn=web-upload&sid=a8c69ee2-99e1-4512-938b-52c5d0b9cb6f
Also you can check in our help how exactly to configure web.config:
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebUpload_Overview.html
Regards, Miro Hristov
Hi
I am getting problem in WebUpload Control. I have place the required file but still runtime exception.
Can anybody upload a complete working sample?
Thanks