I was recently installing a new Dynamics AX 2009 environment where I was having Enterprise Portal installed on a separate machine.
When running the Dynamics AX Setup for the Enterprise Portal and Role Center role the installation completed with warnings.
The DynamicsSetup.txt contained the following error messages:
Entering function CurrentUserAlias
Leaving function CurrentUserAlias
Creating new Enterprise Portal Site with following the parameters:\n URL: http://server/sites/DynamicsAx\n Title: EP Site\n LCID: 1033\n OwnerLogin: domain\administrator
Administration Web Service URL: http://server:1234/_layouts/ep/WSSAdmin.asmx
Information: Debugging mode is off.
An error occured while Setup was creating a new site.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
At the same time there was the following error message showing up in the Application event log:
The root cause of this issue was that the Analysis Management Objects (AMO) for SQL Server had not been installed on the Enterprise Portal server.
By downloading and installing the Microsoft SQL Server 2005 Management Objects Collection (Microsoft SQL Server 2005) or Microsoft Analysis Management Objects (Microsoft SQL Server 2008) the Enterprise Portal site could be successfully created.