Solution for failing to open the DbName of the database requested for login

Source: Internet
Author: User
Tags sql server express

The database DbName requested for Logon cannot be opened in the tutorial www.bkjia.com. Logon Failed. User 'iis APPPOOL-ultultapppool 'Login Failed. . This problem is caused by the application connection pool. Some friends on the Internet say that the permission of the Temp folder is incorrect. This may be the case in other cases.

This problem is characterized by: the database is SQL Server Express and the program is successfully debugged in VS, but the following problems are generated in IIS:

The Database "dbName" requested for Logon cannot be opened ". Logon Failed.

User 'iis APPPOOL \ ultappapppool 'Login Failed.

Solution

1. First, check which application pool your website uses

2. Set application pool options

You only need to select LocalSystem or NetworkService to solve the problem.

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.