Forum Discussion

db2022's avatar
db2022
Frequent Visitor
3 years ago

Upload Error reading MIME multipart body part

Strange behavior on new install of PBIRS (May 2022): using the API call to /model.upload (efficient binary upload) I can uplaod a simple direct query report but if I convert it to import mode the upload fails after about two minutes. Portal log:

 

2022-10-16 19:44:42.6877|DEBUG|10|Creating LocalFile as stream destination: C:\Windows\ServiceProfiles\PowerBIReportServer\AppData\Local\Temp\PbixUpload_7eebf8ac-d518-4eb8-8fa2-6b74f226f513.large| RequestID = s_5fde1a09-ad17-4e46-80ea-3366586ea918 
2022-10-16 19:46:39.2839|TRACE|22|The file upload has been cancelled.| RequestID = s_5fde1a09-ad17-4e46-80ea-3366586ea918 
2022-10-16 19:46:39.2839|TRACE|22|OData exception occurred: Microsoft.ReportingServices.Portal.Interfaces.Exceptions.UploadFileCanceledException: The I/O operation has been aborted because of either a thread exit or an application request ---> System.IO.IOException: Error reading MIME multipart body part. ---> System.IO.IOException ---> System.Net.HttpListenerException: The I/O operation has been aborted because of either a thread exit or an application request

 

Most of my reports fail to upload the same way. But some (very few) have no issue at all. Never had this issue on the old server. Does anyone know what the call to model.upload would fail with the above error?

2 Replies

  • v-luwang-msft's avatar
    v-luwang-msft
    Icon for Community Support rankCommunity Support

    Hi db2022 ,

    Have you update your Power BI Desktop for Rs  for the lastest version ?Try to update it .

     

     

    Best Regards

    Lucien

  • db2022's avatar
    db2022
    Frequent Visitor

    Hi Lucien, I'm running the latest version of RS desktop for May 2022

    Desktop: 2.105.1143.0 64-bit (May 2022)

    PBIRS: 15.0.1108.297

    Windows Server 2022