You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did the Chef run with a log level of default and I've attached the part where the App Pool is created. The error seems to come when configure method is called. For now I can correct this by setting the app pool to v4.0 and running a command script to fix it, but this is not ideal.
Debug Trace:
==> web: * iis_pool[skynet] action add[2016-01-15T07:55:43-08:00] INFO: Processing iis_pool[skynet] action add (skynet::app line 18)
==> web: [2016-01-15T07:55:43-08:00] DEBUG: Providers for generic iis_pool resource enabled on node include: [LWRP provider iis_pool from cookbook iis]
==> web: [2016-01-15T07:55:43-08:00] DEBUG: Provider for action add on resource iis_pool[skynet] is LWRP provider iis_pool from cookbook iis
==> web: [2016-01-15T07:55:44-08:00] DEBUG: iis_pool[skynet] list apppool command output: APPPOOL ".NET v4.5 Classic" (MgdVersion:v4.0,MgdMode:Classic,state:Started)
==> web:
==> web: APPPOOL ".NET v4.5" (MgdVersion:v4.0,MgdMode:Integrated,state:Started)
==> web:
==> web:
==> web: [2016-01-15T07:55:44-08:00] DEBUG: iis_pool[skynet] current_resource match output:
==> web: [2016-01-15T07:55:44-08:00] DEBUG: C:\Windows\System32\inetsrv\appcmd.exe add apppool /name:"skynet" /managedRuntimeVersion:"" /commit:"MACHINE/WEBROOT/APPHOST"
==> web: [2016-01-15T07:55:45-08:00] DEBUG: C:\Windows\System32\inetsrv\appcmd.exe list apppool "skynet" /config:* /xml
==> web: [2016-01-15T07:55:45-08:00] DEBUG: C:\Windows\System32\inetsrv\appcmd.exe set config /section:applicationPools "/[name='skynet'].startMode:AlwaysRunning" "/[name='skynet'].managedRuntimeVersion:""" "/[name='skynet'].processModel.loadUserProfile:true" "/[na
==> web: me='skynet'].recycling.logEventOnRecycle:PrivateMemory,Memory,Schedule,Requests,Time,ConfigChange,OnDemand,IsapiUnhealthy"
==> web: [2016-01-15T07:55:45-08:00] INFO: iis_pool[skynet] configured application pool
==> web:
==> web: [2016-01-15T07:55:45-08:00] INFO: App pool created
==> web:
==> web:
==> web: * iis_pool[skynet] action config[2016-01-15T07:55:45-08:00] INFO: Processing iis_pool[skynet] action config (skynet::app line 18)
==> web: [2016-01-15T07:55:45-08:00] DEBUG: Providers for generic iis_pool resource enabled on node include: [LWRP provider iis_pool from cookbook iis]
==> web: [2016-01-15T07:55:45-08:00] DEBUG: Provider for action config on resource iis_pool[skynet] is LWRP provider iis_pool from cookbook iis
==> web: [2016-01-15T07:55:46-08:00] DEBUG: iis_pool[skynet] list apppool command output: APPPOOL ".NET v4.5 Classic" (MgdVersion:v4.0,MgdMode:Classic,state:Started)
==> web:
==> web: APPPOOL ".NET v4.5" (MgdVersion:v4.0,MgdMode:Integrated,state:Started)
==> web:
==> web: APPPOOL "skynet" (MgdVersion:" /[name='skynet'].processModel.loadUserProfile:true /[name='skynet'].recycling.logEventOnRecycle:PrivateMemory,Memory,Schedule,Requests,Time,ConfigChange,OnDemand,IsapiUnhealthy,MgdMode:Integrated,state:Started)
==> web: [2016-01-15T07:55:46-08:00] DEBUG: iis_pool[skynet] current_resource match output: APPPOOL "skynet" (MgdVersion:" /[name='skynet'].processModel.loadUserProfile:true /[name='skynet'].recycling.logEventOnRecycle:PrivateMemory,Memory,Schedule,Requests,Time,ConfigChange,OnDemand,IsapiUnhealthy,MgdMode:Integrated,state:Started)
==> web: [2016-01-15T07:55:46-08:00] DEBUG: C:\Windows\System32\inetsrv\appcmd.exe list apppool "skynet" /config:* /xml
==> web: [2016-01-15T07:55:46-08:00] DEBUG: C:\Windows\System32\inetsrv\appcmd.exe set config /section:applicationPools "/[name='skynet'].managedRuntimeVersion:""" "/[name='skynet'].processModel.loadUserProfile:true" "/[name='skynet'].recycling.logEventOnRecycle:PrivateMemory,Memory,Schedule,Requests,Time,ConfigChange,OnDemand,IsapiUnhealthy"
==> web: [2016-01-15T07:55:46-08:00] INFO: iis_pool[skynet] configured application pool
The text was updated successfully, but these errors were encountered:
When I create (or update) an App Pool to have a property of
no_managed_code = true
, I get an invalid .NET CLR versoin. My App Pool definition is:This sets the App Pool to (taken from
applicationHost.config
):I did the Chef run with a log level of default and I've attached the part where the App Pool is created. The error seems to come when
configure
method is called. For now I can correct this by setting the app pool tov4.0
and running a command script to fix it, but this is not ideal.Debug Trace:
The text was updated successfully, but these errors were encountered: