Hi,
We've just upgraded our build server and our deployment script is now failing when trying to archive a site. The line in question is
msdeploy -verb:sync -source:metakey=lm/w3svc/%metakey%,computerName=XXX,userName=XXX,password=XXX -dest:archivedir=%applicationArchivePath% > D:\codeweavers\archive\_temp\webdeploy_archive.log -skip:objectName=filePath,absolutePath=.*NhibernateLogs*
We're getting the error:
Fatal: StreamMustBeginWithSystemInfo
Fatal count: 1
Here it is with the -debug attribute:
Microsoft.Web.Deployment.DeploymentException: StreamMustBeginWithSystemInfo
at Microsoft.Web.Deployment.PackageDeserializer..ctor(Stream stream)
at Microsoft.Web.Deployment.AgentClientProvider.get_SerializationProviderInternal()
at Microsoft.Web.Deployment.AgentClientProvider.get_KeyAttributeName()
at Microsoft.Web.Deployment.DeploymentObject.EnsureValidAttributes()
at Microsoft.Web.Deployment.DeploymentObject.get_IsValid()
at Microsoft.Web.Deployment.DeploymentManager.CreateObject(String factoryName, String path, DeploymentObjectBaseConfig baseConfig)
at MSDeploy.MSDeploy..ctor(Boolean debug, String[] args)
at MSDeploy.MSDeploy.Main(String[] args)
Fatal count: 1
We're using the new Beta 2 version of MSDeploy, on Windows Server 2008. The computer we're backing up the site from is running IIS6 and hasn't changed (i.e. was working before we changed the build server we're running the command from).
Any help would be greatly appreciated.