« Previous Next »

Thread: Change Managed Pipeline Mode to Integrated from Classic

Last post 10-14-2009 8:14 PM by faith_a. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 05-27-2009, 1:24 PM

    Change Managed Pipeline Mode to Integrated from Classic

    Hi,

    I have migrated my application from IIS 6.0 to IIS 7.0 with it's application pool.
    But I am getting following error

    HTTP Error 404.17 - Not Found

    The requested content appears to be script and will not be served by the static file handler.

    There are two work aroud for this error

    1. set Enable 32 bit application to true

    2. Change Managed Pipeline Mode to Integrated from Classic

    I want to know is there any way through MS Deploy, we can change above mentioned settings or I have to do it manually....

    Can any one from MS Deploy Team reply on this?

    Thanks a lot

    Shashikant

  • 05-29-2009, 9:33 PM In reply to

    • ksingla
    • Top 25 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: Change Managed Pipeline Mode to Integrated from Classic

    Why do you want to do this using MSDeploy? Is it because some other people will be migrating this application on their servers and you want migration experience to be smooth? If yes, see this blog post about how to write a replace rule. Replace rule will only work if you are migrating application pool as well as pipeline mode and enable32bit properties are set at site level and unless application pool is part of migration, you cannot replace information. If not or if application pool is not part of migration, you can use appcmd to change configuration.

    Follow me on twitter at http://twitter.com/kjsingla
  • 05-31-2009, 6:15 AM In reply to

    Re: Change Managed Pipeline Mode to Integrated from Classic

    Thank you very much for the reply.Yes, we want this to be done because we don't want any manual interaction post migration on IIS 7.0 and we want migration experience to be smooth.Yes, we are migrating application from IIS 6.0 to IIS 7.0 and application pool is part of migration.

    We will really appreciate in case you get chance to provide an example of replace rule for the following,

    1. To change “Managed Pipeline Mode” from Classic to Integrated.

    2. To change “Enable 32-Bit application” from false to true.

     

    Thanks,

    Shashikant

     

  • 06-01-2009, 8:43 AM In reply to

    Re: Change Managed Pipeline Mode to Integrated from Classic

    Hi,

    I have tried with following commands but no luck...

    msdeploy -verb:sync -source:metakey=lm/w3svc/apppools/MyAppPool -dest:auto,computerName=destServer -replace:objectName=metaProperty,scopeAttributeName=name,scopeAttributeValue=enable32bitapponwin64,targetAttributeName=value,match=0,replace=1 -whatif

    Change count: 0

     

    msdeploy -verb:sync -source:metakey=lm/w3svc/apppools/MyAppPool

    -dest:auto,computerName=destServer -replace:objectName=add,scopeAttributeName=name,scopeAttributeValue=MyAppPool,targetAttributeName=enable32BitAppOnWin64,match=false,replace=true -whatif

    Change count: 0

    Can any one please tell me where I am going wrong?

    Thanks,
    Shashikant

  • 06-01-2009, 7:04 PM In reply to

    Re: Change Managed Pipeline Mode to Integrated from Classic

    1. If you sync all appPools from the source then enable32bitapponwin64 will be set to true for all. If you migrate one appPool this value is not moved over. Hence the replace rule you specified is a no op. You can use appcmd for making these changes for the appPool.

    2. This again is set to classic by default by CrossPlatformRule handler. You can set this to the value you want using appcmd.

    Let me know if you need more info.

     

  • 06-02-2009, 11:59 AM In reply to

    Re: Change Managed Pipeline Mode to Integrated from Classic

    Thanks for the information.

    Can you please provide me an example using appcmd for changing "enable32bitapponwin64" to true?

    What is the connection between appcmd and msdeploy?
    How can I invoke appcmd after msdeploy commands?

    Thanks,
    Shashikant

     

  • 06-02-2009, 5:13 PM In reply to

    Re: Change Managed Pipeline Mode to Integrated from Classic

    appcmd has no relation with msdeploy. This is a tool provided with IIS7 for viewing, modifying or adding iis7 settings. For your case you can do the following on the iis7 box after migrating the appPools using msdeploy as follows:

    appcmd set apppool "MyAppPool" /enable32BitAppOnWin64:true

     You can verify the value has infact changed as:

    appcmd list apppool "MyAppPool" /text:*

     Let me know if you need more info.

  • 10-14-2009, 7:33 AM In reply to

    • kumareshh
    • Not Ranked
    • Joined on 10-12-2009, 11:50 AM
    • Posts 1

    Re: Change Managed Pipeline Mode to Integrated from Classic

    when i change from enable32BitAppOnWin64:true

    I got a error from my web.conf.

  • 10-14-2009, 8:14 PM In reply to

    Re: Change Managed Pipeline Mode to Integrated from Classic

    What is the error you get from your web.config?

    thanks,

    -faith

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (9 items)
Microsoft Communities