License is unavailable for the server 10.1

Discussion created by gkar68 on Mar 4, 2013
I have ArcObjects .NET code that is running on a machine with ArcGIS for Server 10.1.

The application worked on the dev server.
But when I moved to Test server, I am not able to initialize the licenses.

This is the code I am using
bool succes = false;
AoInitialize arcObjectInitEnv = new AoInitializeClass();
if (arcObjectInitEnv.IsProductCodeAvailable(esriLicenseProductCode.esriLicenseProductCodeStandard) == esriLicenseStatus.esriLicenseAvailable)
                  status = arcObjectInitEnv.Initialize(licenseCode);
throw exception(...);

I am sure I authorized the server right.
and I am able to run ArcGIS server manager.

And test the services.
I compile as "Any Cpu" , which is the same I used for Dev.
Is there tool that give me "availablity" for server, like desktop?

How can I troubleshoot this?