Windows 7 A required privilege is not held by the client. Stack Trace: at System.IO....

leo morris

New Member
Joined
Nov 6, 2013
Messages
3
I need help please. I am completely novice, I have a POS software and getting the following error, please help.

A required privilege is not held by the client.
Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlTextWriter..ctor(String filename, Encoding encoding)
at System.Data.DataSet.WriteXmlSchema(String fileName)
at pcAmerica.Desktop.POS.Forms.frmReporting.Report_SALES_CHECK_DETAIL(Int16 method)


Thanks in advance.
 


Is it Error 0x80070522? Or what Error do you get?

You could try right clicking the icon of the software, either on desktop or in start menu, then click properties, then security, and check what rights you have. Edit them if needed.

Another even easier way is to right click the icon, then choose "run as administrator".

Not sure if this solves the problem, but it would be an easy way. And doesn't take much time.
 


Last edited:
Thanks for the reply, it's a POS software and when I am getting a detailed report the error that i mentioned above appears. I will certainly try what you said, and get you posted. Thanks once again.
 


Thanks for the help, I ran as administrator and the error is gone. Thanks once again.
 


Solution
Great! :up:

Windows 7 is known to be quite paranoid. Two tools that may come handy are

1. Take Ownership, Link Removed
2. Unlocker, http://www.emptyloop.com/unlocker/

I leave the study of those to you. Always be careful when trying to correct something!
 


Back
Top