Hello,
I am getting the below error while trying to deploy the report from visualstudio to AOT. This looks very strange. Can any one of you please help me with this?
Note: I can able to build it but not able to add it to AOT and deploy it.
------ Build started: Project: Cheque_USReport, Configuration: Debug Any CPU ------
\SSRS Reports\Reports\Cheque_US : error : System.InvalidOperationException: Object is currently in use elsewhere.
at Microsoft.VisualStudio.Modeling.GlobalEventManagerImpl.NotifyObservers(Object sender, EventArgs e)
at Microsoft.VisualStudio.Modeling.ElementEventManagerImpl.NotifyObservers(Object sender, EventArgs e)
at Microsoft.VisualStudio.Modeling.AddElementLinkCommand.NotifyObservers()
at Microsoft.VisualStudio.Modeling.Transaction.Commit()
at Microsoft.Dynamics.Framework.Design.Model.Reports.DataMethodSynchronizerHelper.SynchronizeExistingDataMethods(ModelValidationContext context, ReportDefinition report, List`1 assemblyDataMethods)
at Microsoft.Dynamics.Framework.Design.Model.Reports.DataMethodConstraint.ValidateDataMethods(ModelValidationContext context, ReportDefinition report)
at Microsoft.Dynamics.Framework.Design.Model.Reports.ReportConstraint.Validate(ModelValidationContext context, ReportDefinition element)
at Microsoft.Dynamics.Framework.Design.Model.GenericConstraint`1.Validate(ModelElement modelElement, ModelValidationContext context)
at Microsoft.Dynamics.Framework.Design.Model.ModelValidationEngine.Validate(ModelElement modelElement, ModelValidationContext context)
: error : Invoke validation method ‘Validation’ failed
Done building project “Cheque_USReport.dynamicsproj” – FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
Thanks in advance…