Ad Secondary Development prompts "An operation error occurred" SOLUTION

Source: Internet
Author: User

Recently VS solution operates on ad. I can run it in vs (completely normal, data can be read ). However, the following error occurs after I publish the website to IIS separately:

Why can't debugging be solved? Later, I guess this is a permission issue. You run normally in Vs because the Running Account of VS has the corresponding permissions. However, IIS does not have the required permissions. Check the web application.ProgramWhat is the account of the corresponding application pool in IIS and whether it has the permission to access the domain.

So the account used to open the application pool running on the site is applicationpoolidentity, Which is changed to a domain account with access permissions. Here we changed it to contoso \ administrator.

After the change, the system runs normally as follows:

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.