000028912 - Archer dfx5 datafeed file import error

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000028912
Applies ToArcher 5x versions
IssueGet the below error while trying to import a dfx5 datafeed file



Data feed import error: 

And unexpected error has occurred : {0}



The Error log contains the below messages:


 
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
<System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
<EventID>3</EventID>
<Type>3</Type>
<SubType Name="Error">0</SubType>
<Level>2</Level>
<TimeCreated SystemTime="2014-09-15T11:56:01.0782161Z" />
<Source Name="ArcherTech.DataFeed" />
<Correlation ActivityID="{f675a991-81fd-445e-b2f0-bad875a90161}" />
<Execution ProcessName="w3wp" ProcessID="4476" ThreadID="32" />
<AssemblyVersion>5.5.10002.1001</AssemblyVersion>
<Channel />
<Computer>WINVM138167</Computer>
</System>
<ApplicationData>
<TraceData>
<DataItem>
<TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
<TraceIdentifier>ArcherTech.DataFeed</TraceIdentifier>
<Description>Data Feed CreateFeed failed</Description>
<AppDomain>/LM/W3SVC/1/ROOT/RSAarcher-1-130552555333531909</AppDomain>
<ContextData>
<ValidationMessage>
<Key>ValidationMessageTemplates:DataFeedUnexpectedError</Key>
<Severity>Error</Severity>
<Description>Unexpected error: There was an unexpected problem while connecting to the queue.</Description>
<Reason>Error</Reason>
<Validator>ArcherTech.DataFeed.RequestHandler.DataFeedRequestHandler, ArcherTech.DataFeed, Version=5.5.10002.1001, Culture=neutral, PublicKeyToken=null</Validator>
</ValidationMessage>
</ContextData>
<Exception>
<ExceptionType>System.Configuration.Provider.ProviderException, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</ExceptionType>
<Message>There was an unexpected problem while connecting to the queue.</Message>
<Source>ArcherTech.JobFramework.SqlServerPlugins</Source>
<StackTrace> at ArcherTech.JobFramework.SqlServerPlugins.DistributedSqlServerJobQueueProvider.AddSchedule(JobSchedule schedule)
at ArcherTech.JobFramework.Host.Job.JobManager.AddSchedule(String jobType, String instanceName, JobPriority priority, Boolean waitForLastOccurrence, RecurrencePattern recurrencePattern, String setupData, Dictionary`2 namedValueArguments, Nullable`1 startTimeUtc, Guid[] waitingOnJobIds)
at ArcherTech.JobFramework.JobFramework.AddSchedule(Type jobType, String instanceName, JobPriority priority, Boolean waitForLastOccurrence, RecurrencePattern recurrencePattern, String setupData, Dictionary`2 namedArgumentValues, Nullable`1 startTime, Guid[] waitingOnJobIds)
at ArcherTech.DataFeed.RequestHandler.DataFeedRequestHandler.CreateSchedule(SessionContext context, DataFeed datafeed, RecurrencePattern recurrencePattern, Boolean isActive, Guid[] waitingOnJobIds)
at ArcherTech.DataFeed.RequestHandler.DataFeedRequestHandler.CreateScheduleForFeed(SessionContext context, DataFeedInfo feedInfo, DataFeed feed, List`1 errors)
at ArcherTech.DataFeed.RequestHandler.DataFeedRequestHandler.CreateFeed(SessionContext context, DataFeedInfo feedInfo, Boolean import)</StackTrace>
<InnerException>
<ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>There was an error generating the XML document.</Message>
<Source>System.Xml</Source>
<ContextData>
<ScheduleId>{d481ef05-d04c-452a-9e97-284fdd6b335d}</ScheduleId>
<Instance>Archer</Instance>
<Procedure>usp_async_job_queue_set_job_schedule</Procedure>
</ContextData>
<StackTrace> at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
at ArcherTech.JobFramework.Job.RecurrencePattern.Serialize(RecurrencePattern entity)
at ArcherTech.JobFramework.SqlServerPlugins.DistributedSqlServerJobQueueProvider.AddSchedule(JobSchedule schedule)</StackTrace>
<InnerException>
<ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
<Message>Instance validation error: '-1' is not a valid value for System.DayOfWeek.</Message>
<Source>ArcherTech.JobFramework.XmlSerializers</Source>
<StackTrace> at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterRecurrencePattern.Write1_DayOfWeek(DayOfWeek v)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterRecurrencePattern.Write6_RecurrencePattern(String n, String ns, RecurrencePattern o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterRecurrencePattern.Write7_RecurrencePattern(Object o)</StackTrace>
</InnerException>
</InnerException>
</Exception>
</TraceRecord>
</DataItem>
</TraceData>
</ApplicationData>
</E2ETraceEvent>

 
ResolutionThe dfx5 file (xml) contains : dayofweek=-1.

Which is an invalid value to import.
Even though we get the error, the datafeed will get imported. 



The two issues that arise due to this are: 

- Data feed xml contains the same value for the dayofweek when the schedule is monthly 
- And the dfx5 export file contain an invalid value for the dayofweek.
Logged a defect for the same ARCHCE-119
Change the schedule in the source environment to Daily -> Save -> Export -> Import in the new environment.

Then make the changes to the schedule in both the environments.

Attachments

    Outcomes