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

"The request filtering module is configured to deny the file extension" on clicking an RadMenu item

0 Answers 88 Views
Menu
This is a migrated thread and some comments may be shown as answers.
mohan sanjeevi kumar
Top achievements
Rank 1
mohan sanjeevi kumar asked on 30 Aug 2013, 12:45 PM
Hi,

   I m using a Rad Menu with Version 2013.2.611.35, I use this control on an aspx page with menu items and need to load an user Control dynamically  based on the Menu item selected. The NavigateUrl property is being assigned with the control's path with a removable string
" # "
just like

  radMenuItem.NavigateUrl="controls/users/userlist.ascx#"

i extract the actual URL from the property by removing "#"  (its used to stay back in  same page with out navigating)

.aspx Page
 
<asp:Content ID="cntMenu" ContentPlaceHolderID="menuContentPlaceHolder" runat="Server">
    <telerik:RadMenu ID="TemplateRadMenu" runat="server" Skin="Silk" EnableRoundedCorners="true"
        EnableShadows="true" Flow="Horizontal">
        <Items>           
        </Items>
    </telerik:RadMenu>
     
</asp:Content>
<asp:Content ID="cntPages" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:PlaceHolder ID="phMain" runat="server"></asp:PlaceHolder>
   
</asp:Content>

i load the placeholder with the respective user control selected every time when a menu item is being clicked on by handling the MenuItem Click Event. This works fine for me in all Versions of IE(8-10) on IIS V 6.0.

But on IIS 7.0 and above only in IE 10 i came across an issue "The request filtering module is configured to deny the file extension
the requst is blocked since the extension is of type .ascx hence
i have set to true in the applicationHost config file found on the path %WinDir%system32/inetsrv/config/ for allowing the .ascx file extension like below

                    <add fileExtension=".ascx" allowed="True" />

but then i get the error "The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map" and stops me from processing further.

Does any one faced the same issue? Solution is eagerly awaited

 

No answers yet. Maybe you can help?

Tags
Menu
Asked by
mohan sanjeevi kumar
Top achievements
Rank 1
Share this question
or