[cifs-protocol] MS-ERREF error code HRESULT 0x80070705 - Installing Printer error [REG:118091719024173]

Sreekanth Nadendla srenaden at microsoft.com
Mon Oct 1 15:58:51 UTC 2018


Thanks for the update Justin. I’ll close this incident and one of my colleagues will assist you with the printer error issue.

Regards,
Sreekanth Nadendla
Microsoft Windows Open Specifications

From: Justin Stephenson <jstephen at redhat.com>
Sent: Monday, October 1, 2018 11:49 AM
To: Sreekanth Nadendla <srenaden at microsoft.com>
Cc: cifs-protocol at lists.samba.org; MSSolve Case Email <casemail at microsoft.com>
Subject: Re: MS-ERREF error code HRESULT 0x80070705 - Installing Printer error [REG:118091719024173]

Hi, I will continue discussion in the other ticket. For this ticket, if the MS-ERREF is going to be updated we can close this one out.

-Justin

On Sat, Sep 29, 2018 at 12:15 PM Sreekanth Nadendla <srenaden at microsoft.com<mailto:srenaden at microsoft.com>> wrote:
Hello Justin, I was out of the office last week and noticed that you’ve posted a question to dochelp on 9/27. If the issue below is a different one from that, please let me know and I will investigate this. Please confirm.


Regards,
Sreekanth Nadendla
Microsoft Windows Open Specifications

From: Justin Stephenson <jstephen at redhat.com<mailto:jstephen at redhat.com>>
Sent: Friday, September 21, 2018 11:51 AM
To: Sreekanth Nadendla <srenaden at microsoft.com<mailto:srenaden at microsoft.com>>
Cc: cifs-protocol at lists.samba.org<mailto:cifs-protocol at lists.samba.org>; MSSolve Case Email <casemail at microsoft.com<mailto:casemail at microsoft.com>>
Subject: Re: MS-ERREF error code HRESULT 0x80070705 - Installing Printer error [REG:118091719024173]

Hi Sreekanth,

Thanks for that information. I would like to ask for further details on the [MS-PAR]  RpcAsyncInstallPrinterDriverFromPackage method, especially the conditions that lead to this ERROR_UNKNOWN_PRINTER_DRIVER. I am writing code that copies driiver files to the Windows Server 2016 print$ share, calling RpcAsyncUploadPrinterDriverPackage then RpcAsyncInstallPrinterDriverFromPackage but I continue to see this HRESULT 0x80070705 during the Install method, after a successful Upload. The drivers I am attempting to install are the HP Universal Print Drivers from https://www8.hp.com/us/en/solutions/business-solutions/printingsolutions/upd.html<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww8.hp.com%2Fus%2Fen%2Fsolutions%2Fbusiness-solutions%2Fprintingsolutions%2Fupd.html&data=02%7C01%7Csrenaden%40microsoft.com%7C8d826d9d1dad4a5c787b08d627b56a41%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636740057468579986&sdata=mbwErikIo4GiIC7XqL%2BTHedwCQPiXiC3d2lH9%2FjYg%2FQ%3D&reserved=0>

The input parameter pszInfPath is a valid path to the .inf file successfully uploaded to C:\Windows\System32\DriverStore\FileRepository\hpzius23.inf_amd64_e88cc3d9c18ba4d9\hpzius23.inf

I am attaching a packet capture from the windows side of the previously mentioned operations where the install fails.

Thank you,
Justin Stephenson
Red Hat

On Mon, Sep 17, 2018 at 10:08 PM Sreekanth Nadendla <srenaden at microsoft.com<mailto:srenaden at microsoft.com>> wrote:
Hello Justin, I will be assisting you with your question. Error 0x80070705 maps to ERROR_UNKNOWN_PRINTER_DRIVER ( “The printer driver is unknown”).  I will work with our documentation team to get the spec updated.

Regards,
Sreekanth Nadendla
Microsoft Windows Open Specifications



From: Justin Stephenson <jstephen at redhat.com<mailto:jstephen at redhat.com>>
Sent: Monday, September 17, 2018 10:40 AM
To: Interoperability Documentation Help <dochelp at microsoft.com<mailto:dochelp at microsoft.com>>
Cc: cifs-protocol at lists.samba.org<mailto:cifs-protocol at lists.samba.org>
Subject: MS-ERREF error code HRESULT 0x80070705 - Installing Printer error

Hello,

I could not find the error 0x80070705 documented in the [MS-ERREF] documentation, I am getting this error returned when calling the [MS-PAR] method RpcAsyncInstallPrinterDriverFromPackage().

The event viewer logs an Error to the Print Service source with this error:
"Installing printer driver %name failed, error code 0x0, HRESULT 0x80070705. See the event user data for context information."

More information on this error along with an updated MS-ERREF would be appreciated.

-Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20181001/e757c836/attachment-0001.html>


More information about the cifs-protocol mailing list