SharePoint 2010 'Telerik.Web.UI' could not be loaded.

9 posts, 0 answers
  1. Brad
    Brad avatar
    3 posts
    Member since:
    Sep 2010

    Posted 01 Sep 2010 Link to this post

    Hi -

    I have:
    Installed AJAX
    Installed RadControls_for_ASP.NET_AJAX_2010_1_519_dev.msi
    Added a RadGrid to a web part
    Complied and deployed using VS 2010

    On runtime I get:

    Parser Error

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

    Parser Error Message: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 7:  <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    Line 8:  <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SubmittalUserControl.ascx.cs" Inherits="Tribridge_PM_Portal.Submittal.SubmittalUserControl" %>
    Line 9: <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>Line 10: 
    Line 11: <script type="text/javascript" language="javascript">

    Source File: /_CONTROLTEMPLATES/Tribridge_PM_Portal/Submittal/SubmittalUserControl.ascx    Line: 9

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

    One issue may be that I do not see two required dll's in the GAC.

    Telerik.Ajax.SharePoint.dll and RadEditorSharePoint.dll.

    I do not see these anywhere in the Rad install path or on my hard drive either.

    Please advise where these are located.

    I noticed when I ran the Telerik installer it did not update the GAC or sp web.config either.

    Thank you.




  2. Sebastian
    Admin
    Sebastian avatar
    9834 posts
    Member since:
    Sep 2012

    Posted 01 Sep 2010 Link to this post

    Hello Brad,

    It seems that you are using an older unofficial version of our Telerik AJAX controls for SharePoint 2010 installation. The first official version of our SharePoint 2010 Ajax installer is announced with the Q2 2010 release of the suite.

    Can you please switch to the latest release of our SharePoint 2010 AJAX web parts (available for download under your account, with Telerik.Web.UI version number 2010.2.826) to see whether this helps? Let us know how it goes.

    Kind regards,
    Sebastian
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

  3. Brad
    Brad avatar
    3 posts
    Member since:
    Sep 2010

    Posted 01 Sep 2010 Link to this post

    I download that and try again.

    Thanks for the quick reply.

    Brad

  4. Brad
    Brad avatar
    3 posts
    Member since:
    Sep 2010

    Posted 11 Nov 2010 Link to this post

    Hi -

    I am still getting an error using a newer package.  Please advise on what I can do.  I cannot get the RadGrid to load in my Visual Web Part in SharePoint 2010.

    The 'Telerik.Web.UI' version in the GAC, project bin is: 2010.3.1109.3

    System.Web.HttpParseException was unhandled by user code
      Message=Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.
      Source=System.Web
      ErrorCode=-2147467259
      FileName=C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\template\controltemplates\GMS_Portal\Sub-Grantee\Sub-GranteeUserControl.ascx
      Line=9
      VirtualPath=/_CONTROLTEMPLATES/GMS_Portal/Sub-Grantee/Sub-GranteeUserControl.ascx
      StackTrace:
           at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
           at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath)
           at System.Web.UI.TemplateParser.ParseInternal()
           at System.Web.UI.TemplateParser.Parse()
           at System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType()
           at System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider)
           at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders()
           at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
           at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
           at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
           at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
           at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
           at GMS_Portal.Sub_Grantee.Sub_Grantee.CreateChildControls()
           at System.Web.UI.Control.EnsureChildControls()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Control.PreRenderRecursiveInternal()
           at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
      InnerException: System.Web.HttpParseException
           Message=Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.
           Source=System.Web
           ErrorCode=-2147467259
           Line=0
           StackTrace:
                at System.Web.UI.TemplateParser.ProcessException(Exception ex)
                at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
                at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding)
           InnerException: System.IO.FileNotFoundException
                Message=Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified.
                Source=mscorlib
                FileName=Telerik.Web.UI
                FusionLog==== Pre-bind state information ===
    LOG: User = NT AUTHORITY\NETWORK SERVICE
    LOG: DisplayName = Telerik.Web.UI
     (Partial)
    LOG: Appbase = file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/
    LOG: Initial PrivatePath = C:\inetpub\wwwroot\wss\VirtualDirectories\80\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config
    LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet.config
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/b8374631/416399a4/Telerik.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/b8374631/416399a4/Telerik.Web.UI/Telerik.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/bin/Telerik.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/bin/Telerik.Web.UI/Telerik.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/_app_bin/Telerik.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/_app_bin/Telerik.Web.UI/Telerik.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/b8374631/416399a4/Telerik.Web.UI.EXE.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/Temporary ASP.NET Files/root/b8374631/416399a4/Telerik.Web.UI/Telerik.Web.UI.EXE.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/bin/Telerik.Web.UI.EXE.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/bin/Telerik.Web.UI/Telerik.Web.UI.EXE.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/_app_bin/Telerik.Web.UI.EXE.
    LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/wss/VirtualDirectories/80/_app_bin/Telerik.Web.UI/Telerik.Web.UI.EXE.

                StackTrace:
                     at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
                     at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
                     at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
                     at System.Reflection.Assembly.Load(String assemblyString)
                     at System.Web.Configuration.CompilationSection.LoadAssembly(String assemblyName, Boolean throwOnFail)
                     at System.Web.UI.TemplateParser.AddAssemblyDependency(String assemblyName, Boolean addDependentAssemblies)
                     at System.Web.UI.MainTagNameToTypeMapper.ProcessTagNamespaceRegistrationCore(TagNamespaceRegisterEntry nsRegisterEntry)
                     at System.Web.UI.BaseTemplateParser.ProcessDirective(String directiveName, IDictionary directive)
                     at System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding)
                InnerException:

     

  5. Sebastian
    Admin
    Sebastian avatar
    9834 posts
    Member since:
    Sep 2012

    Posted 12 Nov 2010 Link to this post

    Hello Brad,

    In case you used the automatic SharePoint 2010 msi installer it should automatically add proper references to the Telerik.Web.UI assembly in your SharePoint 2010 sites. To register the assembly manually, follow the instructions from this help topic. This should help you eliminate the exception.
     
    Best regards,
    Sebastian
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

  6. Sean
    Sean avatar
    4 posts
    Member since:
    Dec 2010

    Posted 23 Dec 2010 Link to this post

    I don't mean to hijack this thread, but where do you get the msi installer for SharePoint 2010? I am evaluating now and do not see it.

    Regards,

    Sean

  7. Sebastian
    Admin
    Sebastian avatar
    9834 posts
    Member since:
    Sep 2012

    Posted 23 Dec 2010 Link to this post

    Hello Sean,

    The SharePoint 2010 AJAX installer is located in the RadControls for ASP.NET AJAX product files download as illustrated in the screenshot from this KB article.

    Best regards,
    Sebastian
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  8. Sean
    Sean avatar
    4 posts
    Member since:
    Dec 2010

    Posted 23 Dec 2010 Link to this post

    I got to the second step in the KB, but unfortunately there is no "Browse All Product Files" at that location. Is that because I have the trial version?

  9. Sebastian
    Admin
    Sebastian avatar
    9834 posts
    Member since:
    Sep 2012

    Posted 23 Dec 2010 Link to this post

    Hello Sean,

    This might be the case if you downloaded a free trial of the entire Ultimate Collection zip package. In this case the Telerik AJAX SharePoint installer should be part of the zip file. Otherwise you should be able to browse all product files by navigating from the 'RadControls for ASP.NET AJAX' section on this page.

    Kind regards,
    Sebastian
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top