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)

The project file could not be loaded. Data at the root level is invalid.

(0) ShareShare
ReportReport
Posted on by

Hello everyone, 

I've got a weird problem while opening a report project

The project file could not be loaded. Data at the root level is invalid. Line 1, position 39.  C:\Users\%user_name%\AppData\Local\Temp\7\Microsoft Dynamics AX\Dynamics AX Model Projects\MyReportName\MyReportName.dynamicsproj

I tried to remove it from a tmp folder and recompiled it. But it's not helping me. 
Tried to restart AOS and Reporting Service and recompiled the project again, still no result. 
I need open this project to update DataSource since I've changed the DataProvider related to this report and that's all. 

Quick googling did not help me, so maybe it's something very obvious. 

Thanks in advance. 


UPDATE: I managed to open project file by manually removing '#' symbol from the dynamicsproj file editing it like a plain xml, and I don't know why it's there.  
So the first line without editing looks like this:

<?xml version="1.0" encoding="utf-8"?>#<Project ToolsVersion="4.0" DefaultTargets......
But every time when I recompile the project it's there again. Does anyone know what's going on ? 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at
    RE: The project file could not be loaded. Data at the root level is invalid.

    I solved this problem by creating a new project and adding an existing report to it.

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 2

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans