DOCUMENT:Q268500 08-MAY-2002 [sms] TITLE :Advertisement Rescheduling May Fail Due to Improper APM Code PRODUCT :Microsoft Systems Management Server PROD/VER::1.2,2.0,2.0 SP1,2.0 SP2 OPER/SYS: KEYWORDS:kbsms200 kbsms200bug kbsms120 kbsms120bug kbSoftwareDist kbsms200preSP3fix kbsms200SP3f ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Systems Management Server versions 1.2, 2.0, 2.0 SP1, 2.0 SP2 ------------------------------------------------------------------------------- SYMPTOMS ======== You have set your computer system's connection limit to a fixed number of distribution points. This prevents the overload of the distribution servers when a large number of clients attempt to run an advertisement at the same time. Clients can attach to the distribution point until the connection limit is reached. Any additional clients that attempt to attach to a connection-limited distribution point are denied access and an error message is recorded in the SMSAPM32 log indicating the failed connection. The clients can retry the connection every 10 minutes. In rare circumstances, the Advertisement Program Manager (APM) displays a non-normal error code that does not allow the client to enter the Retry mode and the advertisement cannot run. RESOLUTION ========== To resolve this problem, obtain the latest service pack for Systems Management Server version 2.0. For additional information, please see the following article in the Microsoft Knowledge Base: Q288239 SMS: How to Obtain the Latest Systems Management Server 2.0 Service Pack WORKAROUND ========== To work around this issue, create a new program for the failed package and a new advertisement that targets the clients that failed to run the package. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Systems Management Server 2.0 Service Pack 3. MORE INFORMATION ================ The SMSAPM32 log contains the following types of messages when the error occurs and the job is not rescheduled automatically as it should be: SCHED DATA : Return code = 0x80070047; No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.~~; Could not enable program 'test1.bat'.~ $$ IPC PIPE : HANDLE 0x234 IPC Close Event signaled SMS_CLIENT_EVENT_PEA32_CLOSE~ $$ IPC PIPE : CAPPipe::SmartReadFile - Shutdown Signaled _SMS_SMARTFILE_CLIENT_SEMAP_630.1~ $$ IPC PIPE : ---> Client has disconnected. Shutting down this IPC thread. <--~ $$ IPC PIPE : CAPPipe :: BlockingListen - Setting NOT_CONNECTED~ $$ IPC PIPE : Shutdown In Progress on call to CAPPipe::WaitOnEvent~ $$ IPC PIPE : ERROR: BlockingSendMessage DID NOT RECEIVE REPLY TO MESSAGE. Message Type = 0x4000008 $$ IPC SERVER : CAPPipeServer :: Release - Refcount now 1~ $$ SCHED DATA : Reporting status : APA_JOB_STATUS_UNKNOWN~ $$ SCHED DATA : Setting job status to 0xd.~ $$ SCHED DATA : Program completed unsuccessfully.~ $$ SCHED DATA : Handling an error condition (0x80070047) for program Run test1.bat in package Test batch file #1.~ $$ SCHED DATA : Beginning with a job run status set to APA_RUNSTATUS_NOT_RUNNING.~ $$ SCHED DATA : *** UNRECOGNISED JOB COMPLETION RETURN CODE. ASSUMING UNSUCCESSFUL EXECUTION~ $$ SCHED DATA : The error requires that some type of reschedule action be taken.~ $$ SCHED DATA : Attempting to get action for failure condition 0x80070047.~ $$ SCHEDULER : The monitor has indicated that a countdown dialog is not required before executing a scheduled program.~ $$ SCHED DATA : The job failed or some unknown error has occurred. Get the Job Failed Action from the registry.~ $$ SCHED DATA : Returning action code 2.~ $$ SCHED DATA : Determining whether to unschedule or schedule this job based on its current settings.~ $$ SCHED DATA : For program Run test1.bat in package Test batch file #1 compiling all offers in order to get its schedule time and attributes.~ $$ SCHEDULER : Determining whether to unschedule or schedule the next time the program will run ...~ $$ SCHEDULER : Unscheduling program Run test1.bat in package Test batch file #1 for .~ $$ Additional query words: prodsms ====================================================================== Keywords : kbsms200 kbsms200bug kbsms120 kbsms120bug kbSoftwareDist kbsms200preSP3fix kbsms200SP3fix Technology : kbSMSSearch kbSMS120 kbSMS200 kbSMS200SP1 kbSMS200SP2 Version : :1.2,2.0,2.0 SP1,2.0 SP2 Issue type : kbbug Solution Type : kbfix ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2002.