Thank you for your quick reply. In this case I got a login failure error.
In windows 10 security tab I have:
scanner@mydomain.local
The path is "C:\scan" and the share name is "scan".
In xerox configuration page, in share name, I have "scan" (lowercase) and path "\".
So, using scanner@mydomain.local in xerox configuration page, I got failure login error, using mydomain\scanner I got the previous error....
I'm going to be crazy trying to solve this issue :(
EDIT: I noticed another strangeness. When I got "Job cancelled for lack of resources" error, *sometimes* a subfolder is created in shared folder, which name is DOC.LCK. There is a file named LOCKINFO.DAT that contains this text.
00:00:aa:e3:c5:af
CREATE
In some cases, even if an error page has been printed, the document was scanned successfully.