Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Not enough quota is available to process this command

12 views
Skip to first unread message

riglee

unread,
Mar 10, 2005, 12:29:48 PM3/10/05
to
I am calling CreateFile on a remote file (\\IP\C$\DirPath\FIlename). I have
all the permissions needed. See code snippet below. What is this message,
"Not enough quota is available to process this command" and why does it
happen?

m_hFile = CreateFile(SomeFileName,
GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,
NULL);

if (INVALID_HANDLE_VALUE == m_hFile) {

DWORD Err = GetLastError();

// GetLastError returns 1816

// Not enough quota is available to process this command

return false;

}

Thanks for any insight.


Alexander Nickolov

unread,
Mar 10, 2005, 1:20:41 PM3/10/05
to
The target system uses disk quotas, and the user you are running
under has exceeded their quota, so a new file cannot be crated.
Try deleting some files until you fall under the quota limit for that
user.

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnic...@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================

"riglee" <rig...@nospam.gov> wrote in message
news:uRXdJbZ...@TK2MSFTNGP10.phx.gbl...

isnihid...@gmail.com

unread,
Dec 10, 2017, 3:04:50 AM12/10/17
to
0 new messages