cancel
Showing results for 
Search instead for 
Did you mean: 
derekb
New Member
New Member

XWS 5.6.102.70 - Adding Print Queue - User Error

Hi there,

We have done this many times in the past without issue, however we are installing 5.6.102.70 Prerequisites and XWS on a remote print server and attempting to add it to our central XWS server as a print queue.

When we go to Print Queues > Print Servers > Actions > New, enter the DNS or IP of the remote print server and enter the domain user/pass, we get the following error in XWS:

User Validation Error. Please contact your administrator for assistance.
 
Looking at Event Viewer on the print server we're trying to add, we see the following:
 
Message: Failed to initialize XJAS server. Unauthorized 
DateTime: 2021/03/11 10:31:34(Z-5) 
Category: General 
Severity: Error 
Method: Xerox.MobilePrint.XJAS.Service.XMPAgentService.Register() Win32 ThreadId:3532 
Extended Properties: 
ExceptionMessage - Unauthorized
ExceptionStackTrace - Exception: System.ServiceModel.Web.WebFaultException`1[Xerox.MobilePrint.Common.DataContract.Error]
XeroxSOAFaultException: Unauthorized
Code: 401
XrxCode: 15
Details: User Validation Error. Please contact your administrator for assistance.
Developer Details: Invalid user credentials. Failed to authenticate using [User=ourdomain\someuseraccount]
Stacktrace:    at Xerox.MobilePrint.XJAS.Service.XMPAgentService.Register(PrintServerChangeRequest ticket) in C:\agent\_work\22\s\Server\Source\Xerox.MobilePrint.Sentry\XMPAgent\XMPAgentService.cs:line 730
I've done a full uninstall and reinstall of the pre-req's and XWS with no  luck. Windows Firewall is disabled. Dot Net 4.7.2 is installed.
 
Any ideas before I have to spend hours with Support?
0 Kudos
3 Replies
XMP_Admin
Xerox Employee
Xerox Employee

Re: XWS 5.6.102.70 - Adding Print Queue - User Error

Hi,

This looks like a Access issue based on the logs. Make sure the account you are using has administrator rights on the external Print Server. We support the external print server software level to be one back, maybe you can check that. 

Thanks

XMP Admin

"Innovating how the world communicates, connects and works."
0 Kudos
derekb
New Member
New Member

Re: XWS 5.6.102.70 - Adding Print Queue - User Error

The user account has administrator access on the remote print queue.

We've also tried a user account with domain administrator level credentials wiht the same results.

The version of PrintSafe on the remote print queue is the same as what is on the main XWS server.

 

0 Kudos
derekb
New Member
New Member

Re: XWS 5.6.102.70 - Adding Print Queue - User Error

Also included in event manager at the time of the auth attempt is this...maybe this will help?

Message: Failed to decrypt data using ENV provider, retrying with old encryption... 
DateTime: 2021/03/22 15:38:56(Z-4) 
Category: General 
Severity: Warning 
Method: Xerox.MobilePrint.Common.DataContract.SecureCredentialInfo.GetInstance() Win32 ThreadId:5988 
Extended Properties: 
ExceptionMessage - Padding is invalid and cannot be removed.
ExceptionStackTrace - Exception: System.Security.Cryptography.CryptographicException
Exception: Padding is invalid and cannot be removed.
Stacktrace:    at System.Security.Cryptography.CapiSymmetricAlgorithm.DepadBlock(Byte[] block, Int32 offset, Int32 count)
   at System.Security.Cryptography.CapiSymmetricAlgorithm.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
   at Xerox.MobilePrint.Common.Crypt.AESEncryptionMode.DecryptHashString(String inputString, Byte[] passwordHash, Encoding encoding) in C:\agent\_work\22\s\Server\Source\Xerox.MobilePrint.Common\Crypt\Encryption\AESEncryptionMode.cs:line 65
   at Xerox.MobilePrint.Common.DataContract.SecureCredentialInfo.GetInstance(String xmlData, String key) in C:\agent\_work\22\s\Server\Source\Xerox.MobilePrint.Common\DataContract\Others\CredentialInfo.cs:line 136

0 Kudos