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

runtime RadControls App_Theme error after upgrade to AJAX framework

1 Answer 165 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
newb
Top achievements
Rank 1
newb asked on 14 Sep 2011, 06:47 PM

Not sure how to interpret this error... I'm getting it at runtime.  I recently upgraded the RadControls non-AJAX framework to the AJAX framework. 

FYI: these are the dlls we were using, if that gives you any clue, but they are now removed. 

If you need me provide anymore info, just ask.

C:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadAjax.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadCalendar.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadComboBox.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadEditor.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadGrid.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadInput.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadMenu.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadSpell.NET2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadSplitter.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadTabStrip.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadToolbar.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadTreeView.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadUpload.Net2.dll
C
:\source\clients\web\framework\_base\docs\admin\references\Telerik\RadWindow.Net2.dll

------------------------------------
Runtime Error:

Server Error in '/' Application.

Compilation Error

 

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30009: Reference required to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' containing the implemented interface 'System.Web.UI.IScriptControl'. Add one to your project.

Source Error:

Line 43:         Private Shared __initialized As Boolean
Line 44:         
Line 45: Private Shared __BuildControl__control2_skinKey As Object = System.Web.UI.PageTheme.CreateSkinKey(GetType(Telerik.Web.UI.RadEditor), "")Line 46:         
Line 47:         Private Shared __BuildControl__control5_skinKey As Object = System.Web.UI.PageTheme.CreateSkinKey(GetType(Telerik.Web.UI.RadEditor), "MinimalSetOfTools")

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\d1181b04\d55e5605\App_Theme_Default.9qs9avxh.0.vb    Line: 45


 

 

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618

 

..... some of the code above in the error is not visible.  Use this for more readability:

Line 43:         Private Shared __initialized As Boolean
Line 44:        
Line 45:         Private Shared __BuildControl__control2_skinKey As Object = System.Web.UI.PageTheme.CreateSkinKey(GetType(Telerik.Web.UI.RadEditor), "")
Line 46:        
Line 47:         Private Shared __BuildControl__control5_skinKey As Object = System.Web.UI.PageTheme.CreateSkinKey(GetType(Telerik.Web.UI.RadEditor), "MinimalSetOfTools")

1 Answer, 1 is accepted

Sort by
0
newb
Top achievements
Rank 1
answered on 15 Sep 2011, 09:53 PM
I figured this one out..

We have a web application project with a web.config in the root folder of our site.  That had an App_Themes folder.  We also had an admin folder containing all of our admin web application project (virtual directory) files.  That admin folder (admin project) also had an App_Themes folder.  Because our web.config in the root did not know what the skins were for, it threw the error.  I simply removed the files in the root App_Themes folder.  And left the virtual directory App_Themes folder.  We're only using Telerik Rad Controls in the admin project anyway.
Tags
General Discussions
Asked by
newb
Top achievements
Rank 1
Answers by
newb
Top achievements
Rank 1
Share this question
or