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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationuncomment for impersonation in web.config results in 500 - internal server erroruncomment for impersonation in web.config results in 500 - internal server error
Previous
 
Next
New Post
8/24/2009 6:12 PM
 

Hello everyone.  My name is Doxey.  I am building an intranet site for my company.  I am trying to achieve active directory integration.  I got pretty close, one user was created, but no luck since then.  I've been really trying, reading and experimenting.  I think I need impersonation.  However when I modify the web.config to uncomment the <indentity impersonate="true" line, my site goes missing.  In my browser I get 500 - Internal server error.  Bummer.  If I replace the comment, I immediately get my site again.

Server 2008, IIS 7, IIS 6 Metabase compatibility installed, Community 5.01.01, AD Provider 5.00.02.  The only product I've installed is NukePress blog.

I am new to DNN.  I've been really trying and I know I'll get it but I've been 'round and 'round and I'm a little mixed up now.  I could start over if I have to.

Thanks in advance.
Doxey

 

 

 
New Post
8/25/2009 1:09 PM
 

 Well I like to say If it will stay broken I can fix it.  This problem is certainly not intermittant :)  If I uncomment the belowmentioned line(s) it generates the problem every time.

I tried commenting out some other code in web.config then uncommenting again, no problem there.  And I know I modified the web.config once before to input my sql server name and credentials and that was not a problem.

The instructions say to find the commented out section that starts with <indentity impersonate="true" and uncomment that line only.  I dont mean to be a dunce but does that mean this entire section?  Or really only that line of the code?

Anyway I've tried it both ways and the problem occurs.

 

Perhaps I miskeyed while typing in the credentials and the code is not good anymore.  Wish I had simply made a copy of web.config before I modified it.  Will do that in the future.  Could someone advise me exactly what this section in your web.config looks like?

Here's mine, commented out .  Did I step on something here?

 

 

<!-- <identity impersonate="true" userName="mydomain\myuser" password=”mypassword” />

<authentication mode="Windows">

</authentication>  -->

 

 
New Post
8/27/2009 11:17 PM
 

 Doxey, the line to uncomment is just the <identity impersonate... /> line. As for your 500 error. With IIS 7 and Server 2008 there's some issues that need to be taken care of. Take a looked at my pinned post at the top of the forum for a work-around.

 
New Post
8/28/2009 3:41 PM
 

 Thank you.  Do I uncomment at the end of that section?

Yes, I have closely studied that post and the documentation to which it points.

Mike Horton wrote

 A number of people have been having issues getting the AD provider working on Server 2008 even when following the documentation. I finally go a chance to setup a 2008 server today and do some testing. Below is what I found.

  1. The IIS 6 Metabase Compatibilty needs to be installed (I installed all but the IIS 6 Management console). Otherwise an error appears on the Settings page an the provider is unable to test whether the site is running under the correct pipeline.
  2. Impersonation has to be used (see the documentation for instructions on using impersonation).
  3. The user used in the impersonation has to be part of the administators group on the server.

1. I installed the iis 6 compatibility

2. Impersonation is where I'm having the trouble.  When I uncomment that line I get the error.

3. I made the impersonation user a member of the admin group on the server.

 

 
New Post
8/30/2009 6:05 PM
 

 Just the line with <impersonate=true.../> should be uncommented.

That section in a clean web.config looks like this:

<!--

    <identity impersonate="true"/>

    <authentication mode="Windows">

    </authentication>

    -->

Change it to look like this:

<identity impersonate="true" UserName="domain\user" password="password" />

    <!--

    <authentication mode="Windows">

    </authentication>

    -->

If you're still having problems you may have to do try using the tracing that's available in IIS 7 to try and find out where it's going sideways.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationuncomment for impersonation in web.config results in 500 - internal server erroruncomment for impersonation in web.config results in 500 - internal server error


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