View Single Post
  #2 (permalink)  
Old November 29th, 2011, 02:11 PM
44kora44 44kora44 is offline
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Nov 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CA site Fix

Hello about your error for 500.19 using the code found in this book - that crashes the CA site.

This is because there is 2 listings of <rolemanger>
If you open up the web.config file of the CA site and delete out the old code and just leave the books code in the CA site will load.

This is the original code
<roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false">
<add name="c" type="Microsoft.SharePoint.Administration.Claims.S PClaimsAuthRoleProvider, Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

And you have to delete this entry and REPLACE it with
<roleManager defaultProvider="AspNetWindowsTokenRoleProvider" enabled="true" cacheRolesInCookie="false">
<add connectionStringName="SQLConnectionString" applicationName="/" description="Stores and retrieves roles from SQL Server" name="SQLRoleManager" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

Now if I could only figure out what else is wrong with the bunk code that this book provided