Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method that the IIS server no longer rejects ASP pages?

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

The main content of this article is to explain "what is the method that the IIS server no longer rejects ASP pages". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is the method that the IIS server no longer rejects ASP pages?"

Attracted by the ASP dynamic web page, the author decided to use Dreamweaver to do an ASP format of the school home page. However, when the author replaced the Htm web page in the IIS server with the newly made ASP web page, I found that the newly made ASP web pages could not be viewed on all computers in the campus network (the school uses the IIS of Windows 2000 Server to publish Web pages).

ASP is a server-side scripting environment where the Web server does all the work when the script runs on the server (note that it is not the client). In other words, programmers do not have to worry about whether the browser can handle ASP pages, because the Web server will replace the browser to complete the page conversion work. Because the IIS server is implemented through IIS in Windows 2000 Server, the author first focuses on the site setting of IIS.

Go to the Control Panel → Management tools → Internet Service Manager, select default Web site, then right-click to select Properties, and look for ASP-related settings in the Properties settings box. In the "document" settings bar, add the home file Index.asp as the default document; in the "Home Directory"Application Settings" bar, click the "configure" button.

In the application mapping box, it was found that the ASP-related application mapping had been added, but in the application debugging box, enable ASP server-side script debugging and enable ASP client-side script debugging were not selected, so they were selected.

Application debugging dialog box

After completing the above settings, exit the default Web site property settings box. Browse the school home page in the browser, the fault remains the same. It seems that the problem is not the IIS setting, what else could it be? The author suddenly remembered that Windows 2000 Server has the function of event log, so let's see if it is recorded.

Right-click "my computer", select "Administration", in "system tools", click "event Viewer", in the "applications" item, find an error message, double-click it, the content reads "IISADMIN Services found that the account IWAM_MYSEVER is invalid. Some IIS functions may fail as a result."

Does the IWAM_MYSEVER account have something to do with this? At the beginning, for the security of the server, the author disabled many accounts of the system by default, including IWAM_MYSEVER account. So the author goes to "computer Management → Local users and groups", click on the "users" folder, double-click the IWAM_MYSEVER account, and cancel the "account has been disabled". After visiting the school home page, the ASP page finally saw the light of day!

So, what on earth is an IWAM_MYSEVER account that makes WINDOWS2000's IIS server disregard ASP pages! It turns out that the IWAM account is a built-in account automatically established by the system when the IIS server is installed, which is mainly used to start the Internet information service of applications outside the process.

The name of the IWAM account varies depending on the netbios name of each computer. The common format is IWAM_machine, which consists of the prefix "IWAM", the connection line "_" and the netbios name of the computer. The netbios name of the author's computer is MYSEVER, so the name of the IWAM account on my computer is IWAM_MYSEVER, which is very similar to the anonymous account ISUR_MACHINE of the IIS server.

At this point, I believe you have a deeper understanding of "what is the method that the IIS server no longer rejects ASP pages". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report