Iis7 specifies the ID (Execution account) for the application pool)

Source: Internet
Author: User
  1. Open the IIS manager. For information about how to open IIS manager, see open IIS Manager (IIS 7 ).

  2. In"Connection"In the pane, expand the server node, and then click"ApplicationProgramPool".

  3. In"Application pool"Page, select the application pool for which you want to specify the identity, and then click"Operation"In the pane"Advanced Settings".

  4. For"ID"Properties, click...Button to open"Application pool ID"Dialog box.

  5. If you want to use a built-in account, select"Built-in account"Select an account from the list.

  6. Select"Custom account"Option, and then click"Set"To open"Set creden"Dialog box. Then"User Name"Enter the custom account name in the text box"Password"Enter the password in the text box"Confirm Password"Retype the password in the text box, and then click"OK".

  7. Click"OK"Close"Application pool ID"Dialog box.

    If the following error occurs:

    The application pool ×××id is invalid. The user name or password specified for the identity is incorrect, or the user does not have the batch logon permission. If no identifier is corrected, the application pool is disabled when the application pool receives its first request. If this problem occurs due to batch logon permissions, you must change the identity in the IIS configuration storage after the permission is granted, and then use Windows Process activation Service (was) to retry logon. If the identity is still invalid after the first request to the application pool is processed, the application pool is disabled. The data field contains the error code.

    You mustControl Panel-management tools-local security policies-Local Policies-user rights assignment-batch operation LoginAdd the user. 

    In addition, the integration mode of the application pool cannot be set to simulate. You need to remove this section in Web. config.

    <Configuration> <system. Web> <identity impersonate = "true"/> </system. Web> </configuration>

     

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.