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

Disgusting display on IIS 6.0 and Windows Serveur 2003 for RadControls for ASP.NET AJAX Q3 2009

4 Answers 101 Views
Documentation and Tutorials
This is a migrated thread and some comments may be shown as answers.
Stephane
Top achievements
Rank 1
Stephane asked on 27 Nov 2009, 12:34 PM
Hi,

Y have a problem with the rendering of radcontrol under IIS 6.0 on WS 2003.

I post 4 pictures to show you my problem.

see the image 1 =>gooddisplay_iss7_ws_seven.jpg
configuration:
  • OS: Windows Seven
  • browser :IE 8
  • ISS : ISS 7

see the image 2 =>gooddisplay_iss6_ws_2003_firefox.jpg
configuration:
  • OS: Windows Serveur 2003
  • browser :FireFox 3.5.5
  • ISS : ISS 6

see the image 3 =>baddisplay_iss6_ws_2003.jpg
configuration:
  • OS: Windows Serveur 2003
  • browser :IE 8
  • ISS : ISS 6

see the image 4 =>gooddisplay_iss7_ws_seven_firefox.jpg
configuration:
  • OS: Windows Seven
  • browser :Firefox 3.5.5
  • ISS : ISS 7

Could you explain me why I have a difference?

Thanks.

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 27 Nov 2009, 01:29 PM
Hello Stephane,

Most probably you don't have the required web resource handlers in the web.config - they are different for IIS6 and IIS7. As a result, no Javascript files for the RadControls are registered on the page. The problem is not seen in Firefox, because there are some extra 100% widths there by design.

http://www.telerik.com/help/aspnet-ajax/registering_the_httphandlers_on_windows_vista_iis_7_integrated_mode.html

http://www.asp.net/AJAX/Documentation/Live/ConfiguringASPNETAJAX.aspx

Greetings,
Dimo
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.
0
Stephane
Top achievements
Rank 1
answered on 30 Nov 2009, 07:53 AM
Hi,
I check my web.config file and did'nt see any mistakes.

So Could you check again, please.

When I run under ISS7 and active "Compatibility mode" I have the same result like under ISS6 with IE8.
(see the attachements).
picture 1 =>baddisplay_iss7_ws_seven_ie8_cm_active.jpg
  • OS: Windows Seven
  • Browser :IE 8
  • ISS : ISS 7
  • Compatibility Mode : On

picture 2 =>gooddisplay_iss7_ws_seven.jpg
  • OS: Windows Seven
  • Browser :IE 8
  • ISS : ISS 7
  • Compatibility Mode : Off

Do you think is a problem about javascript files, or the code of the aspx page.

If you want I can send you the code of this page.

Thanks for advance for you help.


<?xml version="1.0" encoding="UTF-8"?> 
<!--  
    Note: As an alternative to hand editing this file you can use the  
    web admin tool to configure settings for your application. Use 
    the Website->Asp.Net Configuration option in Visual Studio. 
    A full list of settings and comments can be found in  
    machine.config.comments usually located in  
    \Windows\Microsoft.Net\Framework\v2.x\Config  
--> 
<configuration> 
    <configSections> 
        <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
        <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> 
    <connectionStrings> 
        <!-- 
        <add name="dbclassiMembership" connectionString="Data Source=servgedtest\SQLEXPRESS2008,1222;Initial Catalog=dbclassi;User ID=sa;Password=sbsstudio" 
            providerName="System.Data.SqlClient" /> 
        <add name="dbclassiConnectionString" connectionString="Data Source=servgedtest\SQLEXPRESS2008,1222;Initial Catalog=dbclassi;User ID=sa;Password=sbsstudio" 
            providerName="System.Data.SqlClient" /> 
            --> 
        <add name="dbclassiMembership" connectionString="Data Source=SBSSTUDIO01\MSSQLSERVER2008;Initial Catalog=dbclassi;Integrated Security=True" providerName="System.Data.SqlClient" /> 
        <add name="dbclassiConnectionString" connectionString="Data Source=SBSSTUDIO01\MSSQLSERVER2008;Initial Catalog=dbclassi;Integrated Security=True" providerName="System.Data.SqlClient" /> 
         
    </connectionStrings> 
    <appSettings> 
        <add key="dbcnxname" value="dbclassiConnectionString" /> 
    </appSettings> 
    <system.web> 
        <!-- 
        <trace enabled="true" pageOutput="true" requestLimit="10" traceMode="SortByTime" localOnly="true"/>
        --> 
        <trace enabled="false" pageOutput="false" requestLimit="10" traceMode="SortByTime" localOnly="true" /> 
        <!--  
            Set compilation debug="true" to insert debugging  
            symbols into the compiled page. Because this  
            affects performance, set this value to true only  
            during development. 
        --> 
        <compilation debug="true" defaultLanguage="c#"
            <assemblies> 
                <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.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
                <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <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.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <add assembly="System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
                <add assembly="System.Web.DynamicData, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
                <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
                <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
                <add assembly="System.ComponentModel.DataAnnotations, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /></assemblies
        </compilation> 
        <sessionState mode="InProc" cookieless="UseCookies" cookieName="ASP.NET_SessionId_Classi" timeout="720"
        </sessionState> 
        <membership defaultProvider="ClassiMemberShipProvider" userIsOnlineTimeWindow="720"
            <providers> 
                <clear /> 
                <add name="ClassiMemberShipProvider" type="Classi.Web.Security.ClassiMemberShipProvider" connectionStringName="dbclassiMembership" enablePasswordRetrieval="true" enablePasswordReset="true" requiresQuestionAndAnswer="false" writeExceptionsToEventLog="true" passwordFormat="Encrypted" requiresUniqueEmail="false" /> 
            </providers> 
        </membership> 
        <machineKey validationKey="35A742C5BBC18398B25C4E6C62EEA6F06B215F6D532F115E133761BDF591058961A4B531FAFB4DBB76A285776D3E3D114E3A18BE557B02BDD4BCB02B5D346073" decryptionKey="76C17F35C8D0B28F6F52150FEA8C5CDE159A381037306919" validation="SHA1" /> 
        <authorization> 
            <deny users="?" /> 
        </authorization> 
        <pages> 
            <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> 
        <!-- 
            The <authentication> section enables configuration  
            of the security authentication mode used by  
            ASP.NET to identify an incoming user.  
        --> 
        <authentication mode="Forms"
            <forms defaultUrl="Login.aspx" protection="All" timeout="720" cookieless="UseCookies" name=".ASPXAUTHCLASSI"
            </forms> 
        </authentication> 
        <!-- 
            The <customErrors> section enables configuration  
            of what to do if/when an unhandled error occurs  
            during the execution of a request. Specifically,  
            it enables developers to configure html error pages  
            to be displayed in place of a error stack trace. 
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"
            <error statusCode="403" redirect="NoAccess.htm" /> 
            <error statusCode="404" redirect="FileNotFound.htm" /> 
        </customErrors> 
        --> 
        <httpHandlers> 
            <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="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" /> 
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
        </httpHandlers> 
        <httpModules> 
            <add name="ScriptModule" 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" /> 
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
        </httpModules> 
        <httpRuntime maxRequestLength="2048000" executionTimeout="180" />        
    </system.web> 
    <system.codedom> 
        <compilers> 
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                <providerOption name="CompilerVersion" value="v3.5" /> 
                <providerOption name="WarnAsError" value="false" /> 
            </compiler> 
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
                <providerOption name="CompilerVersion" value="v3.5" /> 
                <providerOption name="OptionInfer" value="true" /> 
                <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" /> 
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> 
        </modules> 
        <handlers> 
            <remove name="WebServiceHandlerFactory-Integrated" /> 
            <remove name="ScriptHandlerFactory" /> 
            <remove name="ScriptHandlerFactoryAppServices" /> 
            <remove name="ScriptResource" /> 
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
            <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
            <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
            <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
            <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> 
        </handlers> 
        <security> 
            <requestFiltering> 
                <requestLimits maxAllowedContentLength="2097152000" /> 
            </requestFiltering> 
        </security> 
        <defaultDocument> 
            <files> 
                <add value="Home.aspx" /> 
            </files> 
        </defaultDocument> 
    </system.webServer> 
    <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> 
    <location path="CreateUserTemp.aspx"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="ForgetPassword.aspx"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="ChangePassword.aspx"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="ClassiWebService.asmx"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="ClassiRSWebService.asmx"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
            <httpRuntime executionTimeout="180" maxRequestLength="2048000" /> 
        </system.web> 
    </location> 
    <location path="MigrationClassi.asmx"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="ImageNotif.aspx"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="UploadDocNotif.aspx"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="Logo"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <location path="Images_notif"
        <system.web> 
            <authorization> 
                <allow users="*" /> 
            </authorization> 
        </system.web> 
    </location> 
    <system.serviceModel> 
        <behaviors> 
            <serviceBehaviors> 
                <behavior name="ClassiServicesBehavior"
                    <serviceMetadata httpGetEnabled="true" /> 
                    <serviceDebug includeExceptionDetailInFaults="false" /> 
                </behavior> 
            </serviceBehaviors> 
        </behaviors> 
        <services> 
            <service behaviorConfiguration="ClassiServicesBehavior" name="ClassiServices"
                <endpoint address="" binding="wsHttpBinding" contract="IClassiServices"
                    <identity> 
                        <dns value="localhost" /> 
                    </identity> 
                </endpoint> 
                <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> 
            </service> 
        </services> 
    </system.serviceModel> 
    <!--
    Add this from http://www.asp.net/AJAX/Documentation/Live/ConfiguringASPNETAJAX.aspx
    --> 
    <system.web.extensions> 
        <scripting> 
            <webServices> 
                <!-- Uncomment this line to customize maxJsonLength and add a  
         custom converter --> 
                <!-- 
      <jsonSerialization maxJsonLength="500"
        <converters> 
          <add name="ConvertMe"  
             type="Acme.SubAcme.ConvertMeTypeConverter"/> 
        </converters> 
      </jsonSerialization> 
      --> 
                <!-- Uncomment this line to enable the authentication service.  
           Include requireSSL="true" if appropriate. --> 
                <!--
      <authenticationService enabled="true" requireSSL = "true|false"/>
      --> 
 
                <!-- Uncomment these lines to enable the profile service. To  
           allow profile properties to be retrieved 
           and modified in ASP.NET AJAX applications, you need to add  
           each property name to the readAccessProperties and 
           writeAccessProperties attributes. --> 
                <!-- 
      <profileService enabled="true" 
        readAccessProperties="propertyname1,propertyname2" 
        writeAccessProperties="propertyname1,propertyname2" /> 
      --> 
            </webServices> 
            <!--  
    <scriptResourceHandler enableCompression="true"  
        enableCaching="true" /> 
    --> 
        </scripting> 
    </system.web.extensions> 
</configuration>
0
Stephane
Top achievements
Rank 1
answered on 01 Dec 2009, 04:32 PM
Hi,
someone can answer to my question or help me.

I don't find the problem.

So if someone have already see this problem, he can contact me.

Thanks.
0
Accepted
Dimo
Telerik team
answered on 02 Dec 2009, 01:16 PM
Hello Stephane,

Are you using RadControls older than Q1 2009 SP1 (2009.1.402) ? These do not work well in IE8 (standards mode), because the browser has not been released at that time, and there are some cross-browser issues. Please upgrade or trigger IE8 Compatibility mode unconditionaly.

Otherwise your web.config worked as expected on my side, but I had to remove some nodes, e.g. related to authentication.

If your problem persists, please open a formal support ticket and send us a complete runnable project, which exhibits the issue.

Regards,
Dimo
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.
Tags
Documentation and Tutorials
Asked by
Stephane
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Stephane
Top achievements
Rank 1
Share this question
or