asp.net APP with <configSections> in web.config push to IronFoundry V1 issue, please help

61 views
Skip to first unread message

haxhun...@gmail.com

unread,
Dec 16, 2013, 10:09:07 PM12/16/13
to ironf...@googlegroups.com
we have an asp.net app, it runs ok in IIS, but it encount the error when we push it to Ironfoundry v1(use vmc push)
the error in terminal shows:

Creating Application: OK
Binding Service [oracle-1f05b]: OK
Uploading Application:
  Checking for available resources: OK
  Processing resources: OK
  Packing application: OK
  Uploading (1K): OK  
Push Status: OK
Staging Application 'ZTCDemo': OK                                              
Starting Application 'ZTCDemo': .......Error:
Application 'ZTCDemo's state is undetermined, not enough information available.

the error in windows server2008 C:\Program Files\Iron Foundry\DEA\logs shows:

2013-12-17 10:43:24.9668|WebServerAdministrationProvider|'appcmd.exe set config ZTCDemo-0-66ff4283a7e44cb0a9acb2709b52252a /section:system.webServer/httpLogging /dontLog:True' failed: |

2013-12-17 10:43:27.1269|WebServerAdministrationProvider|'appcmd.exe set config ZTCDemo-0-66ff4283a7e44cb0a9acb2709b52252a /section:system.webServer/httpLogging /dontLog:True' failed: |

2013-12-17 10:43:29.2851|WebServerAdministrationProvider|'appcmd.exe set config ZTCDemo-0-66ff4283a7e44cb0a9acb2709b52252a /section:system.webServer/httpLogging /dontLog:True' failed: |

2013-12-17 10:43:31.4452|WebServerAdministrationProvider|'appcmd.exe set config ZTCDemo-0-66ff4283a7e44cb0a9acb2709b52252a /section:system.webServer/httpLogging /dontLog:True' failed: |

2013-12-17 10:43:33.6023|WebServerAdministrationProvider|'appcmd.exe set config ZTCDemo-0-66ff4283a7e44cb0a9acb2709b52252a /section:system.webServer/httpLogging /dontLog:True' failed: |

2013-12-17 10:43:35.6034|Agent|No web instance created for application with name 'ZTCDemo-0-66ff4283a7e44cb0a9acb2709b52252a'.|

the app status is down



but when we annotation  <configSections>  tag-pair,it runs ok and push successfully.

can you guys help.


haxhun...@gmail.com

unread,
Dec 16, 2013, 10:14:17 PM12/16/13
to ironf...@googlegroups.com
add more information:
annotation part
  <!--
  <configSections>
   
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
      <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
        </sectionGroup>
      </sectionGroup>
    </sectionGroup>
     
  </configSections>
 -->

Luke Bakken

unread,
Dec 17, 2013, 10:44:24 AM12/17/13
to ironf...@googlegroups.com
Hello,

If you run the appcmd.exe command in your non-IronFoundry environment, does it work?

appcmd.exe set config ZTCDemo-0-66ff4283a7e44cb0a9acb2709b52252a /section:system.webServer/httpLogging /dontLog:True

haxhun...@gmail.com

unread,
Dec 18, 2013, 3:34:23 AM12/18/13
to ironf...@googlegroups.com
Hi, thanks for your reply.

i tried your solution before, i did the following operations but the issue still there, just the issue very confused me, if the APP deployed in IIS directly it runs ok only when you try to deploy through IronFoundry will threw the error.

operations i did:

appcmd set config ZTCDemo2-0-2dd21eac88b6474b9169b35e90142780 /section:system.webServer/httpLogging /dontLog:True
this command can't be executed because when deploy failed the APP will not deployed in the directory in windows machine, so i did this
C:\Windows\System32\inetsrv>appcmd set config /section:system.webServer/httpLogging /dontLog:True
Have been submitted in a configuration path “MACHINE/WEBROOT/APPHOST” “MACHINE/WEBROOT/APPHOST” “sy
stem.webServer/httpLogging”Section configuration changes have been applied
Reply all
Reply to author
Forward
0 new messages