Issues using ZTI_ExecuteWebservice

Mar 16, 2011 at 5:12 PM

I'm getting an error executing the webservice to remove computer from collection.  Seems it can't find customsettings.ini.  Am I missing something?  I'm following the instructions posted at link below

http://myitforum.com/cs2/blogs/maikkoster/archive/2010/10/12/automatically-remove-computers-from-a-collection-and-reset-the-last-pxe-advertisement-flag-after-a-deployment-has-finished.aspx

Error log

<![LOG[Property wsSection is now = RemoveComputerFromCollection]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="1" thread="" file="ZTI_ExecuteWebservice">
<![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="1" thread="" file="ZTI_ExecuteWebservice">
<![LOG[The task sequencer log is located at C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="1" thread="" file="ZTI_ExecuteWebservice">
<![LOG[FindFile: The file CustomSettings.ini could not be found in any standard locations.]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="1" thread="" file="ZTI_ExecuteWebservice">
<![LOG[Unable to find CustomSettings.ini, rc = 1]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="3" thread="" file="ZTI_ExecuteWebservice">
<![LOG[CHECKING the [RemoveComputerFromCollection] section]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="1" thread="" file="ZTI_ExecuteWebservice">
<![LOG[No parameters to include in the web service call were specified]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="1" thread="" file="ZTI_ExecuteWebservice">
<![LOG[<Message containing password has been suppressed>]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="1" thread="" file="ZTI_ExecuteWebservice">
<![LOG[About to execute web service call using method POST to : ]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="1" thread="" file="ZTI_ExecuteWebservice">
<![LOG[ZTI ERROR - Unhandled error returned by ZTI_ExecuteWebservice: The parameter is incorrect.
 (-2147024809  0x80070057)]LOG]!><time="12:56:46.000+000" date="03-16-2011" component="ZTI_ExecuteWebservice" context="" type="3" thread="" file="ZTI_ExecuteWebservice">

 

Coordinator
Mar 16, 2011 at 6:33 PM

Please make sure that you check  the "Package" option and have it point to the package with your cs.ini as shown in this screenshot: http://myitforum.com/cs2/blogs/maikkoster/image_7EEB4757.png.

Regards

Maik

Mar 16, 2011 at 7:11 PM

Thank You.  I had that pointing to package for MDT files instead of cs.ini.  Works perfectly now, appreciate all the time and effort you have put behind this.