jpweber
  •  jpweber
  • 94.4% (Exalted)
  • YAF Commander Topic Starter
2012-05-02T14:24:52Z
I have 2 web.config files -- one in my root and one in my YAF /knowledgebase/ directory -- which I have converted to an application in IIS7.

Nevertheless, I still get the: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Users\Owner\Documents\Visual Studio 2010\WebSites\USS\knowledgebase\web.config 35

My /knowledgebase/ web.config line 35-38 is:
Quote:

<authentication mode="Forms">
<forms name=".YAFNET_Authentication" protection="All" timeout="43200"
cookieless="UseCookies"/>
</authentication>



My root web.config, which I'm sure is conflicting, is:
Quote:

<authentication mode="Windows">
<forms loginUrl="~/knowledgebase/" timeout="2880" />
</authentication>



I'm having the same issues with authentication as I am with roleManager. Since converting the directory to an application in IIS7 didn't work, is it possible to merge these web.configs? If so how would I go about doing so? Thanks!
Jason Weber
USS Vision YAF 
"Money is better than poverty, if only for financial reasons"
Sponsor

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved