mmajcica / DeploySsrs

Build-Release task for VSTS/TFS that manages Microsoft's SQL Server Reporting Services
MIT License
21 stars 21 forks source link

Error when deploying Data Sources #20

Closed anderslars closed 5 years ago

anderslars commented 5 years ago

Build runs without issue, unless I have Reference Datasets checked. Syntax of my data sources follows the examples in the "Example of the configuration file". Error is - "The property 'InnerText' cannot be found on this object. Verify that the property exists and can be set". assuming tied to the line of code mentioned in this issue https://github.com/mmajcica/DeploySsrs/issues/14 -$Datasources | Where-Object { $.Name -eq $node.Name } | ForEach-Object { $node.DataSourceReference = $.Path.ToString() ; $node.ChildNodes[2].InnerText = $_.Id }

any thoughts on what I have missing? Thanks!!

anderslars commented 5 years ago

Closing. assuming its an environment specific issue