Deployment problem moving between environments


Badge +3

Anyone seen this error:


Error occurred during XML Mapping:SmartObjectServer Exception: Error refreshing ServiceInstance 'WorkflowReportingService'. Service returned : 'Workflow Reporting SO Service: Process AF.AFMC.WPAFB.PDSPDS could not be found.


I attached the full error file.


3 replies

Badge +3
  It was issue when running a test deployment via a deployment package as the build file was configured to create the Workflow Reporting SmartObjects.  When running test deployments this can be disabled in the build file to avoid the error.  When running the actual deployment the error does not occur.
Userlevel 4
Badge +14

Disable the creation of the Reporting SmartObjects by adding <Create_Workflow_Reporting_Smart_Objects>False</Create_Workflow_Reporting_Smart_Objects>


to the build.


 

Badge +3

The problem was only happening executing the deployment with the "TestOnly=True" parameter as follows:
msbuild "c:deployaf.afmc.wpafb.p
dsdeploymentxxx.xxx.msbuild" /p:TestOnly=True /p:Environment=Product
ion

When a process is created in Visual Studio the Workflow Reporting SmartObjects are enabled by default. When deploying via the deployment package using the "TestOnly=True" parameter, the error will occur as the build file is configured to create the Workflow Reporting SmartObjects. To avoid this error when running test deployments, the creation of the Reporting SmartObjects can be disabled in the build file as follows:
"<Create_Workflow_Reporting_Smart_Objects>False</Create_Workflow_Reporting_Smart_Objects>"

Reply