We had a strange issue with one of our client, all the system jobs created are going to waiting state. Event logs doesn't have much details on the error. So i have enabled Trace on the CRM server using CRM 4 diagnostic tool.
The logs had some Error entries and the error message says
"System.Net.WebException: The request failed with HTTP status 404: Not Found."
I did some search on the above error message found some links where they suggest that the Async service is pointing to some wrong CRM Service URL.
The Async service points to CRM Service using the settings in a table called DeploymentProperties in MSCRM_CONFIG database.
The value for the field "AsyncSDKRootDomain" is blank in DeploymentProperties and i have updated the record with the value <CRMSERVER>:<PORT>.
Sql Script:
update deploymentproperties set NVarcharColumn='<CRMSERVER>:<PORT>' where columnname='AsyncSDKRootDomain'
This fixed the issue and system jobs started working.
Happy coding.
The logs had some Error entries and the error message says
"System.Net.WebException: The request failed with HTTP status 404: Not Found."
I did some search on the above error message found some links where they suggest that the Async service is pointing to some wrong CRM Service URL.
The Async service points to CRM Service using the settings in a table called DeploymentProperties in MSCRM_CONFIG database.
The value for the field "AsyncSDKRootDomain" is blank in DeploymentProperties and i have updated the record with the value <CRMSERVER>:<PORT>.
Sql Script:
update deploymentproperties set NVarcharColumn='<CRMSERVER>:<PORT>' where columnname='AsyncSDKRootDomain'
This fixed the issue and system jobs started working.
Happy coding.