Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

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.

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, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

HoloLens sharing service

Hello,

If I run "SharingService.exe -local" from Assets\HoloToolkit\Sharing\SharingService, it works fine, and I'm able to connect to it from my HoloLens. However, it I copy the SharingService.exe to a different directory and run it from there, it appears to start normally, but it doesn't recognize my HoloLens. Is there something in the Assets\HoloToolkit directory structure that the sharing service depends on? I see no error messages, and it appears to start normally in both cases.

Thanks

Tagged:

Answers

  • Options
    jbienzmsjbienzms mod
    edited January 2017

    @mlongtin, I don't think there is anything specific about the directory. The getting started docs are here and the source code for the server itself is here.

    The only code I can see that might have something to do with the file location would be logging. I was going to ask if you were attempting to put the exe somewhere like Program Files where the exe would need admin privileges in order to create or write log entries, but then I looked at the logging code.

    It looks like the logging code tries to create a subfolder called SharingServiceLogs under s_defaultLogBaseLocation, but s_defaultLogBaseLocation defaults to C:\ so it really shouldn't matter what location the program is run from.

    Maybe looking at the source I linked to above might help you find the solution. Sorry I couldn't be more helpful.

    Our Holographic world is here

    RoadToHolo.com      WikiHolo.net      @jbienz
    I work in Developer Experiences at Microsoft. My posts are based on my own experience and don't represent Microsoft or HoloLens.

  • Options

    jbienz,

    Thanks for the info, that was very helpful! I saw that the c:\SharingServiceLogs does exist on my PC, and it contains logs that look correct.

    And thanks for verifying that the SharingService.exe has no DLL dependencies (aside from the standard OS DLLs) and that it should be able to run from anywhere.

    I'm still baffled as to why it runs fine from Assets\HoloToolkit\Sharing\SharingService, but not from a different directory. At least I have the source code now, though, so I can dig a little more.

    Thanks for your help!

    Mike Longtin

Sign In or Register to comment.