Winxp iis configuration

Source: Internet
Author: User
Tags metabase

 

==============================

Problem: Running 500 internal error

Run synciwam. vbs in the/inetpub/adminscripts script folder.

Then, enter the following code at the command prompt:

Cd % WINDIR %/system32/inetsrv
Rundll32 wamreg. dll, createiispackage
Regsvr32 asptxn. dll

(Note that createiispackage is case sensitive .)

 

==================================

 

Problem: Metadata access failure details

An error occurred while accessing the IIS metadatabase.
Note: An unhandled exception occurs during the execution of the current Web request. Check the stack trace information for details about the error and the source of the error in the code.

Exception details: system. Web. Hosting. hostingenvironmentexception: An error occurred while accessing the IIS metabase.

The process account used to run ASP. NET must have read access to the IIS metabase (for example, IIS: // servername/W3SVC. For information about how to modify metadatabase permissions, see http://support.microsoft.com /? Kbid = 267904.

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.

When configuring the IIS server, when we run an Asp.net program, this problem occurs because of IIS and. net Framework is installed in reverse order. IIS should be installed first. net Framework

Solution:

1. Run --> cmd

2. cd c: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727

3.aspnet_regiis.exe-I-enable

Tested OK

 

 

An error occurred when accessing the website after Asp.net is deployed.

Cs0016:
The output file "C: \ WINDOWS \ Microsoft. NET \ framework \ v4.0.30319 \ temporary ASP. NET" cannot be written.
Files \ WEB \ 4b49f661 \ 23a749fc \ app_web_default.aspx.cdcab7d2.zii776dc.dll "--" Access denied.
"

SolutionMethod:

Find the c: \ windows \ Temp directory, and choose its Properties> Security> Edit> Add iis_iusers to grant "Full Control" permission.

 

 

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.