Unable to cast object of type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'

3 posts, 0 answers
  1. hkdave95
    hkdave95 avatar
    245 posts
    Member since:
    Nov 2006

    Posted 21 Sep 2007 Link to this post

    Hi

    I am currently getting this error on my web page.

    Do you have any idea why it might be happening ?

    my aspx is
    <%@ Page Language="VB" UICulture="en" Culture="en-GB" CodeFile="Default.aspx.vb" Inherits="_Default" %> 
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
     
    <%@ Register TagPrefix="dare" TagName="meta" Src="resources/meta.ascx" %> 
     
    <%@ Register assembly="RadAjax.Net2" namespace="Telerik.WebControls" tagprefix="radA" %> 
     
    <html xmlns="http://www.w3.org/1999/xhtml">  
    <head> 
        <title id="titleDefault" runat="server"></title> 
        <dare:meta id="meta" runat="server" /> 
        <link href="css/main.css" type="text/css" rel="Stylesheet" /> 
    </head> 
    <body id="bodyDefault" runat="server" class="bodyDefault">  
        <form id="formDefault" class="formDefault" runat="server">  
            <asp:ScriptManager EnablePartialRendering="true" ID="smDefault" runat="server" /> 
            <telerik:RadAjaxManager ID="ramDefault" runat="server">  
            </telerik:RadAjaxManager> 
            <radA:AjaxLoadingPanel ID="alpDefault" Runat="server" height="75px"   
                width="75px">  
                <asp:Image ID="imgLoading" runat="server" AlternateText="Loading..."   
                    ImageUrl="~/RadControls/Ajax/Skins/Default/Loading.gif" /> 
            </radA:AjaxLoadingPanel> 
            <telerik:RadWindowManager ID="rwmDefault" runat="server">  
            </telerik:RadWindowManager> 
            <telerik:RadScriptManager ID="rsmDefault" runat="server">  
            </telerik:RadScriptManager> 
            <telerik:RadToolTipManager ID="rttmDefault" runat="server">  
            </telerik:RadToolTipManager> 
            <telerik:RadSplitter ID="rsDefaultMain" runat="server" CssClass="rsDefaultMain" Height="100%" Width="100%" Orientation="Vertical" BackColor="Black" BorderWidth="0" PanesBorderSize="0">  
                <telerik:RadPane ID="rpDefaultLeftSlidingZone" runat="server" CssClass="rpDefaultLeftSlidingZone" Width="22px" Height="100%" Scrolling="None" BorderWidth="0">  
                    <telerik:RadSlidingZone ID="rszDefaultLeftSlidingZone" Runat="server"   
                        BorderColor="AntiqueWhite" BorderWidth="1" CssClass="rszDefaultLeftSlidingZone"   
                        Height="100%" Width="22px">  
                        <telerik:RadSlidingPane ID="rspDefaultLoginDS" runat="server"   
                        CssClass="rspDefaultLoginDS" Title="" Width="350px">  
                            <telerik:RadSplitter ID="rsDefaultLoginDS" runat="server"   
                        BorderWidth="0" CssClass="rsDefaultLoginDS" Height="100%"   
                        Orientation="Horizontal" PanesBorderSize="0" ResizeWithParentPane="false"   
                        Width="100%">  
                                <telerik:RadPane ID="rpDefaultLoginDS" runat="server"   
                        BorderWidth="0" CssClass="rpDefaultLoginDS" Height="100%" Scrolling="None"   
                        Width="100%">  
                                </telerik:RadPane> 
                            </telerik:RadSplitter> 
                        </telerik:RadSlidingPane> 
                        <telerik:RadSlidingPane ID="rspDefaultLoginDARE" runat="server"   
                        CssClass="rspDefaultLoginDARE" Title="" Width="350px">  
                            <telerik:RadSplitter ID="rsDefaultLoginDARE" runat="server"   
                        BorderWidth="0" CssClass="rsDefaultLoginDARE" Height="100%"   
                        Orientation="Horizontal" PanesBorderSize="0" ResizeWithParentPane="false"   
                        Width="100%">  
                                <telerik:RadPane ID="rpDefaultLoginDARE" runat="server"   
                        BorderWidth="0" CssClass="rpDefaultLoginDARE" Height="100%" Scrolling="None"   
                        Width="100%">  
                                </telerik:RadPane> 
                            </telerik:RadSplitter> 
                        </telerik:RadSlidingPane> 
                    </telerik:RadSlidingZone> 
                </telerik:RadPane> 
                <telerik:RadPane ID="rpDefaultPage" runat="server" CssClass="rpDefaultPage" Width="100%" Height="100%" Scrolling="None" BackColor="Black" BorderWidth="0">  
                    <telerik:RadSplitter ID="rsDefaultPage" runat="server" BackColor="Black"   
                        BorderWidth="0" CssClass="rsDefaultPage" Height="100%" Orientation="Horizontal"   
                        PanesBorderSize="0" ResizeWithParentPane="true" Width="96%">  
                        <telerik:RadPane ID="rpDefaultHeader" runat="server" BorderWidth="0"   
                        CssClass="rpDefaultHeader" Height="110px" Scrolling="None" Width="100%">  
                        </telerik:RadPane> 
                        <telerik:RadPane ID="rpDefaultContent" runat="server" BorderWidth="0"   
                        CssClass="rpDefaultContent" Scrolling="None" Width="100%">  
                        </telerik:RadPane> 
                        <telerik:RadPane ID="rpDefaultFooter" runat="server" BorderWidth="0"   
                        CssClass="rpDefaultFooter" Height="65px" Scrolling="None" Width="100%">  
                        </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </form> 
        <script language="javascript" type="text/javascript">  
            function funGetPane(sSplitter, sPane) {  
                var oPane = $find(sSplitter).getPaneById(sPane);  
                if (!oPane) return;  
                return oPane;  
            }  
        </script> 
    </body> 
    </html> 

    a working example can be found at http://daresoft.no-ip.co.uk/daresoft

    Kind Regards

    David
  2. Leon
    Leon avatar
    373 posts
    Member since:
    Apr 2007

    Posted 21 Sep 2007 Link to this post

    David,

    Does restarting the studio resolve the error? I've seen similar errors in the past but restarting the studio does it.

    By the way, I notice you have both Prometheus and standard RadAjax in the markup. Can you replace AjaxLoadingPanel with RadAjaxLoadingPanel from Prometheus RadAjax? I've read somewhere (don't remember where unfortunately) it is not recommended to include two AJAX frameworks in a single application. Some compatibility issue may arise.

    Hope this helps!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. hkdave95
    hkdave95 avatar
    245 posts
    Member since:
    Nov 2006

    Posted 22 Sep 2007 Link to this post

    Hi Leon

    Thanks for the reply.

    I have given up with VS 2008 Framework 3.5 for the time being.

    I was having too many problems.

    I am still having problems due t othe fact that my trusty development machine has become unreliable and I am now working on Vista with Multiple instances of Framework and VS2005 installed alongside VS 2008.

    Any way thanks again and hope my problems will be solvable in future.

    Kind Regards

    David
Back to Top