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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

0

Can't set description in Power BI Report Server

When you try to set the report description on a Power BI Report in Power BI Report Server you get an error.  This only happens for Power BI Reports.

 

Here is the relevant error in the log file:

 

2017-06-29 11:51:00.7799|INFO|190|Received request [REDACTED] POST http://localhost/powerbi/api/reportproperties| RequestID = s_b6852949-333d-4f8d-8d0c-1804b80af583
2017-06-29 11:51:00.7799|ERROR|190|Failure in reportproperties| RequestID = s_b6852949-333d-4f8d-8d0c-1804b80af583 System.IO.FileFormatException: Archive file cannot be size 0.
at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming)
at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming)
at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
at Microsoft.PowerBI.Packaging.PowerBIPackager.Open(Stream storageStream, Boolean& requiresConversionToReportLayout, Byte[]& securityBindings, Boolean skipValidation)
at Microsoft.PowerBI.ReportServer.WebApi.PBIX.PbixShredder.<Shred>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.ReportServer.WebApi.PbiApi.PbiApiController.<GetReportProperties>d__1d.MoveNext()
2017-06-29 11:51:00.7799|ERROR|190|Unhandled error in the Web API|POST http://localhost/powerbi/api/reportproperties - Response Unknown| RequestID = s_b6852949-333d-4f8d-8d0c-1804b80af583 System.IO.FileFormatException: Archive file cannot be size 0.
at MS.Internal.IO.Zip.ZipArchive.OpenOnStream(Stream stream, FileMode mode, FileAccess access, Boolean streaming)
at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming)
at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
at Microsoft.PowerBI.Packaging.PowerBIPackager.Open(Stream storageStream, Boolean& requiresConversionToReportLayout, Byte[]& securityBindings, Boolean skipValidation)
at Microsoft.PowerBI.ReportServer.WebApi.PBIX.PbixShredder.<Shred>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.ReportServer.WebApi.PbiApi.PbiApiController.<GetReportProperties>d__1d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
2017-06-29 11:51:00.7799|INFO|167|Sending response. Response code EXCHANGE\powerbisrvcacct 500, Elapsed time 0:00:00.0034201| RequestID = s_b6852949-333d-4f8d-8d0c-1804b80af583

 

 

Status: Delivered

Thanks for reporting this issue and providing this helpful info. This issue is resolved in the current build of Power BI Report Server (June 2017) (14.0.600.301).

 

To resolve the issue,

  1. Download the latest build of Power BI Report Server.
  2. Run the installer and choose "Upgrade Power BI Report Server."
Comments
v-qiuyu-msft
Community Support

Hi @lkubat,

 

This is a known issue. Please check Petebro's reply in this same thread:

 

"It's a regression of functionality and will require a fix to the server.  It has been added to our backlog as a high priority bug."

 

Best Regards,
Qiuyun Yu

riccardomuti
Microsoft Employee
Status changed to: Delivered

Thanks for reporting this issue and providing this helpful info. This issue is resolved in the current build of Power BI Report Server (June 2017) (14.0.600.301).

 

To resolve the issue,

  1. Download the latest build of Power BI Report Server.
  2. Run the installer and choose "Upgrade Power BI Report Server."