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

Sreekanth Nadendla srenaden at microsoft.com
Sat Sep 29 16:15:23 UTC 2018

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.

Sreekanth Nadendla
Microsoft Windows Open Specifications

From: Justin Stephenson <jstephen at redhat.com>
Sent: Friday, September 21, 2018 11:51 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 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%7C922b3aa72e07456ba30c08d61fda04f4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636731419514848535&sdata=qM4%2FhsVidlW%2BBdThj13jHqRq22XDB7rDLrgQvJEY9Ok%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.

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


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20180929/1576fda7/attachment.html>

More information about the cifs-protocol mailing list