DFInit fails to run/initialise because the logged in user name has a space in it.
See original GitHub issueProblem
DFInit.exe
fails to run/initialise when the logged in user has a space in their name.
Solution
Update the /user:
argument to allow "<username with spaces>"
quotes around the username or something.
Description
Yep. My username (on my windows 10 developer machine here) has a name in it. As such DFInit
fails.
Repo
- Create a new windows 10 machine.
- Install VS2015 with Update 2 (i’ve not done U3 … but i doubt this has anything to do with it…)
- Install SDK2.9 from WPI
- Create a new Cloud Service project thingy
- Hit play and run it.
So the first time I ran a cloud service (this is a legacy solution) the Azure Emulator stuff tried to initialise for the first time, etc. Ok - magic that happens behind the scenes. Np probs. But fail - that popup window was displayed. Ba-Bow… Sad Trumbone.
Work Around
- Open Console
cd "C:\Program Files\Microsoft SDKs\Azure\Emulator\devfabric"
dfinit
that runs DFInit.exe
with the currently logged in user and magic just works!
Here’s the winning screen…
Now, here’s an awesome picture of an ocean unicorn to help persuade you to fix this:
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:8 (2 by maintainers)
Top GitHub Comments
@PureKrome! My bad! closed this issue by accident… will confirm with Peter if there are any updates and keep this thread posted 😃
You can re-open it… Nowadays still happening. Trying to open the first time Azure Store Emulator 5.10 it calls DFInit to add the current user to the perf log users gruop and failed because the white space included in the user.