ASP. NET deployment

Source: Internet
Author: User

1. Execute the command in cmd when aspx is not supported in IIS

Run cd c: \ WINDOWS \ Microsoft. NET \ framework \ V2.0. 50727 press ENTER
Aspnet_regiis-I press ENTER

II,IIS does not support ASP solution

1-1In. IIS, right-click active pever pages in the Web Service Extension and select allow to start the service.
If not, try again.

ASP. NET V2.0 allow


2-2.
1. The solution and steps are as follows:

1) Right-click my computer---->Management, open the computer management interface

Open local users and groups---->User

Right-click to start the IIS process account IWAM _****(Note:****Usually the computer name)

Click set password to set the password you want.

2) Synchronize the IIS configuration database password:

There are two types of commands: one is to view the password, and the other is to change the password:

A. You can use the view PASSWORD command to view the IWAM password, and then set the user IWAM password in step 1 to the same as the IIS configuration database password.

B. You can also use the password change command to change the password of the IIS configuration database to the IWAM password you modified in the first step.

You can choose either of them.

View password:

Note: in Win2000, the password is an asterisk. If it is not an asterisk, you must first modify the adsutil. vbs file.

Modification method:

A. Find adsutil. vbs from drive C to Inetpub \ adminscripts (some paths may be different depending on the settings when installing the system)

B. Right-click and open it with notepad

C. Search for issecureproperty=True note=There is a space at the beginning and end.

D. Set issecureproperty=True to issecureproperty=False

E. Save, close, and OK.

Not long-winded, listed below

Command for viewing passwords:

Start--->Program--->Attachment open command prompt

Enter cd c: \ Inetpub \ adminscripts

Command for getting IWAM account password: cscript.exe adsutil. vbsGetW3svc/Wamuserpass

Command for getting IUSR account password: cscript.exe adsutil. vbsGetW3svc/Anonymoususerpass

Enter the preceding command and press enter to view the IWAM and IUSR passwords respectively.

Password Change command:

Change IWAM account password cscript.exe adsutil. vbsSetW3svc/Wamuserpass"Password" 

Modify the IUSR account password cscript.exe adsutil. vbsSetW3svc/Anonymoususerpass"Password" 

Set the password you want to change, that is _****And press enter to complete the modification.

Note that the bars between W3SVC and wamuserpass are/Instead of \. Otherwise, an error occurs.

Note: before changing the password, stop all Internet Information Services. Otherwise, an error may occur and the IWAM account may be locked.

How to stop? Open Computer Management, right-click Internet information service, and choose restart IIS service. In the options, click Stop IIS service and click OK.

3) Change the password in the component service.

Start--->Program--->Attachment open command prompt

Enter cd c: \ inetpub first

\ Adminscripts

Enter cscript.exe synciwam. vbs-V

The system will prompt:

Microsoft (r) Windows Script Host version5.6 

Copyright (c) Microsoft Corporation1996-2000. All rights reserved.

Wamusername: iwam_myserver

Wamuserpass: aboutnt2001

IIS applications defined:

Name, appisolated, package ID

W3SVC,0, 3d14228c-Fbe1-11d0-995d-00c04fd919c1}

Root,2,

IISHelp,2,

IISADMIN,2,

Iissamples,2,

MSADC,2,

Root,2,

IISADMIN,2,

IISHelp,2,

Root,2,

Root,2,

OutOf process applications defined:

Count:1 

3d14228d-Fbe1-11d0-995d-00c04fd919c1}

Updating applications:

Name: IISOut-Of-Process pooled applications key: 3d14228d-Fbe1-11d0-995d-00c04fd919c1}

In this case, all operations are basically OK and IIS is restarted. Now, your website can be accessed.

If the third step prompts in the last line:

80110414Error

Please stop the Internet Information Service. The IWAM account may also be locked. You need to unlock the IWAM account in the user.


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.