Home> php教程> PHP开发> body text

Solution to the 500 error reported by IIS7 using .NET Framework v4.0 runtime library

高洛峰
Release: 2017-01-06 16:09:56
Original
2102 people have browsed it

Fault description:
1) IIS7.5 installed in Windows Server 2008 R2 environment
2) Installation of .Net4.5
3) Running the website, a 500 error was reported; checked the webconfig and other codes, No problem

Solution: Re-register .Net4.5, the process is as follows:
1. Start, enter the word cmd in the search box, and then the cmd.exe application appears

IIS7使用.NET Framework v4.0运行库报500错误的解决办法

2. Right-click on cmd.exe and choose to run as administrator.

IIS7使用.NET Framework v4.0运行库报500错误的解决办法

#3. Paste the following command into the command line window and press Enter to complete the registration.

"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe" -iru -enable
Copy after login

4. At this time, we see that in IIS, the 4.0 runtime supports successful registration.

IIS7使用.NET Framework v4.0运行库报500错误的解决办法

5. Refresh IE and the website will appear normally.

For more related articles on the solution to the 500 error reported by IIS7 using the .NET Framework v4.0 runtime library, please pay attention to the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!