Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
MNMark
New Member

Remove a corrupt report from on premise server?

One of the reports listed on my report server seems to have become corrupt.  The only change we are aware of is the upgrade of the report server to the Jan 2020 edition.  Before the upgrade, the report had been working for months.  Now when you try to do anything involving the report it throws errors.

1.  Click to view the report in a browser via a browser returns the error: "An error has occured.  Something went wrong.  Please try again later"

2.  Click the ellipsis to manage the report returns the same error as #1.

3.  Attempt to open the file for editing using Power BI Desktop for Reporting Server returns the error: "Error - Can't open file or folder /dir/filename.  It may have been moved, renamed, or deleted.

 

Since this was a production report, I first focused on restoration of functionality and was able to extract the PBIX file from the catalog.  Surprisingly the file I extracted was not corrupt and I was able to open, edit and publish it.  However, now I have 2 reports with the same name listed on my server.  One of them works, the other throws errors and I cannot remove or manage the one that throws errors.  

 

If I can't remove the file through the reporting server gui because of some sort of corruption, how can else can I remove it?  I thought about removing it directly from the catalog, but I'm worried I'd cause more problems because of the orphaned rows I'd likely create because I don't understand all the relationships fully.  

 

Anyone else ever seen this before?  What did you do to fix it?

 

1 ACCEPTED SOLUTION
MNMark
New Member

Posting my solution just in case someone else runs into this.  

For simplicity assume my folder is named "exampleFolder"

 

1. Document all security setting for each report and folder within exampleFolder

2. Move all contents of exampleFolder (expect the problem report) to tempFolder outside of the exampleFolder hierarchy.

3. Delete exampleFolder

4. Recreate exampleFolder

5. Apply appropriate security to exampleFolder

6. Move all contents from tempFolder back into exampleFolder

7. Double check all security setting are correct

 

Hope this helps someone. 

View solution in original post

1 REPLY 1
MNMark
New Member

Posting my solution just in case someone else runs into this.  

For simplicity assume my folder is named "exampleFolder"

 

1. Document all security setting for each report and folder within exampleFolder

2. Move all contents of exampleFolder (expect the problem report) to tempFolder outside of the exampleFolder hierarchy.

3. Delete exampleFolder

4. Recreate exampleFolder

5. Apply appropriate security to exampleFolder

6. Move all contents from tempFolder back into exampleFolder

7. Double check all security setting are correct

 

Hope this helps someone. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.