Exception when using modificationWriter

Added by Mikael Evander almost 3 years ago

Hi, I'm using cruisecontrol together with SourceGear Vault Standard (server is version 7.1.0.2028) . I'm getting the following exception when I'm using the modificationWriter.
IT seems the code is looking for a VaultProModification, although I'm using Vault Standard. I'm sure I'm using the correct plugin from vault, i.e. the standard assemblies. Any idea what the problem could be?

Error Message: System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: The type ThoughtWorks.CruiseControl.Core.VaultProModification was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterModificationArray.Write2_Modification(String n, String ns, Modification o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterModificationArray.Write3_ArrayOfModification(Object o)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o)
at ThoughtWorks.CruiseControl.Core.Tasks.ModificationWriterTask.Execute(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Tasks.TaskBase.Run(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Project.RunTask(ITask task, IIntegrationResult result, Boolean isPublisher)
at ThoughtWorks.CruiseControl.Core.Project.RunTasks(IIntegrationResult result, IList tasksToRun, Dictionary`2 parameterValues)
at ThoughtWorks.CruiseControl.Core.Project.Run(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)

Regards,
Mikael