Error in Web API after installing Telerik AJAX controls.

3 posts, 0 answers
  1. Jeff
    Jeff avatar
    8 posts
    Member since:
    May 2012

    Posted 12 Jun 2012 Link to this post

    Hello -

    I have a Web API project and ever since I installed the Telerik AJAX controls, I'm getting an error whenever I try to browse to the Web API URL. It was working previously. Also, I'm not using the RadUploadHandler anywhere, so I'm not sure where this is coming from. Here is the error I'm getting:

    Server Error in '/' Application.

    Could not load file or assembly 'Telerik.Windows.RadUploadHandler, Version=2011.2.920.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Windows.RadUploadHandler, Version=2011.2.920.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Windows.RadUploadHandler, Version=2011.2.920.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' 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].
    

    Stack Trace:

    [FileNotFoundException: Could not load file or assembly 'Telerik.Windows.RadUploadHandler, Version=2011.2.920.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.]
       System.Lazy`1.get_Value() +9587939
       System.Web.Http.WebHost.HttpControllerHandler.BeginProcessRequest(HttpContextBase httpContextBase, AsyncCallback callback, Object state) +133
       System.Web.Http.WebHost.HttpControllerHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) +48
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8970356
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
  2. Jeff
    Jeff avatar
    8 posts
    Member since:
    May 2012

    Posted 12 Jun 2012 Link to this post

    It appears this might be the Silverlight control? I have the Silverlight tools installed to support another developer's project, but they aren't being used at all in the project that's getting this error.
  3. DevCraft banner
  4. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 15 Jun 2012 Link to this post

    Hello Jeff,

    Indeed the Telerik.Windows.RadUploadHandler assembly is part of the Silverlight suite of controls and it is usually used to create an UploadHandler deriving from the RadUploadHandler class. Can you please examine your solution to see if it the RadUploadHandler class is used somewhere to create an HTTP handler?

    If you can't find a reference to the assembly or if the class isn't used in your solution, you can send us your project/solution so that we can investigate the case further on our side.

    Kind regards,
    Tina Stancheva
    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.
Back to Top