The FormWork server should be installed on x64.
In case your server is a 32bit server, your server should not have the following path:
%windir%\Microsoft.NET\Framework64
but the following shoud exist:
%windir%\Microsoft.NET\Framework
In this case, edit your installation package as follows:
- open install.proj using a text editor
- find the string "Framework64" in that file
- comment all commands that use the directory "Framework64"
- the commands using the directory "Framework" already exist
Here an example of install.proj (in red the commands that have been commented):
<!-- Script to register asp.net 4-->
<Target Name="RegAspNet4">
<!-- <Message Text="Register ASP .NET 4 for Framework64..." />
<Exec Command="%windir%\Microsoft.NET\Framework64\$(Framework4Version)\aspnet_regiis -ir" /> -->
<Message Text="Register ASP .NET 4 for Framework..." />
<Exec Command="%windir%\Microsoft.NET\Framework\$(Framework4Version)\aspnet_regiis -ir" />
<Message Text="Allow ISAPI and CGI Restrictions for ASP.NET 4..." />
<Exec Command="$(AppCmd) set config /section:isapiCgiRestriction /[path='C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll'].allowed:True" />
<!-- <Exec Command="$(AppCmd) set config /section:isapiCgiRestriction /[path='C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll'].allowed:True" /> -->
</Target>