Você está na página 1de 5

Totvs RMPortal Erro Erro 500.

21
Caso esteja tentando acessar o portal e est se deparando com o erro 500.21.

ERRO 500.21 Handler "PageHandlerFactory-Integrated" has a bad module "ManagedPipelineHandler" in its


module list

Peo por gentileza que siga o procedimento abaixo para corrigir esta inconsistncia.
Primeiramente verifique qual a verso do seu Microsoft.NET Framework. Verifique se o mesmo se encontra na verso
4.0.
Segue abaixo um auxlio para verificao da verso:
Clique em Iniciar > Painel de Controle > Programas e recursos > Microsoft .NET Framework 4.0. Caso esteja na verso
4.0, favor seguir o passo a passo abaixo. Caso contrrio favor instalar o Microsoft .NET Framework 4.0.

Clique em Iniciar > Painel de Controle > Ferramentas administrativas > Gerenciador do servios de informaes da
internet (IIS)

Verificando o pool de aplicativos, favor seguir as setas abaixo (conforme o PRINT) e verificar se o pool de aplicativos
est com a verso ASP.NET v4.0. Caso no esteja favor alterar para ASP.NET v4.0.

Para alterar o pool de aplicativos para a ASP.NET v4.0.


clique no cone
referente a seta 3 (Print acima) ir abrir um Poq up para que seja feita a alterao, aps indicar
ASP.NET v4.0 clique em OK:

Caso realizou todo o procedimento acima e ainda esta de deparando com o erro 500.21, ento devera ativar o
IIS (Segue o procedimento abaixo)

Para ativao do IIS:


Acesse a pasta:
Windows 64BitsC:\Windows\Microsoft.NETFramework64\v4.0.30319
Windows 32BitsC:\Windows\Microsoft.NETFramework\v4.0.30319

Localize e execute o arquivo: aspnet_regiis.exe

Agora peo por gentileza que abra o browser (Ex: Internet Explorer) e acesse o portal digitando o
endereo: http://localhost/corpore.net/Login.aspx

This error occurs because the Microsoft .NET Framework 4.0 configuration for ASP .NET has been damaged,
which can occur if Microsoft Visual Studio 2012 was installed before Visual Studio 2010 or Microsoft SQL Server
2008.
To resolve this error, you must repair the .NET Framework 4.0.30319 version. However, the Microsoft .NET
Framework 4.0 installation and configuration can vary depending on your system. You can try to repair the .NET
Framework 4.0.30319 version from a command prompt (as described in the following procedure) or use the
Microsoft .NET Framework Repair Tool that is available at http://support.microsoft.com/kb/2698555.

To repair the .NET Framework


1.

2.

On the computer that is running Microsoft Dynamics NAV Web Server components, open a Command
Prompt window as an administrator as follows:
a. From the Start menu, choose All Programs, and then choose Accessories.
b. Right-click Command Prompt, and then choose Run as administrator.
At the command prompt, do the following.
a.

If the computer is running the full Microsoft .NET Framework, enter the following commands
to change to theMicrosoft.NET\Framework64\v4.0.30319\SetupCache folder, and then run
setup.exe:

b. cd\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache
c. setup.exe /repair /x86 /x64 /ia64 /norestart
d.

If the computer is running the Microsoft .NET Framework client profile, enter the following
commands to change to
theMicrosoft.NET\Framework64\v4.0.30319\SetupCache\Client folder, and then run the
setup.exe:

e. cd\Windows\Microsoft.NET\Framework64\v4.0.30319\SetupCache
\Client
f. setup.exe /repair /x86 /x64 /ia64 /parameterfolder
Client /norestart
o

At the command prompt, type the following command, and then press Enter:

iisreset

Fontes:
http://tdn.totvs.com/display/public/rm/Erro+500.21
http://forums.iis.net/t/1162666.aspx?
HTTP+Error+500+21+Internal+Server+Error+Handler+ScriptHandlerFactor
y+has+a+bad+module+ManagedPipelineHandler+in+its+module+list+

Funcionou aps realizar o processo EMPLASA-VPN:


C:\Windows\Microsoft.NET\Framework\v4.0.30319\SetupCache\v4.5.51209\s
etup.exe /repair /x86 /x64 /ia64 /norestart