Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Unable to initiate ServerTaskOnDemand::ExecuteOnDemand()

Created: 17 Jan 2012 • Updated: 17 Jan 2012 | 3 comments

I am running DMC 2.0.2 using Symantec NS Version 7.1.6851. I started experiencing the referenced error message on an out-of-the-box task - Dell OnDemand Health Monitor - after applying this months security updates from Microsoft. I attempted repairing the database via the database configuration page. I have uninstalled the updates and the error is still present. The error details are below.

Task Details: 

Status: Failed
Return code: -1
 
Start time: 1/17/2012 4:45:35 PM
End time: 1/17/2012 4:45:35 PM
Total run time: 0 seconds
An unknown exception was thrown.
 
Unable to initiate ServerTaskOnDemand::ExecuteOnDemand() : The request failed with the error message: -- Object Moved

This document may be found here --.

Error displayed when clicking "here":

This web service does not conform to WS-I Basic Profile v1.1.

Please examine each of the normative statement violations below. Follow the recommendations to remedy it, or add setting to the <webServices> config section to turn off BP 1.1 conformance warnings for the entire vroot.

To turn off BP 1.1 conformance warnings for the entire vroot remove the 'BP1.1' value from the <conformanceWarnings> section of the configuration file of your application:

<configuration>
  <system.web>
    <webServices>
      <conformanceWarnings>
        <remove name='BasicProfile1_1'/>
      </conformanceWarnings>
    </webServices>
  </system.web>
</configuration>

 

R2304: Operation name overloading in a wsdl:portType is disallowed by the Profile. A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes. Note that this requirement applies only to the wsdl:operations within a given wsdl:portType. A wsdl:portType may have wsdl:operations with names that are the same as those found in other wsdl:portTypes.
- Operation 'GetAllMetricNamesForMachine' on portType 'AgentServiceSoap' from namespace 'http://www.altiris.com/monitor/agent/'.
Recommendation: To make service conformant please make sure that all web methods belonging to the same binding have unique names. 
 

In Application Event Log:

Log Name:      Application
Source:        LogicBase.ServerExtensions.exe
Date:          1/17/2012 4:25:08 PM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      hostname.contoso.com
Description:
Error,Tuesday, January 17, 2012 4:25:08 PM,System.Exception: exception invoking method ---> System.Net.WebException: The request failed with the error message:
--
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="https://hostname.contoso.com/Altiris/Workflow/ServerMonitoring.asmx">here</a></body>
--.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at ServerMonitoring.DoInvoke()
   --- End of inner exception stack trace ---
   at LogicBase.Framework.DynamicProxy.InvokeMethod(String MethodName, Object[] parameters)
   at LogicBase.ServerExtensions.Core.JobInvoker.Run() in c:\build\projects\WF71MR2\core\LogicBase.ServerExtensions.Core\JobInvoker.cs:line 137
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="LogicBase.ServerExtensions.exe" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-01-17T21:25:08.000000000Z" />
    <EventRecordID>98048</EventRecordID>
    <Channel>Application</Channel>
    <Computer>hostname.contoso.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Error,Tuesday, January 17, 2012 4:25:08 PM,System.Exception: exception invoking method ---&gt; System.Net.WebException: The request failed with the error message:
--
&lt;head&gt;&lt;title&gt;Document Moved&lt;/title&gt;&lt;/head&gt;
&lt;body&gt;&lt;h1&gt;Object Moved&lt;/h1&gt;This document may be found &lt;a HREF="https://hostname.contoso.com/Altiris/Workflow/ServerMonitoring.asmx"&gt;here&lt;/a&gt;&lt;/body&gt;
--.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at ServerMonitoring.DoInvoke()
   --- End of inner exception stack trace ---
   at LogicBase.Framework.DynamicProxy.InvokeMethod(String MethodName, Object[] parameters)
   at LogicBase.ServerExtensions.Core.JobInvoker.Run() in c:\build\projects\WF71MR2\core\LogicBase.ServerExtensions.Core\JobInvoker.cs:line 137</Data>
  </EventData>
</Event>

Another weird item to note is that each group in the default "Group View - Aggregate health by Dell resource" is empty. When clicking on Configure and opening the filter for each group, the systems are listed in the results.

Comments 3 CommentsJump to latest comment

D Moody's picture

Can anyone offer any suggestions? My biggest concern at this point is that the group views do not recognize the device classifications. This is mostly cosmetic, but is still a problem.

laurob's picture

Any luck with this?  I am seeing the same errors every night right before service desk crashes.

D Moody's picture

No luck. I think I am going to have to rebuild the database from scratch. I just haven't had the time to mess with it yet.