Hi all,
while trying to deploy a deploy package to the production environment (we're using msbuild utility), we get the error "Root element is missing" and the deploy process fails. The same package deploys correctly on the other environments (development, test, UAT).
We also created a test package containing a very simple smartobject (1 field/smartbox only) without any dependency and tried again obtaining the same result (package deploy runs correctly in test and UAT, fails in production).
We checked configuration of the UAT K2 Blackpearl engine against the production one and they seem identical. Our version of K2 Blackpearl seems to be 4.8210.2.0 4.8210.3.0.
Has any of you already fighted (and possibly won) with the "Root element is missing" error?
Thanks so much!
Fede
This is the deploy script:
C:WindowsMicrosoft.NETFrameworkv2.0.50727MSBuild ".DeployTesterDeploymentDeployTester.msbuild /p:Environment=Production"
This is the output of the deploy script:
Microsoft (R) Build Engine Version 2.0.50727.3053
9Microsoft .NET Framework, Version 2.0.50727.3074]
Copyright (C) Microsoft Corporation 2005. All rights reserved.
Build started 14/10/2009 10.37.14.
__________________________________________________
Project "C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild" (default targets):
Target Deploy SmartObjects and Associations:
__________________________________________________
Project "C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild" is building "C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild" (InitDeploy target(s)):
14/10/2009 10.37.14: =============== Deploy smartobjects and associations: Task started ===============
14/10/2009 10.37.14: Creating connection on K2ENGINE.XYZ.IT : 5555 ...
14/10/2009 10.37.14: Connected
C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild(86,5): error : Deploy smartobjects: Task error: SmartObjectServer Exception: Could not publish SmartObjectDefinition to server: Root element is missing.
C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild(86,5): error : . SmartObject: 'DeployTester'
C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild(86,5): error :
14/10/2009 10.37.17: =============== Deploy smartobjects and associations: Task completed ===============
Done building target "Deploy SmartObjects and Associations" in project "DeployTester.msbuild" -- FAILED.
Done building project "DeployTester.msbuild" -- FAILED.
Build FAILED.
C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild(86,5): error : Deploy smartobjects: Task error: SmartObjectServer Exception: Could not publish SmartObjectDefinition to server: Root element is missing.
C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild(86,5): error : . SmartObject: 'DeployTester'
C:K2ProcessDeployPackageDeployTesterDeploymentDeployTester.msbuild(86,5): error :
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:02.24