Horizon View – Fault type is VC_FAULT_FATAL

Issue:

Trying to push a new image to a desktop pool, and got a provisioning error:

Fault type is VC_FAULT_FATAL – A general system error occurred: Connection refused

After searching for a fix, I came across this article from VMware.

Solution:

Restarting vCenter that Horizon View is referencing seems to address the issue.

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2118319

Invalid configuration for device ‘1’ or ‘0’

I had a tons of errors in vCenter in the recent tasks list when recomposing a pool:

Invalid configuration for device ‘0’
Invalid configuration for device ‘1’

After calls to Vmware support, which they couldn’t pinpoint the error, I sat and watched my VMs being created by composer.

My templates kept showing AppStack vdmks being added during the recompose process, and the pool would fail to publish.

I checked the AppVolumes assignments, and I guess name filtering wasn’t applied correct and was assigning the AppStacks to all the VMs in the OU.  Reassigning the AppStack with name filtering turned on resolved the issue.

Unreal UWP

I was having issues compiling the Windows Universal Platform version of the Unreal Game Engine.
https://forums.unrealengine.com/showthread.php?118375-Unreal-Engine-4-is-available-for-Win10-UWP-app-dev-now

I kept getting ‘/FU’ requires an argument, and would fail compiling.

After lots of troubleshooting, it turns out that I just need to downgrade my Windows 10 SDK to version 10.0.14393.795.

Here is a list of all the current versions of the SDK.
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive

Visual Studio 2015 update 2 install

I recently ran into some issues compiling an older version of the Unreal 4 game engine, and needed to downgrade my Visual Studio 2015 update 3 to update 2.

During a fresh install, the Visual Studio installer automatically goes out, and downloads the latest updates which was update 3.

After so scouring the web, I found a Microsoft site that shows how to install previous versions via command line, but here is the grid, just in case the site goes away.

Visual Studio 2015 edition What to run Command-line to use What setup does
Visual Studio Enterprise (the latest public release) Visual Studio Enterprise with Updates (available fromMy.VisualStudio.com) vs_enterprise.exe Note: The default behavior of this installation offers the most recent optional features and therefore, it does not require any command-line parameters. Visual Studio setup will use the most recent feed.xml and install the most recent files
Visual Studio Enterprise Update 3 (the original Update 3 without any further Update 3-era updates) Visual Studio Enterprise RTM (available from the MSDN Subscriptions download page) vs_enterprise.exe /OverrideFeedURI http://download.microsoft.com/download/6/B/B/6BBD3561-D764-4F39-AB8E-05356A122545/20160628.2/enu/feed.xml Visual Studio setup will use the feed.xml that was available when Update 3 released
Visual Studio Enterprise Update 2 (the original Update 2, but with updates that pre-date Update 3) Visual Studio Enterprise RTM (available from the MSDN Subscriptions download page) vs_enterprise.exe /OverrideFeedURI http://download.microsoft.com/download/6/B/B/6BBD3561-D764-4F39-AB8E-05356A122545/20160620.2/enu/feed.xml Visual Studio setup will use the feed.xml that was current before Update 3 released
Visual Studio Enterprise (the original Update 2 without any further Update 2-era updates) Visual Studio Enterprise RTM (available from the MSDN Subscriptions download page) vs_enterprise.exe /OverrideFeedURI http://download.microsoft.com/download/0/6/B/06BB0C5C-C767-4250-91DA-AB463377597E/20160405.3/enu/feed.xml Visual Studio setup will use the feed.xml that was available when Update 2 released
Visual Studio Enterprise Update 1 (the original Update 1, but with updates that pre-date Update 2) Visual Studio Enterprise RTM (available from the MSDN Subscriptions download page) vs_enterprise.exe /OverrideFeedURI http://download.microsoft.com/download/3/2/A/32A1974F-D236-43C1-8981-97DDCBAEF14A/20160225.3/enu/feed.xml Visual Studio setup will use the feed.xml that was current before Update 2 released
Visual Studio Enterprise Update 1 (the original Update 1 without any further Update 1-era updates) Visual Studio Enterprise RTM (available from the MSDN Subscriptions download page) vs_enterprise.exe /OverrideFeedURI https://download.microsoft.com/download/3/2/A/32A1974F-D236-43C1-8981-97DDCBAEF14A/20151201.1/enu/feed.xml Visual Studio setup will use the feed.xml that was available when Update 1 released
Visual Studio Enterprise (the original RTM, but with updates that pre-date Update 1) Visual Studio Enterprise RTM (available from theMSDN Subscriptions download page) vs_enterprise.exe /OverrideFeedURI https://download.microsoft.com/download/3/6/1/36188D5F-479F-4A46-BF55-6AE5928D1EBB/20151102.3/enu/feed.xml Visual Studio setup will use the feed.xml that was current before Update 1 released
Visual Studio Enterprise (the original RTM with no updates) Visual Studio Enterprise RTM (available from the MSDN Subscriptions download page) vs_enterprise.exe /OverrideFeedURI https://download.microsoft.com/download/5/7/B/57BF5016-E4F0-4EB5-BE27-2BFA87E7723F/20150713.1/enu/feed.xml Visual Studio setup will use the feed.xml that was available when RTM released

Source: https://msdn.microsoft.com/en-us/library/mt653628.aspx

Error on login either ‘-r’ or ‘-s’ must be specified

Issue:

We recently upgraded to VMWare App Volumes 2.11 and had an issue on login to a Windows 7 VDI system where users were getting the following message:

“Error on login either ‘-r’ or ‘-s’ must be specified”

After submitting a ticket to VMware, the issue was with UEM 9.0 and the App Volumes 2.11 template file.

Resolution:

There is a switched built into the AppStacks script allvolattached_shellstart.bat. The call in the script is to use FlexEngine.exe -ra which is not used in UEM 9.0. You will need to adjust that to read FlexEngine.exe -UEMRefreshShortcuts for UEM 9.0.

For the existing AppStacks you can update the AppStack and make the changes during provisioning mode.

In Windows change to show hidden folders and hidden system folders. Browse to C:\SnapVolumesTemp\MountedDevices\ Open allvolattached_shellstart.bat with notepad and look for FlexEngine.exe -ra Change from -ra to -UEMRefreshShortcuts

Hope this helps you 🙂

SQLite Integration Unreal 4.12.5 easy?

I got excited to see code in the latest release of Unreal 4.12.5 to support SQLite intetration which I plan to use for dedicated servers for storing inventory and player data.

I followed lots of post down interesting rabbit holes. For your personal reading enjoyment, here they are.

This was my first stop, when googling the errors I was getting and it did get me close but I ended up looking further… https://answers.unrealengine.com/questions/184626/sqlitesupport-module-currently-broken.html

This find also helped a bit, but quickly realized that is probably is not what I need to be doing… search continues.https://www.reddit.com/r/unrealengine/comments/2xk2jq/problem_with_using_sqlitesupport_module/

Good approach, and I thought I was on the right track, but did it does miss the exact step by step… so it didn’t end of working http://www.antonsetiawan.com/archives/2016/05/using-sqlite-as-datastore-in-unreal/

In the end, I did find a solution. I made my own… Will it work in production? Too soon to tell, but… the code does compile and I will post the solution to the correct steps to at least get your code to compile. I might need to help Unreal with the changes, or maybe I am such a newbie I didn’t their instructions. Here, you decide 😉

*SQLite database support requires the ‘amalgamated’ source code for sqlite, obtainable at http://www.sqlite.org/download.html. It also requires you to compile the engine from Github source code rather than using the precompiled binary builds from the Unreal Launcher.

Download and extract the Unreal source as per the instructions on Github, then extract the contents (.cpp, .h) from the sqlite amalgamated zip into Engine/Source/ThirdParty/sqlite/sqlite and build it using VisualStudio.

If you are already building the engine from source it is necessary to rebuild it once you’ve added the SQLite files.*