TDoD: Unhandled Error in Silverlight Application


Article ID: 33523


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)



It has been found that a Silverlight error (“Unhandled Error in Silverlight”) can be generated within Test Data on Demand (TDoD) Web UI after upgrading Test Data Manager (TDM).  In the log files, you will see "Unhandled Error in Silverlight Application [net_uri_BadHostName]" (A sample error message is provided below. Note the yellow highlights)

Unhandled Error in Silverlight
Application [net_uri_BadHostName]
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See 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)


Test Data on Demand (TDoD)


Old Silver Light installation. 

Incorrect TDoD configuration.

It is important that you verify that you can perform the following tasks that indicate you had a properly performing TDOD installation before the upgrade:

  • TDoD and RemotePublish services are correctly configured, up, and running fine.
  • You are able to submit a remote job, and it got executed successfully.
  • You are not able to browse through the web UI, and you could before the upgrade.


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

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 the actual computer name.

3.  Click Verify.

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

5.  Relaunch TDoD in Internet Explorer.

6.  If it still does not work, check here Silverlight Upgrade to upgrade Silverlight. This has a wealth of information on how to upgrade.



Release: TDMTDD99000-3.5-Test Data Manager-for Test Data on Demand