Hi Mike,

Here is a extract of the web.config for my Central Admin Website, in the 
<system.web> tag you should have the <authentication> tag defined as shown 
below:

<system.web>
<securityPolicy>
<trustLevel name="WSS_Medium" policyFile="C:\Program Files\Common 
Files\Microsoft Shared\Web Server Extensions\12\config\wss_mediumtrust.config" 
/>
<trustLevel name="WSS_Minimal" policyFile="C:\Program Files\Common 
Files\Microsoft Shared\Web Server Extensions\12\config\wss_minimaltrust.config" 
/>
</securityPolicy>
<httpHandlers>
<remove verb="GET,HEAD,POST" path="*" />
<add verb="GET,HEAD,POST" path="*" 
type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, 
Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429c" />
<add 
verb="OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)"
 path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, 
Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429c" />
<add verb="*" path="Reserved.ReportViewerWebControl.axd" 
type="Microsoft.Reporting.WebForms.HttpHandler, 
Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a" />
</httpHandlers>
<customErrors mode="On" />
<httpRuntime maxRequestLength="51200" />
<authentication mode="Windows" />
<identity impersonate="true" />
<authorization>
<allow users="*" />
</authorization>
<httpModules>
...
...
...

Wes MacDonald
LIKE 10 INC.<http://www.like10.ca/>
1150 - 45 O'Connor Street
Ottawa, ON K1P 1A4

Microsoft MVP: Visual Developer - Team 
System<https://mvp.support.microsoft.com/profile/Wes.MacDonald> | 
Blog<http://wesmacdonald.spaces.live.com/> | Mobile: 613.219.7841 | Office: 
613.755.4055 | MSN<mailto:wesmacdon...@msn.com>
"Risk comes from not knowing what you're doing. " -- Warren Buffet
________________________________
From: ozmoss-boun...@ozmoss.com [ozmoss-boun...@ozmoss.com] On Behalf Of 
MacDonald, Mike [...@ibtteam.com]
Sent: Thursday, October 29, 2009 12:41 PM
To: ozMOSS
Subject: RE: Error when running config wizard

Can you provide me with more detail?  I am not a developer and really don’t 
like making changes to the web.config files.

If I send you a copy of the file will that help?

From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of 
Wes MacDonald
Sent: Friday, October 23, 2009 12:39 PM
To: ozMOSS
Subject: RE: Error when running config wizard

Your CA web.config should also have <Authentication mode="Windows" /> element 
set.

Wes

Wes MacDonald
LIKE 10 INC.<http://www.like10.ca/>
1150 - 45 O'Connor Street
Ottawa, ON K1P 1A4

Microsoft MVP: Visual Developer - Team 
System<https://mvp.support.microsoft.com/profile/Wes.MacDonald> | 
Blog<http://wesmacdonald.spaces.live.com/> | Mobile: 613.219.7841 | Office: 
613.755.4055 | MSN<mailto:wesmacdon...@msn.com>
"Risk comes from not knowing what you're doing. " -- Warren Buffet
________________________________
From: ozmoss-boun...@ozmoss.com [ozmoss-boun...@ozmoss.com] On Behalf Of 
MacDonald, Mike [...@ibtteam.com]
Sent: Friday, October 23, 2009 12:54 PM
To: ozmoss@ozmoss.com
Subject: Error when running config wizard

Hi all –

When we run the config wizard in wss we get the below error – we are running 
windows authentication on our default zone and FBA on the intranet zone.

An exception of type microsoft.sharepoint.SPException was thrown.  The web 
configuration file, C:\........., does not have element "Authentication" or it 
is invalid.

This is our Central Admin website and we get the error when running the SP 
config wizard, any ideas?

I searched the web.config file for “Authentication” and could only find..

Here is the first part - but I think this just has to do with an add- in i 
installed:

      <SafeControl Assembly="CKS.FormsBasedAuthentication, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=d0c9b215512a2c5d" Namespace="SPDevtools" 
TypeName="*" Safe="True" />
      <SafeControl Assembly="CKS.FormsBasedAuthentication, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=d0c9b215512a2c5d" 
Namespace="CKS.FormsBasedAuthentication" TypeName="*" Safe="True" />
      <SafeControl Assembly="CKS.FormsBasedAuthentication, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=d0c9b215512a2c5d" 
Namespace="CKS.FormsBasedAuthentication.HIP" TypeName="*" Safe="True" />

Here is the next part - We have a default SP site which uses windows 
authentication and then a intranet site that users form based.

<httpModules>
      <clear />
      <add name="SPRequest" 
type="Microsoft.SharePoint.ApplicationRuntime.SPRequestModule, 
Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, 
PublicKeyToken=71e9bce111e9429c" />
      <add name="OutputCache" type="System.Web.Caching.OutputCacheModule" />
      <add name="FormsAuthentication" 
type="System.Web.Security.FormsAuthenticationModule" />
      <add name="UrlAuthorization" 
type="System.Web.Security.UrlAuthorizationModule" />
      <add name="WindowsAuthentication" 
type="System.Web.Security.WindowsAuthenticationModule" />
      <add name="RoleManager" type="System.Web.Security.RoleManagerModule" />
      <!-- <add name="Session" 
type="System.Web.SessionState.SessionStateModule"/> -->
    </httpModules>

Mike MacDonald
Technology Analyst
Securian Financial Group
1(800)395-2774 opt4,4

_______________________________________________
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to