cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors