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

Windows xp to windows 7 Enterprise

2 Answers 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anu
Top achievements
Rank 1
Anu asked on 19 Oct 2011, 04:47 AM

Hi,
I was able to compile the code and deploy in windows xp without any problem but when I compiled in Win 7 Enterprise and deployed on to IIS server it gave the server error saying it cannot load type 'Telerik.Web.UI.DialogHandler'.
can you please explain whether this error is due to Windows 7 introducing new http module tag <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>  in web.config or not?
 Please find the web.config error after deployment in production server , as of now I have rolled back all the \bin\compiled items. Please help me out. Do I have to copy the app. Telerik DLL in bin folder or register it in Global assembly cache (GAC) using GACUtil.exe in prod IIS server.

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

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 19 Oct 2011, 05:39 AM
Hello Anu,

I hope the following help document will help you to solve the issue.
Registering the HttpHandlers on Windows Vista IIS 7 Integrated mode.

Thanks,
Shinu.
0
Anu
Top achievements
Rank 1
answered on 19 Oct 2011, 01:58 PM
Shinu,
I already do have   DialogHandler tag inside handlers tag

<add name="Telerik.Web.UI.DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>

But only new additional tag I do see after compiling in my Win 7 machine is RadCompression.
  <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="RadCompression" type="Telerik.Web.UI.RadCompression"/>
  </modules>

<httpModules>
   <!--<remove name="ScriptModule"/>-->
   <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
   <!--<add name="ScriptModule" type="Microsoft.Web.UI.ScriptModule, Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>-->
   <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
  </httpModules>

RadCompression tag was not there before and underneath  <handlers> tag WebResource tag was commented add and its also a new entry when compared to my previous Windows XP compile (I now have Win 7 machine).

<!--<add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2009.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>-->

Anu
Tags
General Discussions
Asked by
Anu
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Anu
Top achievements
Rank 1
Share this question
or