Share via


Common Operation Error Codes

This section lists error codes common to all WSD Print Service operations. If an operation results in multiple errors, the Print Service should return the most specific error.

  • InvalidOperation

    The WSD Print Service returns this fault when a client requests an operation that the Print Service does not support.

    [Code]

    soap:Sender

    [Subcode]

    wprt:InvalidOperation

    [Reason]

    No action by that name at this service

    [Detail]

    The invalid operation name

     

  • InvalidArgs

    The WSD Print Service returns this fault when a client sends an invalid argument as part of an operation. The invalid argument could be any of the following:

    • not enough in arguments
    • too many in arguments
    • no in argument by that name
    • one or more in arguments are of the wrong data type.

    [Code]

    soap:Sender

    [Subcode]

    wprt:InvalidArgs

    [Reason]

    At least one input argument is invalid

    [Detail]

    The invalid argument

     

  • OperationFailed

    The WSD Print Service can return this fault when the current state of the Print Service prevents invoking the specified operation.

    [Code]

    soap:Receiver

    [Subcode]

    wprt:OperationFailed

    [Reason]

    Service cannot perform the requested operation

    [Detail]

    None

     

  • ServerErrorTemporaryError

    The WSD Print Service returns this fault when the server experiences a temporary error that occurs while the printer is processing the operation. The client can try the unmodified request again at some later point in time with the expectation that the temporary internal error condition might have been cleared. If there is a more specific error defined that applies to a temporary error, such as disk full, the Print Service should return that error code.

    [Code]

    soap:Receiver

    [Subcode]

    wprt:ServerErrorTemporaryError

    [Reason]

    The service had an unexpected error

    [Detail]

    None

     

  • ServerErrorInternalError

    The WSD Print Service returns this fault when the printer encounters an unexpected condition that prevents it from fulfilling the request. This error differs from ServerErrorTemporaryError in that it implies a more permanent type of internal error and resending the operation will return the same fault.

    [Code]

    soap:Receiver

    [Subcode]

    wprt:ServerErrorInternalError

    [Reason]

    The service had an unexpected error

    [Detail]

    None

     

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012