Could not create type 'SilverlightApplicationTelerik.Web.Handler1'.

2 posts, 0 answers
  1. Vladimir
    Vladimir avatar
    1 posts
    Member since:
    Nov 2010

    Posted 08 Feb 2011 Link to this post

    I am trying to develop generic upload handler for RadUpload control. Here is an error message:

    Server Error in '/' Application.

    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 create type 'SilverlightApplicationTelerik.Web.Handler1'.

    Source Error:

    Line 1: <%@ WebHandler Language="C#" CodeBehind="Handler1.ashx.cs" Class="SilverlightApplicationTelerik.Web.Handler1" %>

    Source File: /Handler1.ashx    Line: 1


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

    Here is source code which compiles just fine:

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    namespace SilverlightApplicationTelerik.Web
        public class MyHandler : Telerik.Windows.RadUploadHandler

    Reference to Telerik.Windows.RadUploadHandler was added to SilverlightApplicationTelerik.Web project (see attached image)

    Any ideas?

    Thank you in advance.

  2. Alex Fidanov
    Alex Fidanov avatar
    637 posts

    Posted 11 Feb 2011 Link to this post

    Hello Vladimir,

    The error shows that a type Handler1 cannot be found. As far as I can see from your screenshot, your RadUploadHandler is MyHandler and not Handler1. Perhaps you can try using MyHandler instead of Handler1. Let me know if I am missing something.

    Best wishes,
    Alex Fidanov
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top