Hi all, I am hoping someone else has seen this and knows how to resolve it. I (successfully) upgraded (i.e. completed the data upgrade for in-place upgrade checklist) a customer environment from R2 cu7 to R3. Afterwards I installed the Visual Studio tools (along with Trace Parser, Business Connector, Office add-ins and RDS integration), so that I could recompile their customized SSRS reports and thus correct the old references to 6.2 assemblies. There were no errors during the install. Immediately afterwards, I tried to right-click compile on a DAX Model Projects report node in the AOT, and got the following error:
MSB4018: The "CompileModel" task failed unexpectedly.
Microsoft.VisualStudio.Modeling.ModelingException: Data at the root level is invalid. Line 1, position 1. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
at System.
Under the "Path" column is "\C:\Program Files (x86)\MSBuild\Microsoft\DynamicsTools\Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets", but I think this may be a red herring, as I can't see anything wrong with the file (and it has a modification date of 11/2/2013). Also I can compile other VS project nodes, including some that were modified under R2. I should note that the VS project node itself does not have a cus layer, though the design under the SSRS Reports node in the AOT does.
Similarly, if I right-click edit to open Visual Studio for one of the affected reports, Visual Studio throws up a modal error dialog with "Data at the root level is invalid. Line 1, position 1.", after which the project is clearly unusable (e.g. if you expand the project in Solution Explorer, it says "The project file was unloaded", and reloading it just errors out the same way). Editing one of the reports that will compile with MSBuild seems to work fine. I will also note that all of these reports worked fine, with the same Visual Studio install, while the instance was still running AX 2012 R2 cu7.
Any input as to what is going on here will be most welcome.
Thanks, and regards,
Martin Walker
*This post is locked for comments