dovle01

TDoD: Unhandled Error in Silverlight Application

Discussion created by dovle01 Employee on Nov 24, 2015

Bhavin, a CA employee, had a problem with TDoD setup after he upgraded from 3.1 to 3.1.3 and found the TDoD landing page i.e. localhost:80 threw a Silverlight error. TDoD and RemotePublish services were up and running fine, he was able to submit a remote job, it got executed successfully, but he was not able to browse through the web UI.

Being the through person that Bhavin is, he tried with Chrome as well as FF and IE, all of them have latest silverlight plugin installed.  The answer to the problem was in the log file (Note the yellow highlights below).

Bhavin’s Tech Tip (yes, this is a 2 for 1 Tech Tip) – read the Log Files.

 

Unhandled Error in Silverlight

Application [net_uri_BadHostName]

Arguments:

Debugging resource strings are

unavailable. Often the key and arguments provide sufficient information to

diagnose the problem. Seehttp://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.40728.00&File=System.dll&Key=net_uri_BadHostName at

System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)

at System.Uri..ctor(String uriString, UriKind uriKind)

at System.ServiceModel.EndpointAddress..ctor(String uri)

at GridTools.TDMoD.Common.BindingHelper.GetServiceClient()

at GridTools.TDMoD.Views.About.About_Loaded(Object sender, RoutedEventArgs e)

at GridTools.TDMoD.StaticControls.Initialize() at GridTools.TDMoD.MainPage..ctor()

at GridTools.TDMoD.App.Application_Startup(Object sender, StartupEventArgs e)

at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate
handlerDelegate, Object sender, Object args)

at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs,
Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)

Solution :

1.  Go to <TDoD install directory>/TDoD_ConfigEditor and double click on the TDoDConfigEditor

2.  In Configure Portal tab change Service URL to point to correct TDoD Service URL

 

If it's a local installation then change URL from

 

http://localhost:8090/GTService

 

to

 

http://<<MY_COMPUTER_NAME>>:8090/GTService

 

where <<MY_COMPUTER_NAME>> is substituted with our actual computer name.

3.  Click Verify

4.  If Verify doesn't complaints about any error than press Save button

5.  Relaunch TDoD in Internet Explorer

Outcomes