« Previous Next »

Answered Thread: Problems with application pool after msdeploy sync

Last post 06-12-2009 10:12 AM by anilr. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-11-2009, 4:50 PM

    • sunech
    • Not Ranked
    • Joined on 06-05-2006, 10:49 PM
    • Posts 6

    Problems with application pool after msdeploy sync

    Hi,

    I used msdeploy (with the -enableLink:AppPoolExtension option) to create an archive of IIS6 sites to import on a new IIS7 server, but after I have imported them I am experiencing problems with the application pools. First off, the application pool just crashed whenever I tried to load the site. But that stopped after I tried editing the application pool and now I just get the following:

    HTTP Error 401.2 - Unauthorized

    You are not authorized to view this page due to invalid authentication headers.

    And when I modify the application pools (even new ones) I get "The specified user name does not exist.". I have tried changing the Identity setting to a new user under Advanced Settings but that does not do any difference. With a new application pool instead of the old one I get a new error though:

    HTTP Error 500.0 - Internal Server Error

    Calling LoadLibraryEx on ISAPI filter "C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" failed

    But I still think that it is somehow related to some permissions that got totally messed up in the application pools and I can't really find any way to fix it again. Any ideas?

    Any suggestions would be much appreciated.

  • 06-11-2009, 11:12 PM In reply to

    Re: Problems with application pool after msdeploy sync

    Check the Anonymous Authentication Module user to ensure it's inheriting from the application pool identity.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 06-12-2009, 7:48 AM In reply to

    • sunech
    • Not Ranked
    • Joined on 06-05-2006, 10:49 PM
    • Posts 6

    Re: Problems with application pool after msdeploy sync

    Thank you very much - you just saved my day. The sites are working now but I'm still getting the error when editing the application pools, but judging from search results on the forum it seems like it might be a bug of some kind in the management console.

  • 06-12-2009, 10:12 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Answered Re: Problems with application pool after msdeploy sync

    If only the application-pool identity has access to the content directory, then the management console cannot get access to edit configuration in web.config files - you would need to change the ACL on the content directory to give access to management console.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (4 items)
Microsoft Communities