When IIS runs the ASP program, the requested resource is in use, and after. NET 2.0 is installed, the 2.0 program fails to access IIS metabase.

Source: Internet
Author: User
Tags metabase

The company still uses the FW. NET 1.1 framework, considering that I have no meter to buy a notebook for development under 2.0, but also taking advantage of the company's computer memory is 1 GB, do not waste, so installed a vmware workstation; if you do not have a system installation disc, an xp cd iso is down. I don't want this ISO installation component without IIS. Depressed for a long time.

No way. The ISO for the next operation is also very hard, so I changed the iis5 compressed package.
At the beginning, the "Internet Information Service" option does not exist in the Add/delete Windows component wizard. According to the example of an online expert, this option is released.
The method is: enter c: \ windows \ INF \ sysoc. inf, open it in notepad, under [components]
Find this line: IIS = IIS. dll, ocentry, IIS. inf, hide, 7 changed to IIS = IIS. dll, ocentry, IIS. inf, 7.
If this line does not exist, simply add it and save it. This option is available in the Add/delete Windows component wizard.

Then, select the release path of the iis5 package, just like installing IIS on a CD. During installation, the system may prompt that some DL _ files are missing. You can use the search function of the system to search for file names. Do not search by suffix. For example,. DL _. In _ are some windows compressed files, which can be automatically extracted by the Installation Wizard.
 
After a long installation, I finally got OK. I thought it was a big event. Who knows how to run an ASPProgramCannot run. System promptThe requested resource is in use

After a hard time, I thought that the debugging program had debugging logs. In this case, the system should be able to find a solution in the system log for parsing ASP engine errors. Run eventvwr to call up the time viewer. Indeed, many errors are found under the system category. The error message is as follows:

Application-the COM server application (CLSID is
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
) To grant user IBM-D882681D063 \ iwam_zhangyuxiang Sid

(S- 1 - 5 - 21 - 1304240173 - 3011969147 - 3728014682 - 1013 ). You can use the component service management tool to modify this security permission.

As prompted by others, I open the Control Panel> Administrative Tools> component services> Computer> my computer> DCOM options, find the IIS Admin Service component, right-click Properties, choose Security> Start and activate permissions to customize the settings. Check whether the custom option has the account iwam_zhangyuxiang. What I see is that this account exists, and then save the changes. Open IE, run the program again, and find OK. Solution!

Later, when I installed the. NET 2.0 Framework and ran the 2.0 Asp.net program, this problem also occurred.

Computer-the COM server application (CLSID is
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
) To grant the user zhangyuxiang \ ASPnet Sid (s- 1 - 5 - 21 - 1417001333 - 764733703 - 839522115 - 1003 ). You can use the component service management tool to modify this security permission.

Setting the attributes of the IIS Admin Service is the same, but this time the account does not exist in the attributes of this component. You can easily add and save the attributes to solve the problem.

Appendix: Install IIS in Windows XP Home. If you encounter such problems, you can use this method.
In particular, analyzing the logs of the Event Viewer is of great help to solve the problem.

Related Article

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.