IT story

Asp.net 4.0이 등록되지 않았습니다

hot-time 2020. 5. 11. 08:07
반응형

Asp.net 4.0이 등록되지 않았습니다


Visual Studio 프로젝트를 열려고하면 다음 오류가 발생합니다.

Asp.Net이 웹 서버에 등록되지 않았습니다. Asp.net 4.0 용 웹 서버를 수동으로 구성해야합니다.


업데이트 :
나는 그것을 고치지 않았다.

방금 .Net Framework 4.0을 복구했으며 문제가 해결되었습니다.


또한 실행 하여이 문제를 해결했습니다.

aspnet_regiis -i

Visual Studio 명령 줄 도구를 관리자로 사용


이것은 문제를 해결했다

C : \ Windows \ Microsoft.NET \ 프레임 워크 \ v4.0.30319 \ aspnet_regiis -i

"관리자 권한으로"명령 프롬프트를 실행하십시오


.NET Framework 4.6 을 설치 후이 오류가 발생하는 경우 - 이 핫픽스 중 하나를 읽고 설치 하여 문제를 해결하십시오.


'ASP.NET 4.0을 등록하려면 등록하지 않았습니다. 솔루션을 열 때 사이트가 올바르게 실행되도록하려면 ASP.NET 4.0 용 웹 서버를 수동으로 구성해야합니다.

1 ASP.NET에서 IIS 기능이 켜져 있는지 확인하십시오. 제어판 \ 모든 제어판 항목 \ 프로그램 및 기능으로 이동 한 다음 'Windows 기능 켜기를 클릭하십시오. 그런 다음 IIS-> WWW 서버-> 앱 개발 기능에서 ASP.NET이 선택되어 있는지 확인하십시오.

여기에 이미지 설명을 입력하십시오

2 다음 cmd 줄을 실행하여 설치하십시오.

C : \ Windows \ Microsoft.NET \ 프레임 워크 \ v4.0.30319 \ aspnet_regiis -i

여기에 이미지 설명을 입력하십시오

도움이 되었기를 바랍니다


aspnet_regiis위에서 설명한 방법은 윈도우 8.1에 대한 작업에 표시되지 않습니다 :

C:\Windows\system32>aspnet_regiis -i

Microsoft (R) ASP.NET RegIIS version 4.0.30319.33440
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Start installing ASP.NET (4.0.30319.33440).
This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.
Finished installing ASP.NET (4.0.30319.33440).

As indicated in the message, I went to:

  1. Start
  2. Turn Windows features on or off
  3. .NET Framework 4.5 Advanced Services

and checked ASP.NET 4.5.

This seems to have resolved the problem.


Open:

Start Menu
-> Programs
-> Microsoft Visual Studio 2010
-> Visual Studio Tools
-> Visual Studio Command Prompt (2010)

Run in command prompt:

aspnet_regiis -i

Make sure it is run at administrator, check that the title starts with Administrator:

여기에 이미지 설명을 입력하십시오


http://msdn.microsoft.com/en-us/library/k6h9cz8h.aspx - See this on registering IIS for ASP.NET 4.0


Asp.net 4.0 has not been registered

Visual Studio 2013 Download Visual Studio 2013 Update 4 For more information on the Visual Studio 2013 Update 4, please refer to: Visual Studio 2013 Update 4 KB Article

Visual Studio 2012 An update to address this issue for Microsoft Visual Studio 2012 has been published: KB3002339 To install this update directly from the Microsoft Download Center, here

Visual Studio 2010 SP1 An update to address this issue for Microsoft Visual Studio 2010 SP1 has been published: KB3002340 This update is available from Windows Update To install this update directly from the Microsoft Download Center, here http://download.microsoft.com/download/6/7/E/67E041A1-00DA-4948-90BE-75A0146C08F5/VS10SP1-KB3002340-x86.exe


Go to Visual Studio 2010 Command prompt and set the Directives as :

C:\Windows\Microsoft.NET\Framework\v4.0.30319>

then install IIS by following command:

C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -i

now iis will working.. its better if your restart the computer


I had the same issue but solved it...... Microsoft has a fix for something close to this that actually worked to solve this issue. you can visit this page http://blogs.msdn.com/b/webdev/archive/2014/11/11/dialog-box-may-be-displayed-to-users-when-opening-projects-in-microsoft-visual-studio-after-installation-of-microsoft-net-framework-4-6.aspx

The issue occurs after you installed framework 4.5 and/or framework 4.6. The Visual Studio 2012 Update 5 doesn't fix the issue, I tried that first.

The msdn blog has this to say: "After the installation of the Microsoft .NET Framework 4.6, users may experience the following dialog box displayed in Microsoft Visual Studio when either creating new Web Site or Windows Azure project or when opening existing projects....."

블로그에 따르면 대화는 양성입니다. 확인을 클릭하면 대화 상자의 영향을받지 않습니다 ... 블로그의 의견은 VS 2015에 동일한 문제가 있음을 나타냅니다.


ASP.NET 4.0이 IIS에 등록되지 않은 경우

***** 실행 명령을 사용하여 액세스 할 수없는 경우이 단계를 사용하십시오 *****

이동

C 드라이브
->> windows
->> Microsoft.Net
->> Framework
->> v4.0.30319

(프레임 워크 4를 선택하여 IIS에 등록 할 프레임 워크를 선택하십시오)
->> aspnet_regiis
(두 번 클릭하거나 마우스 오른쪽 버튼을 클릭하고 관리자 권한으로 실행을 선택하십시오)


aspnet_regiis -i 접근 방식을 지원하지 않는 Windows 8.1 에서이 문제가 발생했습니다.

대신 제어판으로 이동하여 "Windows 기능 켜기 또는 끄기"옵션을 찾은 후 다음과 같이 드릴 다운하십시오.

Internet Information Services -> World Wide Web Services -> Application Development Features and check the "ASP.NET 4.5" option. In checking this box, other options such as ".NET Extensibility 4.5" and the ISAPI options will be checked automatically.

Apply the changes by clicking OK. Restart your website in IIS and your site should now be accessible.


I repaired it using the Microsoft .NET Framework Repair Tool. After reloading my project a couple of times after that the problem went away.

참고URL : https://stackoverflow.com/questions/5836228/asp-net-4-0-has-not-been-registered

반응형