|
From: Dann B. <dj...@ps...> - 2012-11-27 18:12:42
|
Mark, Have you added <section name ="cosign" overrideModeDefault="Allow" /> in the sectiongroup.system.webserver section of applicationhost.Config? Dann ----- Dann Bohn Systems Administrator VMHosting | vmhost.psu.edu dj...@ps... On Nov 27, 2012, at 1:05 PM, cos...@li... wrote: > Date: Wed, 7 Nov 2012 13:07:01 +0000 > From: "Mercado, Mark" <mam...@um...> > Subject: [Cosign-discuss] Cosign-3.1.1, IIS7, Windows Server 2008 R2 > 64-bit > To: "cos...@li..." > <cos...@li...> > Message-ID: > <7A2...@UM...> > Content-Type: text/plain; charset="us-ascii" > > Hello, > > Having problems getting Cosign-3.1.1 working with IIS7 under Windows Server 2008 R2 64-bit. After making an initial request the default app pool is stopped and I'm returned a 503 in the browser. > > I'm following the documentation on Penn State's site: > http://www.upenn.edu/computing/weblogin/docs/iis7_installation.html > > Everything works until the last step: > ========================================================================== > appcmd add module /name:"Cosign" /app.name:"<WEBSITE NAME AS IT APPEARS IN IIS>/" > ========================================================================== > > Which returns: > ========================================================================== > ERROR ( message:Configuration error MODULE > Filename: \\?\C:\inetpub\wwwroot\web.config > Line Number: 0 > Description: . ) > ========================================================================== > > The contents of C:\inetpub\wwwroot\web.conf are: > ========================================================================== > <?xml version="1.0" encoding="UTF-8"?> > <configuration> > <location path="cosign/valid"> > <system.webServer> > <cosign> > <protected status="off" /> > </cosign> > </system.webServer> > </location> > <system.webServer> > <cosign> > <protected status="on" /> > <service name="cosign-XXX" /> > </cosign> > <handlers> > <!-- Configure CosignModule.dll to handle /cosign/valid --> > <add name="Cosign Validation" path="/cosign/valid*" verb="*" modules="Cosign" resourceType="Unspecified" /> > </handlers> > </system.webServer> > </configuration> > ========================================================================== > > In the Event Viewer I see: > ========================================================================== > The Module name Cosign path CosignModule.dll returned an error from registration. The data is the error. > ========================================================================== > > Output from DebugView after issuing iisreset and hitting the site is: > ========================================================================== > [3240] 3388 iisutil!ReadMultiStringParameterValueFromAnyService [helpfunc.cxx @ 490]:Inetinfo: Failed reading registry value > [3240] Error(80070002): The system cannot find the file specified. > [3240] > [3240] [CosignModule] CosignModuleFactory constructed. > [3240] [CosignModule] Initializing CosignModule version 3.1.1 > [3240] [CosignModule] Could not get cosign admin section. system.webServer/cosign, MACHINE/WEBROOT/APPHOST. reason: Unknown error. > [3240] [CosignModule] Function: CosignModule.cpp > [3240] Line: 1438 > [3240] Error: 0x80070490 > [3240] [CosignModule] Element not found. > [3240] [CosignModule] Aw, snap! An error initializing! > [3240] [CosignModule] Error Initializing cosignmodule object. > [3240] 3388 iisutil!ReadMultiStringParameterValueFromAnyService [helpfunc.cxx @ 490]:Inetinfo: Failed reading registry value > [3240] Error(80070002): The system cannot find the file specified. > [3240] > [3240] [CosignModule] CosignModuleFactory constructed. > [3240] [CosignModule] Initializing CosignModule version 3.1.1 > [3240] [CosignModule] Could not get cosign admin section. system.webServer/cosign, MACHINE/WEBROOT/APPHOST. reason: Unknown error. > [3240] [CosignModule] Function: CosignModule.cpp > [3240] Line: 1438 > [3240] Error: 0x80070490 > [3240] [CosignModule] Element not found. > [3240] [CosignModule] Aw, snap! An error initializing! > [3240] [CosignModule] Error Initializing cosignmodule object. > [3240] 3388 w3wphost!WP_IPM::ReportListenerChannelStopped [wpipm.cxx @ 1660]:Report ListenerChannel stopped due to failure; ProtocolId:http, ListenerChannelId:0 > [3240] Error(80070490): Element not found. > ========================================================================== > > Any help greatly appreciated. > > Mark Mercado > UM-Flint ITS |