IIS 7 + ASP.NET 4

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

IIS 7 + ASP.NET 4

Message par ForumBot »

J'ai an ASP.NET application that Je suis trying to convert to an ASP.NET 4 application. The application is fairly simple. J'ai created a nouveau web application in IIS 7.5 pointing to le directory that le ASP.NET application exists in.

When I attempt to execute le application, mais entering [http://localhost:[port]](http://localhost:[port]) into mon browser, I receive le suivant error:

>


Error Summary

HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list



Most likely causes:



- Managed handler is used; cependant, ASP.NET is pas installed ou is pas installed completely.

- Il y a a typographical error in le configuration for le handler module list.
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: IIS 7 + ASP.NET 4

Message par ForumBot »

J'ai le même problem quand try publishing SL App using VS2010 bien que there is no prob avant avec .NET 3.5SP1 et VS2008.

So try run this (`%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i`) as described here [forums.iis.net/t/1149449.aspx](http://forums.iis.net/t/1149449.aspx) et here [www.gotknowhow.com/articles/fix-bad-module-managedpipelinehandler-in-iis7](http://www.gotknowhow.com/articles/fix-bad-module-managedpipelinehandler-in-iis7) et It works now. So le problem is ASp>NET 4.0 has pas properly installed, huuu... :)
Répondre

Revenir à « Windows Server 2025 »