Programing

ASP.NET 4.5가 웹 서버에 등록되지 않았습니다

crosscheck 2020. 5. 22. 23:47
반응형

ASP.NET 4.5가 웹 서버에 등록되지 않았습니다


내 Win 7 개발 컴퓨터에서 기본적으로 설치된 localDB 대신 SQL Express 인스턴스를 사용합니다. MVC 4 프로젝트 속성 페이지 (웹 탭)에서 "IIS Express 사용"을 선택 해제 한 후 다음 오류가 발생했습니다.

ASP.NET 4.5가 웹 서버에 등록되지 않았습니다. 사이트를 올바르게 실행하려면 ASP.NET 4.5 용 웹 서버를 수동으로 구성해야합니다.

IIS 기능 내에서 ASP.NET이 활성화되어 있는지 확인했습니다.

이 문제를 해결하기 위해 무엇을 할 수 있습니까?


Visual Studio Tools 명령 프롬프트 에서 다음을 실행해야 할 수도 있습니다 .

aspnet_regiis -i

ASP.NET IIS 등록 도구 (Aspnet_regiis.exe) 에 대한 자세한 내용은 여기를 참조 하십시오 .


Windows 8.1에서는 .NET 4.5가 기본 제공되므로 관리 명령 프롬프트에서이를 실행하면됩니다.

dism.exe /Online /Enable-Feature /all /FeatureName:IIS-ASPNET45

.NET framework 4.6을 설치 한 경우 VS 버그로 인해이 오류가 표시 될 수 있습니다. 해결 방법 및 해결책 :

http://blogs.msdn.com/b/webdev/archive/2014/11/11/dialog-box-may-be-displayed-to-users-when-opening-projects-in-microsoft-visual-studio- 설치 후 Microsoft-net-framework-4-6.aspx

편집하다:

일부 의견에서 언급했듯이 이것은 Windows 10 또는 Visual Studio 2015로 업그레이드 한 후 뒤에서 발생할 수 있습니다.


Windows 8 클라이언트 컴퓨터의 경우 "인터넷 정보 서비스-> 월드 와이드 웹 서비스-> 응용 프로그램 개발 기능-> ASP.NET 4.5"의 "Windows 기능 켜기 / 끄기"에서 "IIS-ASPNET45"를 켜십시오.


.net 프레임 워크는 4.0 폴더를 겹쳐 쓰므로 다음 명령을 실행하십시오.

IIS에 .net 프레임 워크를 등록
하십시오. 시작-> 실행-> cmd-> 관리자 유형으로 실행하십시오.

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

VS 업데이트로 해결되었습니다.

이 링크를 따르십시오 ( https://blogs.msdn.microsoft.com/webdev/2014/11/11/dialog-box-may-be-displayed-to-users-when-opening-projects-in-microsoft-visual- 설치 후 스튜디오의 Microsoft-net-framework-4-6 / )

해결 : Microsoft는 영향을받는 모든 Microsoft Visual Studio 버전에 대한 수정 프로그램을 발표했습니다.

Visual Studio 2013 –

Visual Studio 2013 업데이트 4 다운로드 Visual Studio 2013 업데이트 4에 대한 자세한 내용은 다음을 참조하십시오. Visual Studio 2013 업데이트 4 KB 문서 Visual Studio 2012

Microsoft Visual Studio 2012의이 문제를 해결하기위한 업데이트가 게시되었습니다. KB3002339 Microsoft 다운로드 센터에서이 업데이트를 직접 설치하려면 여기 (Visual Studio 2010 SP1)

Microsoft Visual Studio 2010 SP1의이 문제를 해결하기위한 업데이트가 게시되었습니다. KB3002340이 업데이트는 Windows Update에서 제공됩니다. Microsoft 다운로드 센터에서이 업데이트를 직접 설치하려면 여기를 클릭하십시오.


c : \를 입력 할 필요가 없습니다.

시작-> 실행-> cmd-> 관리자 권한으로 실행하고 아래 명령을 실행하십시오.


.NET Framework 버전 4 (32 비트 시스템)

% windir % \ Microsoft.NET \ Framework \ v4.0.30319 \ aspnet_regiis.exe -i

.NET Framework 버전 4 (64 비트 시스템)

% windir % \ Microsoft.NET \ Framework64 \ v4.0.30319 \ aspnet_regiis.exe -i

또는 Visual Studio 도구에서 명령 프롬프트를 사용하십시오. C : \ ProgramData \ Microsoft \ Windows \ 시작 메뉴 \ 프로그램 \ Microsoft Visual Studio 2012 \ Visual Studio 도구> VS2012 x86 기본 도구 명령 프롬프트

버전이 다를 수 있습니다. 도움이 되길 바랍니다.


ASP.NET 4.5가 "Windows 기능 켜기 / 끄기"아래에 설치된 것으로 나타나지만 동일한 문제가 발생했습니다. "Turn Windows Features On / Off"에서 ASP.NET 3.5 및 4.5를 완전히 제거하고 PC를 재부팅 한 후 다시 설치하기 전까지 모든 것을 시도했습니다. 문제가 해결되었습니다.


나도 그 문제가 있었다. 위의 솔루션을 시도했지만 나에게 효과가 없었습니다.

Visual Studio 업데이트를 설치했는데 문제가 해결되었습니다.

아래 링크에서 Visual Studio 업데이트를 다운로드하십시오. http://blogs.msdn.com/b/webdev/archive/2014/11/11/dialog-box-may-be-displayed-to-users-when-opening-projects -in-microsoft-visual-studio- 설치 후 Microsoft-net-framework-4-6.aspx

감사!


프로그램 및 기능을 통해 추가해야 할 사항. 내 문제를 해결 한 아래 링크를 확인하십시오. 아래 단계를 따르십시오.

링크에서 인용 :

프로그램 및 기능 창에 들어가면 왼쪽 창에서 "Windows 기능 설정 또는 해제"를 누르십시오.

이제 트리를 아래로 스크롤하여 다음을 찾으십시오.

인터넷 정보 서비스> 월드 와이드 웹 서비스> 응용 프로그램 개발 기능 ... 그리고 필요한 모든 관련 기능을 확인하십시오. .NET 3.5와 4.6을 선택했습니다.

http://modelrail.otenko.com/electronics/asp-net-4-5-has-not-been-registered-on-the-web-server


I have the same problem.

And got the solution turning on the ASP Net from Turn Windows feature on or off menu.


I had the same problem. After a long search , I change the application pool to ASP.NET v4.x in the IIS manager.


For windows 10 with below error: Configuring Web http://localhost:64886/ for ASP.NET 4.5 failed. You must manually configure this site for ASP.NET 4.5 in order for the site to run correctly. ASP.NET 4.0 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.0 in order for your site to run correctly. Solution: https://blogs.msdn.microsoft.com/webdev/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/


I have the same issue when using Visual Studio 2012. By turn on the IIS feature just not working, because I still received the error. Try the method but no lucky.

My solution is:

  • Download the hotfix.
  • At the command line, Restart IIS by typing iisreset /noforce YourComputerName, and press ENTER.

Some IIS features to be enabled: Reference

DISM /Online /FeatureName:IIS-ApplicationDevelopment 
/FeatureName:IIS-ASPNET /FeatureName:IIS-ASP 
/FeatureName:IIS-NetFxExtensibility 
/FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter

Then fix IIS mappings for ASP.NET, run the Aspnet_regiis.exe utility. Reference


this link explains what cause the problem and the quick solve to the problem, it just by updating visual studio and it provide the link for the update

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


Try this Once go to the Programs and Features window->, hit the "Turn Windows Features on or off" in the left pane.

Now scroll down through the tree and find:

Internet Information Services World Wide Web Services Application Development Features ...and then check all the relevant features you require. I chose .NET 3.5 and 4.6.

and if does not work then go to Let it do its work and then you should be back to happy-development-land in VS before you know it. If not, then it could actually be a bug in Visual Studio. Please check the following patches for your version of VS: VS2010, VS2012 or VS2013. This will surely help you out.


run visual studio in admin rights and execute following "commandaspnet_regiis -i"


tl;dr; Clicking OK is the workaround, everything will work fine after that.

I also received this error message.

Configuring Web http://localhost:xxxxx/ for ASP.NET 4.5 failed. You must manually configure this site for ASP.NET 4.5 in order for the site to run correctly. ASP.NET 4.0 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.0 in order for your site to run correctly.

Environment: Windows 10, IIS8, VS 2012 Web.

After finding this page, along with several seemingly invasive solutions, I read through the hotfix option at https://support.microsoft.com/en-us/help/3002339/unexpected-dialog-box-appears-when-you-open-projects-in-visual-studio as suggested here.

Please avoid doing anything too drastic, and note the section of that page marked "Workaround" as shown below:

Workaround


To work around this issue, click OK when the dialog box appears after you either create a new project or open an existing Web Site Project or Windows Azure project. After you do this, the project works as expected.

In other words, click OK on the dialog box one time, and the message is gone forever. The project will work just fine.

참고URL : https://stackoverflow.com/questions/13749138/asp-net-4-5-has-not-been-registered-on-the-web-server

반응형