Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Admin tab missingAdmin tab missing
Previous
 
Next
New Post
1/9/2008 5:59 PM
 

Had the same error myself and this fix worked great. Any clue what the error is?

 
New Post
1/9/2008 6:02 PM
 

I tried that, but no luck.  Does the path of the cookie need to change because my site is running in a subfolder of the wwwroot?  For instance, the default setting has a cookiePath="/", but my website is running in a virtual directory called "deployments".  So should the cookie path need to change?  Also, when I login, the Login link is still in the top right of the page.  Shouldn't there be a logout link instead, if I successfully logged in?

<

anonymousIdentification enabled="true" cookieName=".ASPXANONYMOUS" cookieTimeout="100000" cookiePath="/deployments/" cookieRequireSSL="false" cookieSlidingExpiration="true" cookieProtection="None" domain="" />

 
New Post
1/14/2008 8:32 PM
 

I fixed the problem.  I isolated the problem to settings inheritance from the root web application's web.config.

I had to override two settings sections in the web.config in the dnn root directory to get the DNN login working correctly.  I overrode the parent folder's <authorization> section:

  <authorization>
    <deny users="?"/>
  </authorization>

I also had to override a duplicate httpModule ScriptModule reference from the parent folder's web.config, to get the website running:

  <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

The added two entries in my DNN site's web.config that look like this:

<system.web>

  <httpModules>
    <!-- Be careful not to use the <clear /> tag here!  That breaks the login process. -->
    <remove name="ScriptModule" />

  </httpModules>

  <authorization>
    <allow users="*,?" />
  </authorization>

</system.web>

A good troubleshooting tool for your web.config settings can be found in IIS, under the ASP.NET tab of the virtual directory's properties.  There, you can click on "Edit Configuration" to view not only the settings from the web.config file in the current virtual folder, but also all inherited settings from the upstream heirarchy, including the root IIS directory's web.config.   That way you can see the accumulated web.config settings from the entire inheritance heirarchy.

 
New Post
12/13/2008 7:50 PM
 

Okay - I'm having the exact same problem but your solution did not resove it as the inherited web.config parameters don't seem to have any of these entries.  Does anyone have any more news on this topic?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Admin tab missingAdmin tab missing


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out