microsoft / Dynamics-365-FastTrack-Implementation-Assets

Dynamics 365 FastTrack Implementation guides
MIT License
299 stars 193 forks source link

Cannot read manifest data in CDMUtil_ConsoleApp #167

Open zicava opened 1 year ago

zicava commented 1 year ago

Hi Folks,

Thanks so much for building this utility!

I am trying to use the console app to connect to our storage account and read manifests, however, I am not able to read the metadata due to the following error.

12:28:48 fail: CDMUtil.ConsoleApp[0] Value cannot be null. (Parameter 'source')
12:28:48 fail: CDMUtil.ConsoleApp[0]    at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)    at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)    at CDMUtil.Manifest.ManifestReader.getColumnAttributes(CdmEntityDefinition entityDefinition, AppConfigurations c, ILogger logger)    at CDMUtil.Manifest.ManifestReader.manifestToSQLMetadata(AppConfigurations c, List`1 metadataList, ILogger logger, String parentFolder)

image

Parameters values as shown in the screenshot.

Thanks!

Zic

priyankaschwartz-8451 commented 1 year ago

I am getting the same error. Any update if this is fixed?

SajeerAssiz commented 1 year ago

CDMUtil.ConsoleApp[0] Value cannot be null. (Parameter 'source') CDMUtil.ConsoleApp[0] at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Where[TSource](IEnumerable1 source, Func2 predicate) at CDMUtil.Manifest.ManifestReader.getColumnAttributes(CdmEntityDefinition entityDefinition, AppConfigurations c, ILogger logger) at CDMUtil.Manifest.ManifestReader.manifestToSQLMetadata(AppConfigurations c, List`1 metadataList, ILogger logger, String parentFolder) : Is anyone have a solution

datadu-de commented 1 year ago

I have the same issue

05:15:56 info: CDMUtil.ConsoleApp[0] Key: TenantId Value: ***
05:15:56 info: CDMUtil.ConsoleApp[0] Key: AccessKey Value:***
05:15:56 info: CDMUtil.ConsoleApp[0] Key: ManifestURL Value: ***
05:15:56 info: CDMUtil.ConsoleApp[0] Key: TargetDbConnectionString Value:***
05:15:56 info: CDMUtil.ConsoleApp[0] Key: DDLType Value: SynapseExternalTable
05:15:56 info: CDMUtil.ConsoleApp[0] Key: ParserVersion Value: 1.0
05:15:56 info: CDMUtil.ConsoleApp[0] Key: DefaultStringLength Value: 1000
05:15:56 info: CDMUtil.ConsoleApp[0] Key: ProcessSubTableSuperTables Value: false
05:15:56 info: CDMUtil.ConsoleApp[0] Reading Manifest metadata ***/Tables/Tables.manifest.cdm.json
05:15:56 info: CDMUtil.ConsoleApp[0] Sub-Manifest:Tables/General
05:15:57 info: CDMUtil.ConsoleApp[0] Sub-Manifest:Tables/General/Group
05:15:57 info: CDMUtil.ConsoleApp[0] Manifest:Group.manifest.cdm.json
05:15:57 fail: CDMUtil.ConsoleApp[0] Value cannot be null. (Parameter 'source')
05:15:57 fail: CDMUtil.ConsoleApp[0]    at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)    at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)    at CDMUtil.Manifest.ManifestReader.getColumnAttributes(CdmEntityDefinition entityDefinition, AppConfigurations c, ILogger logger)    at CDMUtil.Manifest.ManifestReader.manifestToSQLMetadata(AppConfigurations c, List`1 metadataList, ILogger logger, String parentFolder)