web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error Value Cannot be be null when edit SSRS Report

(0) ShareShare
ReportReport
Posted on by 140

What could be problem?

When I edit Report Design VS2010, I get Error box "Value Cannot be be null. Parameter name: name" and I see a Report Design in backgroud. (all reports show same error)

null.png

When I rebuild, error log show bellow:

Error    2    The "GenerateRdlTask" task failed unexpectedly.
System.ArgumentNullException: Value cannot be null.
Parameter name: key
   at System.Collections.ObjectModel.KeyedCollection`2.Contains(TKey key)
   at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.ItemLookup`2.SetItem(TItem item)
   at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.ItemCache`2.<>c__DisplayClassc.<GetItemCustom>b__b()
   at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.CacheBase.CacheRead(ICacheReadArgs cacheReadArgs, Action tryReadAction, Action readThroughAction)
   at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.ItemCache`2.GetItemCustom(TKey key, Func`2 itemAccessor)
   at Microsoft.Dynamics.AX.Framework.Services.Metadata.Caching.ItemCache`2.GetItem(TKey key)
   at Microsoft.Dynamics.AX.Framework.Services.Client.MetadataCache.GetLabels(String languageId, IEnumerable`1 labelIds)
   at Microsoft.Dynamics.AX.Framework.Reporting.Shared.ClientServicesProxy.OnGetLabels(String languageId, IEnumerable`1 labelIds)
   at Microsoft.Dynamics.AX.Framework.Reporting.Shared.ClientServicesProxy.GetLabels(String languageId, IEnumerable`1 labelIds)
   at Microsoft.Dynamics.AX.Framework.Reporting.Shared.ReportParameterPromptStringResolver.Resolve(Stream input, String language)
   at Microsoft.Dynamics.Framework.Deployment.Reports.GenerateRdlTask.GetRDLForDesign(IReportDesignDefinition reportDesign, String[] assemblyReferences)
   at Microsoft.Dynamics.Framework.Deployment.Reports.GenerateRdlTask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()    C:\Program Files (x86)\MSBuild\Microsoft\DynamicsTools\Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets    103    6    WCS_DailyCashFlow

Any solution for this?

TIA

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    MbokJamu Profile Picture
    140 on at
    RE: Error Value Cannot be be null when edit SSRS Report

    I already solve my problem. That's error not from VS but from model and baseline database. After I restore from my backup, everything go fine.

  • MbokJamu Profile Picture
    140 on at
    RE: Error Value Cannot be be null when edit SSRS Report

    Hi Dinkar,

    Thanks for answer, but that report doesn't have name parameter. All report have same problem, even AX default report. I try to reinstall visual studio, but nothing different.

  • Suggested answer
    startax Profile Picture
    1,845 on at
    RE: Error Value Cannot be be null when edit SSRS Report

    Hi Dudik Andriyanto,

    It looks Field name is a parameter in report and its mandatory field in report. Based on the value of Name field it gives you the output.

    Give some correct value in parameter.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans