Solution to "invalid ASP 0201 default scripting language"

Source: Internet
Author: User
I forgot where I saw it. Remember it here to facilitate future queries. In addition, I would like to thank the middleware for solving this problem, although I forgot where I saw it. :)
My problem is also about permissions. The damn Default Account (IUSR _ computer name ), this account has been plagued twice (the other is that ASP pages cannot be normally displayed in IIS) and are related to ASP. I don't know how to solve this problem. Currently, only a Super User can be used for anonymous access.
Default scripting language with invalid ASP 0201 errors "SOLUTION

This is a fairly common ASP error, which is generally caused by the following reasons:
Before using multiple methods to solve this problem, let's take a look at the error itself.
Like a complete error message? Any cause that may cause this problem will give us the following message:


Active Server Pages error 'asp 0201'
Invalid default scripting language
This applicationProgramThe default script language is invalid.

This error is usually caused by a "unsupported scripting language" not recognized by IIS. How can I fix it now?
Follow these steps:

1. confirm that the appropriate script language is defined in IIS (go to IIS management-select site-properties-home directory-configuration-options-default ASP language ).

The default ASP language is VBScript (default) or JScript (if you prefer JavaScript)
2. Note that if yourCodeThe first line containing <% Language = "language" %> will overwrite the above settings, so check carefully to ensure that you are not spelling

Error. It should be <% Language = "VBScript" %>
3. Sometimes, incomplete DLL registration may cause this problem. Please download the latest version of the script and try again.
4. Now, make sure that some DLL files are not registered when installing the script pilot. For example, you can try to register the DLL as follows:
Regsvr32 % WINDIR % \ system32 \ VBScript. dll
Regsvr32 % WINDIR % \ system32 \ jscript. dll
Regsvr32 % WINDIR % \ system32 \ inetsrv \ ASP. dll
5. Continue. If you haven't solved this problem yet, it looks like permission has caused this problem.
For example, if an anonymous user accesses the IUSR _ computer name of the website and the user does not have the permission to read the relevant DLL, he can try

Grant the read permission to anonymous users.
6. Next, if you still see the same error, you need to follow another step to ensure the relevant permissions are correct. refer to the following file:
User and NTFS permissions required for IIS 4-IIS 4 (http://support.microsoft.com /? Id = 187506)
IIS 5-how do I set the required user and NTFS permissions for iis5 (http://support.microsoft.com /? Id = 271071)
IIS 6-iis6.0 Default User and NTFS permissions (http://support.microsoft.com /? Id = 812614)
7. If you follow the above steps strictly, you will not see this error again unless you forget some configurations in the above steps. You can

Temporarily Add the IUSR _ computer name user to the local administrator group. Note that this is only for troubleshooting. After the problem is resolved, you cannot

Anonymous Users are added to the Administrator group.
If the problem has been resolved after you join the Administrator group, you can check the permission settings again according to the preceding steps. If

Still not solved. Please delete anonymous users from the Administrator group and consult other professional and technical personnel.

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.