I installed the prerequisites, then installed my 4.0 Framework application and got this error:
HTTP Error 500.21 - Internal Server Error
Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its module list
This implies that the ASP.NET managed handler is incorrect, but in reality the 4.0 Framework is not properly registered.Open up a command prompt as an administrator, then change to this folder:
C:\Windows\Microsoft.NET\Framework\v4.0.30319
Run this command:
aspnet_regiis.exe -iru
There are a couple of different installation/registration options for aspnet_regiis.exe, but the -iru option is the safest since it only registers the 4.0 Framework and does not change/update any existing applications or web sites. That is helpful if you have web applications that are still using the 2.0 Framework.

No comments:
Post a Comment