Error in SalesLogix When Applying Bundle

Question: In SalesLogix I have created a new tab on the Opportunity screen
call OPARegistration, and the tab is mapped as a 1 to many.  I have
also created an edit form for the fields of the OPARegistation table. 
These changes are working fine on my Dev machine but after bundling and
installing on a different machine I get the following error:

ERROR
– System.IO.FileLoadException: Unable to load file, ‘Entity
ModelSalesLogix Application
EntitiesOPARegistrationQuickFormsEditOPARegistr?ation.main.quickform.xml’.
—> System.Reflection.TargetInvocationException: Exception has been
thrown by the target of an invocation. —>
System.InvalidOperationException: There is an error in XML document (1,
969). —> System.Xml.XmlException: ‘Element’ is an invalid
XmlNodeType. Line 1, position 969. at
System.Xml.XmlReader.ReadEndElement() at
Sage.Platform.QuickForms.ActionItems.ActionItemDef?inition.ReadXml(XmlReader
reader) at
System.Xml.Serialization.XmlSerializationReader.Re?adSerializable(IXmlSerializable
serializable, Boolean wrappedAny) at
System.Xml.Serialization.XmlSerializationReader.Re?adSerializable(IXmlSerializable
serializable) at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS?erializationReaderQFTextBox.Read11_QFTextBox(Boole?an
isNullable, Boolean checkType) at
Microsoft.Xml.Serialization.GeneratedAssembly.XmlS?erializationReaderQFTextBox.Read12_QFTextBox()
— End of inner exception stack trace — at
System.Xml.Serialization.XmlSerializer.Deserialize?(XmlReader xmlReader,
String encodingStyle, XmlDeserializationEvents events) at
System.Xml.Serialization.XmlSerializer.Deserialize?(TextReader
textReader) at
Sage.Platform.QuickForms.XmlSerialization.QuickFor?msObjectSerializer.Deserialize()
at
Sage.Platform.QuickForms.XmlSerialization.Deserial?izeProperty(XmlNode
propNode, Object component) at
Sage.Platform.QuickForms.ControlFactory.LoadXml(Xm?lNode
controlDefinitionNode) at
Sage.Platform.QuickForms.Elements.QuickFormPropert?yDescElement.LoadXml(XmlNode
elementNode) at
Sage.Platform.QuickForms.QuickFormMainDetailViewDe?finition.DeserializeElement(XmlNode
elementNode, ICollection`1 elementList) at
Sage.Platform.QuickForms.QuickFormMainDetailViewDe?finition.DeserializeFormFromXml(XmlNode
rootNode) at
Sage.Platform.QuickForms.QuickFormMainDetailViewDe?finition.Deserialize(Stream
formStream) at
Sage.Platform.QuickForms.QuickFormMainDetailViewDe?finition..ctor(Stream
formStream, IProject project) — End of inner exception stack trace
— at System.RuntimeMethodHandle._InvokeConstructor(Obje?ct[] args,
SignatureStruct& signature, IntPtr declaringType) at
System.RuntimeMethodHandle.InvokeConstructor(Objec?t[] args,
SignatureStruct signature, RuntimeTypeHandle declaringType) at
System.Reflection.RuntimeConstructorInfo.Invoke(Bi?ndingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder
binder, Object[] args, CultureInfo culture, Object[]
activationAttributes) at System.Activator.CreateInstance(Type type,
BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo
culture, Object[] activationAttributes) at
Sage.Platform.QuickForms.QuickFormSerializer.Deser?ialize(Stream stream,
IModelItemSerializationContext context) at
Sage.Platform.Projects.ProjectBase.LoadUrl(IModelI?tem parent, String
url, Type type) at Sage.Platform.Projects.ProjectBase.GetImpl(String
url, IModelItem parent, Boolean reload, Type type) at
Sage.Platform.Projects.ProjectBase.Get[T](String url, IModelItem parent)
at
Sage.Platform.Projects.Collections.ParentFileQuery?Collection`1.LoadFiles(IFileInfo[]
files, PersistentErrorDelegate errorHandler) at
Sage.Platform.Projects.Collections.ParentFileQuery?Collection`1.LoadFiles(IFileInfo[]
files, PersistentErrorDelegate errorHandler) at
Sage.Platform.Projects.Collections.ParentFileQuery?Collection`1.Load(IDirectoryInfo
path, String searchPattern, Boolean recursive, IModelItem parent,
PersistentErrorDelegate errorHandler) at
Sage.Platform.Projects.Collections.ParentFileQuery?Collection`1.Load(IDirectoryInfo
path, String searchPattern, Boolean recursive, IModelItem parent) at
Sage.Platform.QuickForms.QuickFormModel.LoadDefini?tions(IModelItem
modelItem) at
Sage.Platform.QuickForms.WebFormGen.InterfaceBuild?Package.ProcessForms(IModelItem
parent, IEnumerable`1 generatorList, BuildType buildType, ICollection`1
buildItemFiles) at
Sage.Platform.QuickForms.WebFormGen.InterfaceBuild?Package.GenerateInternal(OperationStatus
op, BuildType buildType) at
Sage.Platform.Extensibility.DeploymentPackageBase.?Generate(OperationStatus
op, BuildType buildType) at
Sage.Platform.Extensibility.Services.RegisteredPla?tform.Generate(IProject
project, OperationStatus op, BuildType buildType) at
Sage.Platform.AdminModule.AdminModuleInit.Deploy(R?egisteredPlatform
platform, OperationStatus op, BuildType buildType) at
Sage.Platform.AdminModule.AdminModuleInit.BuildWeb?ObjectsImpl(OperationStatus
op)

Can you let me know why this might be happening?

Answer:  From the looks of it, the best guess is a problem with one of
the quickforms.  Try removing the quickforms when you create your bundle
and then apply to your new system.  If this is successful try to bundle
the quickforms individually.

 

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!