==============================
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.