After updating to latest April 2013 Control Toolkit, getting the following ASP.NET exception. Running Windows 2003 R2 and IIS. Google Chrom and Safari work fine.
I have spent the last 5 hours trying to get the AjaxFileUpload control to work with IE 10, 9, 8 and 7. I installed the package using NuGet and I installed it manually. Every time I test the control with Internet Explorer the Drag Drop area is not displayed. Only a single file upload is provided. If I select a file and upload it, I get an IIS exception (see below).
I'm using VS 2010 Premium and using 4.0 Net Framework. Has ANYONE tested this new version with Internet Explorer (any version)? I have attached 2 images (My VS 2010 environment) code sample and the IE browser display of the page. This is not showing the drag drop area. I did not even go that far to put in the upload code.
Thanks for the work you guys have done with this software. Hoping for an easy resolution.
I have attached 3 image files showing my problems (VS 2010 Environment, IE 10 Browser Display, and IE 10 Javascript exception found via debugger)
Event Type: Warning
Event Source: ASP.NET 4.0.30319.0
Event Category: Web Event
Event ID: 1309
Date: 5/7/2013
Time: 3:03:55 PM
User: N/A
Computer: IBT-2800
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/7/2013 3:03:55 PM
Event time (UTC): 5/7/2013 7:03:55 PM
Event ID: d59bd963e0f447e0a375367cb5b29cb9
Event sequence: 58
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1686273646/Root/MIS-8-130124268628101250
Trust level: Full
Application Virtual Path: /MIS
Application Path: C:\Buzz\iis_root\OLI\GardenAndGunClub\MIS2013\
Machine name: IBT-2800
Process information:
Process ID: 4872
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: Exception
Exception message: Invalid upload request.
at AjaxControlToolkit.AjaxFileUploadHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: https://www.gardenandgunclub.com:443/mis/AjaxFileUploadHandler.axd?contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&fileId=5ADA8FD3-EAFC-2D21-99FD-B2CBF6866D57&fileName=IMG_0770.JPG&usePoll=true&AspxAutoDetectCookieSupport=1
Request path: /mis/AjaxFileUploadHandler.axd
User host address: 207.99.40.148
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 15
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at AjaxControlToolkit.AjaxFileUploadHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Comments: Hi , I resolve the issue . What you need to do is Download the source code of anax control tool kit from Codplex.com and then open it to vs . Now you need to modify .js For that do the steps 1. Open Source code my solution file 2. Open Server By expanding projects in folder 3.Expand AjaxControlToolkit 4. Expand AjaxFileUpload 5. Click on AjaxFileUpload.Utils.pre.js 6. Comment the code //if (browser.name == "Microsoft Internet Explorer" && browser.version <= 10) // return false; (it is at the bottom bo JS ) the Bult the solution . 7.Copy Dll from Bin folder of AjaxControlToolkit You get the bin folder by right click on AjaxControlToolkit then select Open folder in File explorer . copy the dll AjaxControlToolkit and AjaxMin.dll will resolve the issue . I cannot attach dll with it as it is of more the 4 MB Attaching Modified dlls Hope this will help you . Thank you
I have spent the last 5 hours trying to get the AjaxFileUpload control to work with IE 10, 9, 8 and 7. I installed the package using NuGet and I installed it manually. Every time I test the control with Internet Explorer the Drag Drop area is not displayed. Only a single file upload is provided. If I select a file and upload it, I get an IIS exception (see below).
I'm using VS 2010 Premium and using 4.0 Net Framework. Has ANYONE tested this new version with Internet Explorer (any version)? I have attached 2 images (My VS 2010 environment) code sample and the IE browser display of the page. This is not showing the drag drop area. I did not even go that far to put in the upload code.
Thanks for the work you guys have done with this software. Hoping for an easy resolution.
I have attached 3 image files showing my problems (VS 2010 Environment, IE 10 Browser Display, and IE 10 Javascript exception found via debugger)
Event Type: Warning
Event Source: ASP.NET 4.0.30319.0
Event Category: Web Event
Event ID: 1309
Date: 5/7/2013
Time: 3:03:55 PM
User: N/A
Computer: IBT-2800
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/7/2013 3:03:55 PM
Event time (UTC): 5/7/2013 7:03:55 PM
Event ID: d59bd963e0f447e0a375367cb5b29cb9
Event sequence: 58
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1686273646/Root/MIS-8-130124268628101250
Trust level: Full
Application Virtual Path: /MIS
Application Path: C:\Buzz\iis_root\OLI\GardenAndGunClub\MIS2013\
Machine name: IBT-2800
Process information:
Process ID: 4872
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: Exception
Exception message: Invalid upload request.
at AjaxControlToolkit.AjaxFileUploadHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: https://www.gardenandgunclub.com:443/mis/AjaxFileUploadHandler.axd?contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&fileId=5ADA8FD3-EAFC-2D21-99FD-B2CBF6866D57&fileName=IMG_0770.JPG&usePoll=true&AspxAutoDetectCookieSupport=1
Request path: /mis/AjaxFileUploadHandler.axd
User host address: 207.99.40.148
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 15
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at AjaxControlToolkit.AjaxFileUploadHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Comments: Hi , I resolve the issue . What you need to do is Download the source code of anax control tool kit from Codplex.com and then open it to vs . Now you need to modify .js For that do the steps 1. Open Source code my solution file 2. Open Server By expanding projects in folder 3.Expand AjaxControlToolkit 4. Expand AjaxFileUpload 5. Click on AjaxFileUpload.Utils.pre.js 6. Comment the code //if (browser.name == "Microsoft Internet Explorer" && browser.version <= 10) // return false; (it is at the bottom bo JS ) the Bult the solution . 7.Copy Dll from Bin folder of AjaxControlToolkit You get the bin folder by right click on AjaxControlToolkit then select Open folder in File explorer . copy the dll AjaxControlToolkit and AjaxMin.dll will resolve the issue . I cannot attach dll with it as it is of more the 4 MB Attaching Modified dlls Hope this will help you . Thank you