Errors Upgrading fr...
 
Notifications
Clear all

Errors Upgrading from v1.4.1 to v1.4.2

7 Posts
4 Users
0 Reactions
2,849 Views
Posts: 8
(@nemerko)
Active Member
Joined: 8 years ago

Hello,

I faced similar bug during update enterprise server from 1.4.1 to 1.4.2. I used installer for update portal, server end enterprise server. Portal and server updated without any error but enterprise server gave error and installer crashed and closed itself.

After read this topic I checked sql script and saw the same error. I tried to manual update fixed database script as TekkGuy said. After all i checked all the servers are running v1.4.2 and portal too. For the enterprise I saw its working v.1.4.2 but installer was showing 1.4.1. Then I fixed from config file it.

But still I have a problem. When i click on the "web sites" link on the panel I'm getting this error message:

Stack Trace:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: There is an error in the XML document. ---> System.IO.FileLoadException: Could not load file or assembly 'SolidCP.Providers.Base, Version=1.4.2.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) 
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) 
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) 
at System.Type.GetType(String typeName) 
at System.Data.Common.DataStorage.GetType(String value) 
at System.Data.XSDSchema.SetProperties(Object instance, XmlAttribute[] attrs) 
at System.Data.XSDSchema.HandleElementColumn(XmlSchemaElement elem, DataTable table, Boolean isBase) 
at System.Data.XSDSchema.HandleParticle(XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, Boolean isBase) 
at System.Data.XSDSchema.HandleComplexType(XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, Boolean isNillable) 
at System.Data.XSDSchema.InstantiateTable(XmlSchemaElement node, XmlSchemaComplexType typeNode, Boolean isRef) 
at System.Data.XSDSchema.HandleTable(XmlSchemaElement node) 
at System.Data.XSDSchema.HandleDataSet(XmlSchemaElement node, Boolean isNewDataSet) 
at System.Data.XSDSchema.LoadSchema(XmlSchemaSet schemaSet, DataSet ds) 
at System.Data.DataSet.ReadXSDSchema(XmlReader reader, Boolean denyResolving) 
at System.Data.DataSet.ReadXml(XmlReader reader, XmlReadMode mode, Boolean denyResolving) 
at System.Data.DataSet.ReadXmlSerializable(XmlReader reader) 
at System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.ReadXml(XmlReader reader) 
at System.Xml.Serialization.XmlSerializationReader.ReadSerializable(IXmlSerializable serializable, Boolean wrappedAny) 
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderesPackages.Read46_Item() 
at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer64.Deserialize(XmlSerializationReader reader) 
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) 
--- End of inner exception stack trace --- 
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) 
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) 
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) 
at SolidCP.EnterpriseServer.esPackages.GetRawPackageItemsPaged(Int32 packageId, String groupName, String typeName, Int32 serverId, Boolean recursive, String filterColumn, String filterValue, String sortColumn, Int32 startRow, Int32 maximumRows) 
at SolidCP.Portal.ServiceItemsHelper.GetServiceItemsPaged(Int32 packageId, String groupName, String typeName, Int32 serverId, Boolean recursive, String filterColumn, String filterValue, Int32 maximumRows, Int32 startRowIndex, String sortColumn) 
--- End of inner exception stack trace --- 
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 
at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)

So, i checked all servers. Seem like everything normal but still I could not edit websites now. Have you any advice for me?

Regards..

Reply
Posts: 1995
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

For the installer update process it's very important to also stop the scheduler in the windows services area before starting, and backup the scheduler .config file in enterprise/bin

In general i would recommend using the powershell update script (as it does everything automatically for you).

Once completed also make sure the scheduler config is still there (installer has a tendency to remove it), and start the scheduler service.

This should avoid most issues in total.

For your specific error: SolidCP.Providers.Base, Version=1.4.2.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference

Does mean one or more files have not been properly updated.

You can try a manual update using the manual update zip: http://installer.solidcp.com/Files/1.4.2/Manual-Update.zip

Just make sure you stop the scheduler first.

Regards,

Marco

Reply
Page 2 / 2
Share: