Solving the Time Cockpit Silverlight Client not Loading Issue

Tuesday, June 4, 2013 by Philipp Aumayr

Our customer reported that our Silverlight client would not load on his machine. Specifically, the browser would load the Silverlight plugin, present the loading screen and hang there forever, never finishing the loading. The result was similar to the following:

We were looking for a solution but the customer solved it himself and provided us with the necessary hint: Whenever he starts Internet Explorer, he has to choose a dialup connection. He never uses Internet Explorer, but once he chose the “connect automatically” option, the Silverlight client works.

This was the missing hint we were looking for: The Internet Explorer Settings. What happens is that we use Silverlight's internal networking stack, also known as the “Client Stack” instead of the "Browser Stack" for our web requests. We do this to channel response errors through to the application. Since the Client Stack reads the settings from Internet Explorer (on Windows at least) it will not connect as it requires the dialup connection.

In case you are suffering from the problem, open Internet Explorer, go to the Internet Options, switch to the Connections tab and configure the settings in such a way that the connection is automatically dialed (automatically detect settings). Otherwise, make sure your dial up connection is connected before opening the Silverlight application. I have also read that this happens quite often on virus infected machines as malicious software likes to redirect web requests. So, kudos to our customer reporting issues like this!

comments powered by Disqus