Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality. If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers. And always feel free to hit us up on Twitter @MxdRealityDev.


It is really a strange thing that only recently I can no longer upload files (csv, img, or any) through device portal to any deployed applications. I tried it on all my three HoloLens, and I tried it with all kinds of browser possible, and I do believe I configured everything to be accessible like developer mode, no firewall, etc.

But it ends up with the error when I click Upload button every time: "Failed to upload file. Error:[object Object]"



  • Same here.

  • same here

  • same same

  • stepan_stulovstepan_stulov ✭✭✭
    edited May 2018

    Hey, guys.


    1. Select the file you wish to upload but do not click the upload button.
    2. Copy-paste the following javascript code into your browser's console.
    3. Wait for the "uploaded" popup.

    javascript:(function(jQuery){var pathLinkData=jQuery('.pathLink:last-child').data(),path=pathLinkData.path,packagename=pathLinkData.packagename,knownfolderid=pathLinkData.knownfolderid,url='/api/filesystem/apps/file?knownfolderid='+knownfolderid+'&packagefullname='+packagename+'&path=%5C%5C'+path,file_data=jQuery('#fileToUpload')[0].files[0],form_data=new FormData();form_data.append('file',file_data,file_data.name);jQuery.ajax({url:url,dataType:'text',cache:false,contentType:false,processData:false,data:form_data,type:'POST',error:function(xhr,textStatus,error){console.error(error)},success:function(res){alert("uploaded");console.log(res);}});})(jQuery);

    I think Device Portal has a bug with missing/incorrect header.


    PS: I am not the author of the code snippet. Unfortunately I cannot find the author anymore but he/she saved my ass a good thousand times by now.

    Building the future of holographic navigation. We're hiring.

Sign In or Register to comment.