Dmitry Makovetskiyd
Dmitry Makovetskiyd

Reputation: 7053

My master page wont appear

    <authentication mode="Forms">
  <forms name="MyAppCookie" loginUrl="~/Registration.aspx" protection="All" timeout="30" path="/"/>
</authentication>
<authorization>
  <deny users="?"/>
  <allow users="*"/>
</authorization>

I added this code in the configuration file and the master page wont appear whenever i load my pages. Why and how can i fix this?

Another issue that i experience is when i go to Website---> ASP configuration,, no WAT window opens!?!

Upvotes: 1

Views: 425

Answers (1)

Chad
Chad

Reputation: 1562

I had to do this in the web.config for one of my sites:

   <location path="Scripts">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>
  <location path="Images">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>

Upvotes: 1

Related Questions