Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Unable to build SSRS reports in Visual Studio after adding a new field in temp table

$
0
0

Hi All,

I am trying to modify Inventory on hand SSRS report in AX 2012 R2. I need to add one column, so for this purpose I added a new field in temp table, modified the DP class and then refresh the dataset in Visual Studio, added the field in AutoDesign. Now when I am trying to build the project, I am getting the below error in VS:

Error 1 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.ExistingElementEventManagerImpl.NotifyObservers(Object sender, EventArgs e)

  at Microsoft.VisualStudio.Modeling.DeleteElementCommand.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) \SSRS Reports\Reports\InventOnhand 0 0 InventOnhandReport

I already tried to restart SQL server reporting services and AOS but still getting the same error. Can anyone please let me know how to resolve this error, as I have already spent hours and hours trying to resolve this issue.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>