Rename a SQL Server database

Restoring databases frequently I realized I need a fast was to rename the databases on the fly. Here we have a rather fast (but manual - for the moment) way of doing this:

Setup the permissions for the user installing EP

Over the last year I've seen an increasing number of EP installations on AX 2012 R3 and I had to recall what permissions the user installing has to be granted.

Getting Could not retrieve a valid Windows identity message

If you are getting this message when installing Enterprise Portal in 2012 "Server was unable to process request. ---> Could not retrieve a valid Windows identity. ---> The message could not be dispatched because the service at the endpoint address 'net.pipe://localhost/s4u/022694f3-9fbd-422b-b4b2-312e25dae2a2' is unavailable for the protocol of the address." it's because of a stopped service in SharePoint.

Getting all the services in a Deactivated status

If (all) the services in AX are not starting, one possible reasons for them to fail when being configured is that the URL registration is done under another user than the current AOS credentials.

Getting Could not write Visual Studio Project access is denied message

If you are getting: "Object Server 01:  Couldn't write Visual Studio Project assembly file C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\Bin\VSAssemblies\Microsoft.Dynamics.Commerce.Headquarters.PricingProxy.dll. Error code 5: Access is denied.".

Getting A call to SSPI failed the target principal name is incorrect message

If you are getting this error message  in the middle of the AX installation: "Unable to get version information using existing WCF configuration from local storage. Exception details:
Microsoft.Dynamics.AX.Framework.Services.Client.MetadataServiceException: Exception occurred on the metadata service on client or server. See exception details below:
>A call to SSPI failed, see inner exception. ---> ..... The target principal name is incorrect.
"

Getting The field with Id 0 does not exist in table message

If you get this message: "The field with Id 0 does not exist in table" you might find yourself in one of the following situations: