Lst Patrick
Lst Patrick

Reputation: 123

•Request filtering is configured for the Web server and the file extension for this request is explicitly denied

HTTP Error 404.7 - Not Found

The request filtering module is configured to deny the file extension.

I am using Visual studio 2013 web express. When I running Defalt.aspx its running fine but when i run materpage.master it throw me this error. I tried a lots of solution and its still not working( i tried to change the web.conf). Anyone know what can I do for this issues>?

code for web.conf

<configuration>

<connectionStrings>
    <add name="ConnectionString" connectionString="Provider=MSDAORA;Data Source=XE;Password=1234;User ID=System"
        providerName="System.Data.OleDb" />
    <add name="databaseString" connectionString="Provider=OraOLEDB.Oracle.1;Data Source=XE;Persist Security Info=True;Password=1234;User ID=system"
        providerName="System.Data.OleDb" />
    <add name="SOConnectionString" connectionString="Provider=OraOLEDB.Oracle.1;Data Source=XE;Persist Security Info=True;Password=1234;User ID=so"
        providerName="System.Data.OleDb" />
</connectionStrings>
<system.web>
  <compilation debug="true" targetFramework="4.5.1" />
  <httpRuntime targetFramework="4.5.1" />

</system.web>

Upvotes: 0

Views: 4283

Answers (1)

mason
mason

Reputation: 32719

You don't directly access master pages. You access a content page (.aspx) that references a master page.

Upvotes: 1

Related Questions