This is a migrated thread and some comments may be shown as answers.

RadAsyncUpload broken in IIS7 integrated mode or controlRenderingCompatibilityVersion = "4.0"

7 Answers 221 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Brent
Top achievements
Rank 1
Brent asked on 26 Jun 2010, 04:59 AM
I have been having problems with a RadAsyncUpload control that was previously working in ASP.NET 3.5 after I converted imy app to ASP.NET 4.0.  I confirmed that all my web.config settings were correct.  When I selected a valid file, I would get the exclamation point as if I had chosen a file that failed validation.  I did not see any javascript errors in Firebug, and I had no error messages coming out of it.  I knew that the file I selected wasn't the problem, and no changes had happened in the code since the upgrade to .NET 4.0.  Changing IIS 7 to "classic mode" made it go away, but that was not an option for me.  Plus I knew that integrated mode shouldn't be the issue since I had all the appropriate web.config settings.  After a bit of trial and error, I found that if I set "controlRenderingCompatibilityVersion" in the web.config to 3.5, the error went away.

I wanted to post this to share it with the rest of the community, and alert Telerik to a potential bug.

7 Answers, 1 is accepted

Sort by
0
Brent
Top achievements
Rank 1
answered on 30 Jun 2010, 04:46 PM
I stand corrected.  It turns out that the root of my problem was "runtimeVersionv2.0" being in my httpHandlers declarations of my web.config.  This allowed it to work correctly in IIS 7 ASP.NET 4.0 classic mode, but not in IIS 7 ASP.NET 4.0 integrated mode.

Thanks to the Telerik gang for helping me out!
0
Edward Wallander
Top achievements
Rank 1
answered on 24 Nov 2011, 01:31 PM
The RadAsyncUpload is working fine with the environment Windows server 2003 with IIS 6.0. But now we have upgraded our environment with Windows server 2008 and IIS 7.0.


In this new environment, I checked the both classic and integrated mode of applicaiton pools and tried the way (http://www.telerik.com/community/forums/preview-thread/aspnet/upload/iis-7-and-the-progress-area.aspx#tForumTop) you suggested to do to make it works as perfect. But though we are getting the issue on uploading files.
 

I am just selecting a file. Instead of GREEN mark for the successful selection, It shows RED mark with the script error as attached. I have attached the screenshot. Please check it and help us to solve this issue asap.

0
Edward Wallander
Top achievements
Rank 1
answered on 28 Nov 2011, 07:55 AM
Can anyone from Telerik Support team help us for the previous post? We need to fix this issue in the production environment. So Please asap respond to fix the script issue.
0
Dimitar Terziev
Telerik team
answered on 28 Nov 2011, 12:02 PM
Hello Edward,

Please open a support ticket and provide us with your web config file.

Best wishes,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Pátria
Top achievements
Rank 1
answered on 28 May 2012, 08:44 PM
Hello people....

Any suggestions? I have the same problem...

My RadAsyncUpload not work in Windows 2008 with IIS7, only II6.

Error: Exception thrown and not caught.

Tks,

Renato
0
Pátria
Top achievements
Rank 1
answered on 29 May 2012, 06:36 PM
someone?
0
Pátria
Top achievements
Rank 1
answered on 30 May 2012, 04:50 PM
Ok. I found solution...

Was need set TemporaryFolder="~/Upload/" TemporaryFileExpiration="0".

Tks.

Renato
Tags
Upload (Obsolete)
Asked by
Brent
Top achievements
Rank 1
Answers by
Brent
Top achievements
Rank 1
Edward Wallander
Top achievements
Rank 1
Dimitar Terziev
Telerik team
Pátria
Top achievements
Rank 1
Share this question
or