1 Reply Latest reply: Jul 24, 2012 3:09 PM by Chris McLane RSS

Network Discovery Error?

Steven Brown

When attempting to perform a network discovery (and other tasks), I receive the following error:

 

  -- Invalid URI: The hostname could not be parsed.  [System.UriFormatException]

 

I cannot seem to find this error posted anywhere in the forums. Any one... Bueller, Bueller...

 

UPDATE: below are the exact details of the error as they come from TrackIT.

 

TechnicianClient|TIE1006455|Language|Steven_Brown|Module.Inventory.082

  -- Error running Asset Discovery  [Numara.TrackIt.Application.Framework.AOM.ApplicationErrorException]

  -- Could not initialize Component: ServiceManagementRemote  [Numara.TrackIt.Core.ServiceManagement.ServiceManagementException]

  -- Invalid URI: The hostname could not be parsed.  [System.UriFormatException]

 

 

Numara.TrackIt.Application.Framework.AOM.ApplicationErrorException : Error running Asset Discovery

   at Numara.TrackIt.Application.Framework.AOM.ApplicationCommand.Execute(Object source, CommandExecutionEventArgs args)

   at Numara.TrackIt.Application.TechnicianClient.AddIn.Inventory.InventoryNavigationBar._discoverAssetsNowItem_LinkClicked(Object sender, NavBarLinkEventArgs e)

   at DevExpress.XtraNavBar.NavBarItem.RaiseLinkEvent(Object linkEvent, NavBarItemLink link)

   at DevExpress.XtraNavBar.NavBarItem.RaiseLinkClicked(NavBarItemLink link)

   at DevExpress.XtraNavBar.NavBarItem.RaiseLinkClickedCore(NavBarItemLink link)

   at DevExpress.XtraNavBar.NavBarControl.RaiseLinkClicked(NavBarItemLink link)

   at DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoLinkClick(NavBarHitInfo hitInfo)

   at DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.DoClick(NavBarHitInfo hitInfo)

   at DevExpress.XtraNavBar.ViewInfo.NavBarViewInfo.OnMouseUp(MouseEventArgs e)

   at DevExpress.XtraNavBar.NavBarControl.OnMouseUp(MouseEventArgs ev)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at DevExpress.XtraNavBar.NavBarControl.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

Numara.TrackIt.Core.ServiceManagement.ServiceManagementException : Could not initialize Component: ServiceManagementRemote

   at Numara.TrackIt.Core.ServiceManagement.ServiceManagementImpl.ServiceManagementRemote.OnRegister()

   at Numara.TrackIt.Core.ServiceManagement.ServiceManagementImpl.ServiceManagementRemote.OnInit(Object initData)

   at Numara.TrackIt.Core.ServiceManagement.ServiceManagementFactory.GetInstance(ComponentInstanceType requestedInstanceType, SecurityCredentials credentials, String host, Int32 port)

   at Numara.TrackIt.Application.TechnicianClient.AddIn.Inventory.AssetDiscoveryProgressDialog..ctor()

   at Numara.TrackIt.Application.TechnicianClient.AddIn.Inventory.RunAssetDiscoveryCommand.ExecuteCore(Object sender, CommandExecutionEventArgs args)

   at Numara.TrackIt.Application.Framework.AOM.ApplicationCommand.InitiateExecuteCore(Object source, CommandExecutionEventArgs args)

   at Numara.TrackIt.Application.Framework.AOM.ApplicationCommand.Execute(Object source, CommandExecutionEventArgs args)

 

 

System.UriFormatException : Invalid URI: The hostname could not be parsed.

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

   at System.Uri..ctor(String uriString)

   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink..ctor(String channelURI, TcpClientChannel channel)

   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSinkProvider.CreateSink(IChannelSender channel, String url, Object remoteChannelData)

   at System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider.CreateSink(IChannelSender channel, String url, Object remoteChannelData)

   at System.Runtime.Remoting.Channels.Tcp.TcpClientChannel.CreateMessageSink(String url, Object remoteChannelData, String& objectURI)

   at System.Runtime.Remoting.Channels.ChannelServices.CreateMessageSink(String url, Object data, String& objectURI)

   at System.Runtime.Remoting.RemotingServices.CreateChannelSink(String url, Object data, IMessageSink& chnlSink)

   at System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data)

   at System.Activator.GetObject(Type type, String url, Object state)

   at Numara.TrackIt.Core.ServiceManagement.ServiceManagementImpl.ServiceManagementRemote.GetServiceRemoteProxy()

   at Numara.TrackIt.Core.ServiceManagement.ServiceManagementImpl.ServiceManagementRemote.InitializeInterceptorInstance()

   at Numara.TrackIt.Core.ServiceManagement.ServiceManagementImpl.ServiceManagementRemote.OnRegister()

  • 1. Re: Network Discovery Error?
    Chris McLane

    Hi Steven,

     

    Try this:

     

    1. Close Technician Client.

    2. On the Track-It! server, open the following directory (default path is shown and may vary in your installation):

     

    C:\Program Files\Numara Software\Numara Track-It!\Track-It! Services\ConfigurationData

     

    3. Open the Numara.TrackIt.Core.ServiceManagement.xml file with Notepad.

    4. Search for "remotingHost".

     

    An incorrect value surrounded by brackets may appear instead of the actual Track-It! server name. If so, that is the issue.

     

    5. Between the double quotes enter the name of the Track-It! application server.

     

    ie. remotingHost="Server01"

     

    6. Save the changes to the file.

    7. Restart the Track-It! Service Management service.