开发者

My master page wont appear

开发者 https://www.devze.com 2023-03-07 23:16 出处:网络
<authentication mode=\"Forms\"> <forms name=\"MyAppCookie\" loginUrl=\"~/Registration.aspx\" protection=\"All\" timeout=\"30\" path=\"/\"/>
    <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 t开发者_开发技巧he 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!?!


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>
0

精彩评论

暂无评论...
验证码 换一张
取 消