Issue | Creating new content records after upgrade causes unexpected error UI.
<ApplicationData> <TraceData> <DataItem> <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord"> <TraceIdentifier>Archer.Web</TraceIdentifier> <LogReferenceId>051717-151641-2765</LogReferenceId> <Description>There was an error deserializing the object of type ArcherTech.Configuration.DatasourcePropertiesCollection. The token '"' was expected but found '&'.</Description> <AppDomain>/LM/W3SVC/2/ROOT/RSAarcher-1-131395075417923978</AppDomain> <ContextData> <BaseUrl>https://archer-lab.wal-mart.com:44331/RSAarcher/SearchContent/Search.aspx</BaseUrl> <view>Lookup</view> <Report>ReportId: 17169, ReportName: XREF Lookup Report, ReportType: SearchBased</Report> <Field>FieldId: 61297, FieldName: Facility, FieldType: CrossReference, IsActive: true, LevelId: 682</Field> <Module>ModuleId: 69, ModuleName: Facilities, ModuleStatus: ActiveInProduction, ModuleType: Application</Module> <maxValue>1</maxValue> <levelFilterId>60</levelFilterId> <IsLevelSpecificCrossReference>True</IsLevelSpecificCrossReference> </ContextData> <Exception> <ExceptionType>System.Runtime.Serialization.SerializationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType> <Message>There was an error deserializing the object of type ArcherTech.Configuration.DatasourcePropertiesCollection. The token '"' was expected but found '&'.</Message> <Source>System.Runtime.Serialization</Source> <StackTrace> at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) at System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader) at ArcherTech.Configuration.InstanceProperties.get_DatasourcePropertiesCollection() at ArcherTech.Datasource.Content.ContentIdentityFactory.ConstructContentIdentities(IEnumerable`1 trackingIdMaps, String instanceName) at ArcherTech.Kernel.Brokers.ContentBroker.LoadFields(IEnumerable`1 permissionedbaseContents, IList`1 fieldDefinitions) at ArcherTech.Kernel.Brokers.ContentBroker.Get(IList`1 contentIds, IList`1 fieldIds) at ArcherTech.Kernel.Managers.ContentManager.Get(SessionContext sessionContext, IList`1 contentIds, IList`1 fieldIds) at ArcherTech.Web.Modules.GenericContent.DataManagers.SearchResultsContentLoader.GetContent(SessionContext session, SearchResultsDataContainer srdata, IDictionary`2 contentIdsByLevel, SearchResultViewConfiguration resultViewConfiguration) at ArcherTech.Web.Modules.GenericContent.SearchExecutor.SearchResultsBuildOut(SearchResultsDataContainer srdata) at ArcherTech.Web.Modules.GenericContent.SearchExecutor.ExecuteSearch(SearchResultViewConfiguration resultViewConfiguration, Boolean includeNoSelection) at ArcherTech.Web.Modules.SearchContent.Views.SearchResultsPresenter.ExecuteSearch(SearchResultViewConfiguration resultsViewConfiguration, Boolean includeNoSelection) at ArcherTech.Web.Modules.SearchContent.Views.SearchResultsPresenter.ExecuteLookupSearch(SearchResultViewConfiguration resultsViewConfiguration, Boolean includeNoSelection) at Security2000.SearchContent.SearchResults.ExecuteSearch(SearchResultViewConfiguration resultsViewConfiguration) at Security2000.SearchContent.Search.GetSearchResults() at ArcherTech.Web.Modules.SearchContent.Views.SearchPresenter.OnViewInitialized() at ArcherTech.Web.ArcherTechPage`2.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</StackTrace> <InnerException> <ExceptionType>System.Xml.XmlException, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType> <Message>The token '"' was expected but found '&'.</Message> <Source>System.Runtime.Serialization</Source> <StackTrace> at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3) at System.Runtime.Serialization.Json.XmlJsonReader.ReadServerTypeAttribute(Boolean consumedObjectChar) at System.Runtime.Serialization.Json.XmlJsonReader.Read() at System.Runtime.Serialization.Json.JsonCollectionDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) at System.Runtime.Serialization.Json.XmlObjectSerializerReadContextComplexJson.ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract) at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns) at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName) at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)</StackTrace> </InnerException> </Exception> </TraceRecord> </DataItem> </TraceData> </ApplicationData>
|
Cause | Client had exported the instance from another environment and imported to this new environment. Export XML has this bad data.
[{"DatasourceType":"ArcherTech.Datasource.Content.Sql.ArcherSqlContentDatasource","LocationAlias" :"ARCHER","Properties":{}},{"DatasourceType":"ArcherTech.Datasource.Content.Sql.ArcherSqlContentDatasource" ;,"LocationAlias":"SYS_REF","Properties":{}},{"DatasourceType" :"ArcherTech.Datasource.Content.System.Workpoint.ArcherWorkPointContentDatasource" ,"LocationAlias":"SYS_WF","Properties":{}}]
|