IIS access is rejected due to invalid creden + solution to the use of requested resources

Source: Internet
Author: User

I encountered a Website access problem when I was working in the China Telecom Industry this summer and kept it recorded in my technical warehouse. At that time, IIS6 was used to build an ASP Website environment. when accessing ASP files, the following information is displayed:

You are not authorized to view this page.

HTTP Error 401.1-unauthorized: access is denied due to invalid creden.

All the methods on the Internet cannot be solved. Later, I used a wonderful trick. Please refer to the following.

In computer management, change the password of iusr_c2d24b7c66694bf. After modification, change the password in the "website attributes"-"Directory Security"-"authentication and Access Control" edit in IIS to the one you just modified. This problem occurs because the user iusr_c2d24b7c66694bf in IIS is inconsistent with the password in Computer Management.

There is another way (I can solve it online, but I have never tried it. It is estimated that the password is not synchronized. I changed the password and solved it by creating a new user ~) :

(1) check whether the anonymous account set for site security in IIS manager is disabled. If yes, try the following methods to enable it:
Control Panel-> Administrative Tools-> Computer Management-> local users and groups, enable IUSR _ machine name account. If the problem persists, proceed to the next step.
(2) check whether the default anonymous access account of the site in the IIS manager or its group has the permission to access the server over the network in the Local Security Policy, if you have not attempted to grant permissions by following these steps:
Start->Program-> Administrative Tools-> Local Security Policies-> Local Policies-> User permission assignment, double-click "Access this computer from network ", add default IIS users or their groups.
Note: Generally, custom IIS default anonymous access accounts belong to groups. To ensure security, follow this rule.
But it is useless. It is also useless to implement a half-day domain security control policy. Finally, I finally found a solution to the problem. The problem is solved by creating a user in the domain, giving the corresponding permissions, and then changing the anonymous login account of the website to this new user (without the default IUSR _ computer name!

I can't solve this problem because of my previous website construction and development class's computer. This is also the problem.

After opening, the page displays"The requested resource is in use.".

My solution:

Run regsvr32 jscript. dll and regsvr32 VBScript. DLL to re-register the dynamic link library of the Java Script and VB script!
From: Happy tech park

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.