Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
sainan
Total Points:
75
Registered User
October 22, 2008 7:15 PM PDT
problem with "Manageability Terminal Tool.exe"

Hello:

Whenever I run "Manageability Terminal Tool.exe" (I'm using the latest version "Manageability_Developer_Tool_Kit_0_6_08288_2.msi") from the command line with necessary parameters, it opens the terminal and after sometime it connects to the amt machine, but showing the power state as unknown. Then if I try to use any command from the terminal, it hangs/fails and gives the following exception:

********** 10/22/2008 2:25:19 AM
System.NullReferenceException: Object reference not set to an instance of an object.
   at ManageabilityStack.AmtRemoteControl.Get_req_BootSourceSettingEPR(Int32 specialCommand, EndpointReferenceType& req_BootSourceSettingEPR)
   at ManageabilityStack.AmtRemoteControl.SendRemoteControlEx(Object po)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

0.6.08288.2 - Test Build - DO NOT DISTRIBUTE
--- 2:25:19 AM:Error:System.Net.WebException
System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetRequestStream()
   at ManageabilityStack.WsManDirectClient.LoadXmlEx(String postData, Boolean& shouldRetry)
   at ManageabilityStack.WsManDirectClient.LoadXML(String postData)
   at ManageabilityStack.WsManDirectClient.WS_Request(String action, String resourceUri, String body, String extranamespace, String extraheader)
   at ManageabilityStack.WsManDirectClient.WS_Enumerate(String resourceUri)
   at ManageabilityStack.WsManDirectClient.Enumerate(Type type)
   at ManageabilityStack.WsManCore.Enumerate(Type t)
--- 2:25:19 AM:CallFailed:WSMAN Enumerate: MOF_CLASSES.CIM_BootSourceSettingType
--- 2:25:09 AM:Error:System.Net.WebException
System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetRequestStream()
   at ManageabilityStack.WsManDirectClient.LoadXmlEx(String postData, Boolean& shouldRetry)
   at ManageabilityStack.WsManDirectClient.LoadXML(String postData)
   at ManageabilityStack.WsManDirectClient.WS_Request(String action, String resourceUri, String body, String extranamespace, String extraheader)
   at ManageabilityStack.WsManDirectClient.Get(String resourceUri, String extraHeader)
   at ManageabilityStack.WsManCore.Get(Type t)
--- 2:25:09 AM:CallFailed:WSMAN Get: MOF_CLASSES.CIM_AssociatedPowerManagementServiceType
--- 2:25:09 AM:Information:Enumerate: CIM_BootSourceSetting
--- 2:24:59 AM:Information:Get: CIM_AssociatedPowerManagementService
--- 2:24:58 AM:Error:System.Net.WebException
System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetRequestStream()
   at ManageabilityStack.WsManDirectClient.LoadXmlEx(String postData, Boolean& shouldRetry)
   at ManageabilityStack.WsManDirectClient.LoadXML(String postData)
   at ManageabilityStack.WsManDirectClient.WS_Request(String action, String resourceUri, String body, String extranamespace, String extraheader)
   at ManageabilityStack.WsManDirectClient.Get(String resourceUri, String extraHeader)
   at ManageabilityStack.WsManCore.Get(Type t)
--- 2:24:58 AM:CallFailed:WSMAN Get: MOF_CLASSES.CIM_AssociatedPowerManagementServiceType
--- 2:24:48 AM:Information:Get: CIM_AssociatedPowerManagementService
--- 2:24:47 AM:Error:System.Net.WebException
System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetRequestStream()
   at ManageabilityStack.WsManDirectClient.LoadXmlEx(String postData, Boolean& shouldRetry)
   at ManageabilityStack.WsManDirectClient.LoadXML(String postData)
   at ManageabilityStack.WsManDirectClient.WS_Request(String action, String resourceUri, String body, String extranamespace, String extraheader)
   at ManageabilityStack.WsManDirectClient.Get(String resourceUri, String extraHeader)
   at ManageabilityStack.WsManCore.Get(Type t)

But if I use it inside from the commander tool (from "Take Control") it works pretty fine. However, I need to use this terminal directly from my application, so need to call the exe file with parameters. I would appreciate any help from you.

-- Safwan

sainan
Total Points:
75
Registered User
October 23, 2008 12:43 AM PDT
Rate
 
#1

Hi:

 

I have solved it myself. My amt machine is using TLS. So you have to use "-tls" in the command line (I did not find this anywhere) with the other required parameters mentioned in the usage of the "Manageability Terminal Tool.exe". Or, you can change it from the source code. Both way works for me.

 

Thanks,

Safwan

 




Gael Holmes (Intel)
Total Points:
14,378
Status Points:
14,378
Black Belt
October 23, 2008 10:12 AM PDT
Rate
 
#2 Reply to #1

Excellent!  Thank you for letting us know.





Intel Software Network Forums Statistics

8446 users have contributed to 31554 threads and 100408 posts to date.
In the past 24 hours, we have 7 new thread(s) 35 new posts(s), and 45 new user(s).

In the past 3 days, the most popular thread for everyone has been Evaluation of if statements The most posts were made to TBB on linux segfaulting The post with the most views is Quoting - Lorri Menard (In

Please welcome our newest member tconrado