Could not load type 'Telerik.Web.UI.RadUploadHttpModule'

Thread is closed for posting
16 posts, 0 answers
  1. Mohammed Imaduddin
    Mohammed Imaduddin avatar
    24 posts
    Member since:
    Jul 2009

    Posted 14 Aug 2009 Link to this post

    I just upgraded from Telerik 2009.1.527.35 to Telerik 2009.2.701.35. My visual studio shows toolbox for both versions.

    More than half of my pages use the older version. So I changed the binding in web config to point to the new version.  Problem was, if I added a control from the new toolbox, I got a Error Rendering Control error in VS2008. To get around it, I installed the Telerik 2009.2.701.35 in the gac. That fixed my Error Rendering Control issue. But now I have two Telerik DLLs in the gac, albeit  they are different versions.

    One of my older pages has an upload control on it, and so there is the following entry in my web.config

    <

     

    add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />

     


    Everything compiles fine. I do not get any design time errors. Problem is, when I run the site from VS2008 in debug mode, I get the following error
    Parser Error Message: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'.

    Source Error:

    Line 86:     <httpModules>
    Line 87:       <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    Line 88: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />Line 89:     </httpModules>
    Line 90:   </system.web>

    I noticed that if I take the newer dll out of the gac, this problem goes away but I get the "Error rendering control" error back.

    Could someone tell me, what is the right solution to this issue. I am assuming the system is getting confused between the two Upload Modules, but I do not know how to force it to point to one or the other.

    Can someone please shed some light?
  2. Mohammed Imaduddin
    Mohammed Imaduddin avatar
    24 posts
    Member since:
    Jul 2009

    Posted 14 Aug 2009 Link to this post

    Incase someone else runs into this issue

    I resolved it by adding the following line in the
    <assemblies> section in web.config

    <

     

    add assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

     

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eugene Roeder
    Eugene Roeder avatar
    5 posts
    Member since:
    Nov 2009

    Posted 23 Dec 2009 Link to this post


    How do we find the Version number and public key information for the Telerik.Web.UI assembly?
  5. Mohammed Imaduddin
    Mohammed Imaduddin avatar
    24 posts
    Member since:
    Jul 2009

    Posted 23 Dec 2009 Link to this post

    Just do a right click on the Telerik.Web.UI dll -->goto Properties--> then look at the version tab
  6. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 24 Dec 2009 Link to this post

    Hi Mohammed Imaduddin,

    You have done the correct thing. When there are several Telerik.Web.UI assemblies in the GAC you need to fully qualify your assembly reference, otherwise an ambiguous reference might occur.

    All the best,
    Genady Sergeev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Rivkah
    Rivkah avatar
    2 posts
    Member since:
    Nov 2010

    Posted 16 Nov 2010 Link to this post

    I get this error would this help my problem also:

    add assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>



    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load type 'Telerik.Web.UI.RadUploadHttpModule'. (e:\HostingSpaces\kolh123\kolhaaretz.org\wwwroot\web.config line 99)

    Source Error:

    Line 97:             <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    Line 98:             <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor" />
    Line 99: <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />Line 100:            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
    Line 101:  

    Source File: e:\HostingSpaces\kolh123\kolhaaretz.org\wwwroot\web.config    Line: 99


  8. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 17 Nov 2010 Link to this post

    Hi Rivkah,

    You are experiencing precisely the same problem. Please make sure that you have correct reference to Telerik.Web.UI added to your web app.

    Kind regards,
    Genady Sergeev
    the Telerik team
    Browse the vast support resources we have to jumpstart 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.
  9. Rivkah
    Rivkah avatar
    2 posts
    Member since:
    Nov 2010

    Posted 19 Nov 2010 Link to this post

    So if I add this piece of code will it fix it:

    add assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>


    When I do properties I can get the version but it does not show the public key.

    Here is my web.config file:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <configSections>
            <sectionGroup name="System.Web.Extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                        <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
                        <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                        <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                        <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
                    </sectionGroup>
                </sectionGroup>
            </sectionGroup>
        </configSections>
        <appSettings>
            <add key="connectionString" value="data source=204.93.178.45;database=kolh123_kolhaaretz;uid=kolh123_db123;password=kh90100" />
            <add key="applicationName" value="Kol HaArez" />
            <add key="domain" value="kolhaaretz.org" />
            <add key="Common_TextBoxWrapperDisplayMode" value="cuteeditor" />
            <add key="defaultAdminDirection" value="rtl" />
            <add key="menuCookieName" value="__currentNode_" />
            <add key="Files_PATH" value="~/uploadImages/systemFiles/" />
            <add key="loginPage" value="~/admin/login.aspx" />
            <!-- Statistics settings -->
            <add key="statisticsLink" value="" />
            <add key="statisticsSiteID" value="admin" />
            <add key="statisticsUserName" value="admin" />
            <add key="statisticsPassword" value="" />
            <!-- Debug settings -->
            <add key="debug" value="false" />
            <add key="debugErrors" value="false" />
            <add key="AdminSMTPMail" value="" />
            <add key="AdminEmailMail" value="" />
            <add key="AdminSMTPMailFrom" value="" />
            <add key="adminEmail" value="bpss78@gmail.com" />
            <!-- Email settings -->
            <add key="SMTPMail" value="mail.bpss.co.il" />
            <add key="userMail" value="" />
            <add key="userPassword" value="" />
            <!-- Features settings -->
            <add key="XletterEnabled" value="false" />
            <add key="GoogleEnabled" value="true" />
            <add key="EnableSecurePages" value="true" />
            <add key="MultiLanguageEnabled" value="false" />
            <!-- Static pages Id's-->
            <add key="TopMenuID" value="1482" />
            <add key="OrdersIndexPageMainID" value="3648" />
            <add key="ArticlesIndexPageMainID" value="3689" />

            <add key="Telerik.ScriptManager.TelerikCdn" value="Enabled" />
            <add key="Telerik.StyleSheetManager.TelerikCdn" value="Enabled" />
        </appSettings>
        <connectionStrings />
        <system.web>
            <httpRuntime useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" maxRequestLength="202400" executionTimeout="2200" />
            <compilation debug="false">
                <assemblies>
                    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                    <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                    <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                    <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                </assemblies>
            </compilation>
            <authentication mode="Windows" />
            <customErrors mode="Off">
            </customErrors>
            <httpHandlers>
                <add path="BannersHandler.axd" verb="GET" type="bpss.HttpHandlers.BannersHandler, bpss" />
                <add path="Thumbnail.axd" verb="GET" type="bpss.HttpHandlers.Thumbnail, bpss" />
                <add path="SiteMap.aspx" verb="GET" type="bpss.HttpHandlers.SiteMapHandler, bpss" />
                <remove verb="*" path="*.asmx" />
                <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
                <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
                <add verb="GET" path="GetFile.axd" type="bpss.HttpHandlers.GetFile, bpss" />
                <add verb="GET" path="SecureThumbnail.axd" type="bpss.HttpHandlers.SecureThumbnail, bpss" />
                <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
                <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
                <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
                <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
            </httpHandlers>
            <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" uiCulture="en-GB" />
            <pages enableEventValidation="false" validateRequest="false">
                <controls>
                    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
                </controls>
            </pages>
            <httpModules>
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor" />
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
                <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
     
            </httpModules>
        </system.web>
        <system.codedom>
            <compilers>
                <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                    <providerOption name="CompilerVersion" value="v3.5" />
                    <providerOption name="WarnAsError" value="false" />
                </compiler>
            </compilers>
        </system.codedom>
        <!--
            The system.webServer section is required for running ASP.NET AJAX under Internet
            Information Services 7.0.  It is not necessary for previous version of IIS.
        -->
        <system.webServer>
            <validation validateIntegratedModeConfiguration="false" />
            <modules>
                <remove name="ScriptModule" />
                <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode,runtimeVersionv2.0" />
                <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode,runtimeVersionv2.0" />
            </modules>
            <security>
                <requestFiltering>
                    <requestLimits maxAllowedContentLength="207257600" />
                </requestFiltering>
            </security>
            <directoryBrowse enabled="true" />
            <defaultDocument>
                <files>
                    <clear />
                    <add value="default.aspx" />
                    <add value="index.php" />
                    <add value="index.aspx" />
                    <add value="global.asax" />
                    <add value="global.asax.cs" />
                    <add value="ImageView.aspx" />
                    <add value="ImageView.aspx.cs" />
                    <add value="ImageView.aspx.designer.cs" />
                    <add value="kh.4.5.resharper.user" />
                    <add value="kh.5.0.ReSharper.user" />
                    <add value="kh.csproj" />
                    <add value="kh.csproj.user" />
                    <add value="kh.csproj.vspscc" />
                    <add value="kh.sln" />
                    <add value="kh.vssscc" />
                    <add value="licenses.licx" />
                    <add value="mssccprj.scc" />
                    <add value="PrintCache.aspx" />
                    <add value="PrintCache.aspx.cs" />
                    <add value="PrintCache.aspx.designer.cs" />
                    <add value="Rss.aspx" />
                    <add value="Rss.aspx.cs" />
                    <add value="Rss.aspx.designer.cs" />
                    <add value="Web.config" />
                    <add value="index.aspx.cs" />
                    <add value="index.aspx.designer.cs" />
                </files>
            </defaultDocument>
        </system.webServer>
        <startup>
            <supportedRuntime version="v2.0.50727" />
        </startup>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <dependentAssembly>
                    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
                    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
                </dependentAssembly>
                <dependentAssembly>
                    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
                    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
                </dependentAssembly>
            </assemblyBinding>
        </runtime>
    </configuration>

  10. Anu
    Anu avatar
    4 posts
    Member since:
    Oct 2011

    Posted 18 Oct 2011 Link to this post

     

    Hi ,

    I am getting "Could not load type 'Telerik.Web.UI.DialogHandler" from web.config  after I deployed the compiled bin folder items on to IIS7.0 server. Please find the configuration error. IF any one can help me in figuring it out that woul be great. I do not have problem launching the applciation from VS 2008 from my windows 7 machine. But if the same compiled code is moved (entire bin folder) to server without any change to web.config file it errors out .Any guess?

     

    Server Error in '/' Application.


    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load type 'Telerik.Web.UI.DialogHandler'.

    Source Error:

    Line 110:			<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    Line 111:			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
    Line 112: <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler"/>Line 113:      <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
    Line 114:      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" />

    Source File: D:\inetpub\azcollectorsguide\web.config    Line: 112


    Version Information: Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618
  11. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 21 Oct 2011 Link to this post

    Hello Anu,

    Which version is your application running under? What is the IIS application pool? Apart from this, please bullet proof check that the compiled bin folder contains the Telerik.Web.UI assembly.
     
    Best wishes,
    Genady Sergeev
    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
  12. Alex
    Alex avatar
    3 posts
    Member since:
    Oct 2012

    Posted 09 Oct 2012 Link to this post

    Hi,

    what is the publickey of <add assembly="Telerik.Web.UI, Version=2012.2.912.40, Culture=neutral, PublicKeyToken= ????

    thanks,

    Alex
  13. Alex
    Alex avatar
    3 posts
    Member since:
    Oct 2012

    Posted 09 Oct 2012 Link to this post

    HI,

    When I tried to add a service reference, I got an error:

    There was an error downloading 'http://localhost:49573/MyWebService.asmx'.
    The request failed with the error message:
    --
    <html>
        <head>
            <title>Parser Error</title>
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Lucida Console";font-size: .9em}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
            </style>
        </head>

        <body bgcolor="white">

                <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>

                <h2> <i>Parser Error</i> </h2></span>

                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

                <b> Description: </b>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.
                <br><br>

                <b> Parser Error Message: </b>Could not create type 'RadControlsWebApp.MyWebService'.<br><br>

                <b>Source Error:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>

    <font color=red>Line 1:  <%@ WebService Language="C#" CodeBehind="MyWebService.asmx.cs" Class="RadControlsWebApp.MyWebService" %>
    </font></pre></code>

                      </td>
                   </tr>
                </table>

                <br>

                <b> Source File: </b> /MyWebService.asmx<b>    Line: </b> 1
                <br><br>

                <hr width=100% size=1 color=silver>

                <b>Version Information:</b> Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

                </font>

        </body>
    </html>
    <!--
    [HttpParseException]: Could not create type 'RadControlsWebApp.MyWebService'.
       at System.Web.UI.SimpleWebHandlerParser.GetType(String typeName)
       at System.Web.UI.SimpleWebHandlerParser.GetTypeToCache(Assembly builtAssembly)
       at System.Web.Compilation.SimpleHandlerBuildProvider.GetGeneratedType(CompilerResults results)
       at System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results)
       at System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results)
       at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath)
       at System.Web.UI.WebServiceParser.GetCompiledType(String inputFile, HttpContext context)
       at System.Web.Services.Protocols.WebServiceHandlerFactory.GetCompiledType(String url, HttpContext context)
       at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
       at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
       at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    -->
    --.
    Metadata contains a reference that cannot be resolved: 'http://localhost:49573/MyWebService.asmx'.
    An error occurred while receiving the HTTP response to http://localhost:49573/MyWebService.asmx. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.
    The underlying connection was closed: An unexpected error occurred on a receive.
    Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
    An existing connection was forcibly closed by the remote host
    If the service is defined in the current solution, try building the solution and adding the service reference again.


    Please help me,

    Thanks,

    Alex
  14. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 12 Oct 2012 Link to this post

    Hi Alex,

    Did you follow the steps suggested in the troubleshooting information? The issue that you face is not directly related to the telerik controls and looks more like configuration/compilation issue of the very  web service.

    All the best,
    Genady Sergeev
    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.
  15. Mark
    Mark avatar
    2 posts
    Member since:
    Sep 2011

    Posted 24 Jan 2013 Link to this post

    You can find the PublicKeyToken by using Telerik Just Decompile but having done this and adding the above mentioned assembly references into the web.config it still fails
  16. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 29 Jan 2013 Link to this post

    Hi Mark,

    Could you please clarify to which problem do you refer? What is the exact problem that you are facing?

    Greetings,
    Genady Sergeev
    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.
  17. Mark
    Mark avatar
    2 posts
    Member since:
    Sep 2011

    Posted 29 Jan 2013 Link to this post

    The problem is the Open Access upgrade references which works intermittently. I have resolved the issue by ignoring this option in Telerik and manually upgrading all references.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017