Hello,
I am trying install the "Service Based Architecture" to use the REST service with Dynamics GP 2015 but the service don't work.
(I followed the following steps: blog.interdynartis.com/using-the-dynamics-gp-service-based-architecture)
This is the problem:
When I open this link: vm-dynamicsgp/.../Help
The result is:
<DexResponse>
<RequestError>
<CorrelationId>1335cb0d0cb148318a90443fc236614c</CorrelationId>
<HttpCode>500</HttpCode>
<ErrorCode>NoHostsAvailable</ErrorCode>
<Source>GPService</Source>
<Message>No hosts were available to process the request for tenant 'DefaultTenant'.</Message>
</RequestError>
</DexResponse>
When I open this link: localhost/.../Diagnostics
The result is:
{
"EnvironmentInfo": {
"ProcessUser": "myDomain\\dynamics",
"Machine": "VM-DYNAMICSGP",
"ServerTimeZone": "(UTC+01:00) Bruselas, Copenhague, Madrid, París",
"ServerTime": "2015-07-02T13:58:37.6659006+02:00",
"ServiceUptime": "00:28:15"
},
"AppConfiguration": {
"AuthenticationMode": "Windows",
"AzureAppIdUri": null,
"AzureDomain": null,
"AzureTenantListRefreshFrequency": "00:01:00",
"CorsAllowedOriginRefreshFrequency": "00:01:00",
"DesktopHeapKB": 5120,
"GPServiceHostAndPort": "https://localhost:443",
"HostDefinitionRefreshFrequency": "00:00:30",
"HostStatusRefreshFrequency": "00:00:05",
"InstanceStatusHeartbeat": "00:00:05",
"InternalCallers": [
"myDomain\\dynamics",
"VM-DYNAMICSGP\\dynamics"
],
"IsGzipAllowed": true,
"LogFileRetentionDays": 30,
"ManagementCallers": [
"myDomain\\dynamics",
"VM-DYNAMICSGP\\Administrators",
"VM-DYNAMICSGP\\dynamics"
],
"MaxConcurrentCalls": 1000,
"ProcessIdleTimeout": "00:30:00",
"ProcessRebalanceFrequency": "00:01:30",
"SecurityGroupCacheRefreshFrequency": "00:01:00",
"SendTimeout": "00:05:00",
"ShutdownTimeout": "00:00:00",
"TenantListRefreshFrequency": "00:00:30",
"TenantRepositorySource": "TenantConfiguration.xml",
"TenantUserCacheRefreshFrequency": "00:00:30"
},
"HostDefinitions": {
"Stats": {
"Timestamp": "2015-07-02T13:58:25.9333421+02:00",
"Age": "00:00:11"
},
"Hosts": [
{
"HostId": "VM-DYNAMICSGP",
"IsActive": true,
"MaxConcurrentProcesses": 30,
"ServiceControlAddress": "https://localhost:48655/Control"
}
]
},
"Tenants": {
"Stats": {
"Timestamp": "2015-07-02T13:58:25.9333421+02:00",
"Age": "00:00:11"
},
"Tenants": [
{
"Name": "DefaultTenant",
"IsActive": true,
"ApplicationInstance": "DEFAULT",
"GPVersion": "14",
"Revision": "2c1f7a2e637cb557f481dbd4f2cd3af433128396"
}
]
},
"AllowedCORSOrigins": {
"Stats": {
"Timestamp": "2015-07-02T13:58:25.4765893+02:00",
"Age": "00:00:12"
},
"Entries": []
},
"HostStatusMessages": [],
"RoutingTable": [],
"LoadedAssemblyInfo": [
{
"FullName": "Microsoft.Dexterity.Svc.Foundation, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
"FileVersion": "14.00.0039.000",
"Timestamp": "2014-09-16T21:00:17"
},
{
"FullName": "Microsoft.Dynamics.GP.Svc.Foundation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
"FileVersion": "1.0.111.0",
"Timestamp": "2015-03-09T19:09:45"
},
{
"FullName": "Microsoft.Dynamics.GP.Svc.GPService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
"FileVersion": "1.0.111.0",
"Timestamp": "2015-03-09T19:10:33"
}
]
}
The parameteres "HostStatusMessages" and "RoutingTable" are empty. I think that this is the problem, but I don't know as I can solve it.
Can anybody help me?
Thanks!
*This post is locked for comments