I am writing a log file handling program. I am using the ''Kernal32'' function lopen and lclose for calculating the size of file .
I am zipping file and want to delete a old log file but when i am deleting the file with
Kill ''C:demo_logfilelog estlog.log'' I am getting permission denied error.
- If you need clarification, ask it in the comment box above.
- Better answers use proper spelling and grammar.
- Provide details, support with references or personal experience.
Tell us some more! Your answer needs to include more details to help people.You can't post answers that contain an email address.Please enter a valid email address.The email address entered is already associated to an account.Login to postPlease use English characters only.
Tip: The max point reward for answering a question is 15.
That's probably a Windows privileges problem; only the administrator can write to the Program Files folder. Log in to the computer as administrator, open the MicroCapture program, find the settings for the file locations, and set up a folder in your (User Name) Documents for the MicroCapture files. Alternatively, modify the permissions for the MicroCapture folder (not recommended; do this only if MicroCapture won't let you use a different location).
Hi There, This error happens when the user does not have read / write access to a file called PDOXUSRS.NET. Earlier versions of Magicard ID (before V3.02) stored this file on the root of the C: drive. If running on Windows Vista, the file cannot be accessed. The last version released (V3.05) in 2008 will run on Vista (32 bit only). If you are running V3.05 already, and still see this error, search for 'PDOXUSRS.NET'. It is probably in 'C:\Program Files\Magicard-ID\data'. Check the permissions on the file you must have read / write access to it. Try logging on as local admin. ensure any users who run Magicard ID have read / write permissions to this file. Magicard ID V3.05 can be found here; http://www.magicardonline.net NOTE! You will need to enter your printer's serial number in the QuickSearch box.
I think either the file and/or the directory are read-only. In the File Explorer, right clicking on the file will give you the properties including a box indicating if the file is read-only. A quick possibility is to save the file to a new location (with read/write permissions).
If you are the administrator of the computer (or the owner of the folder/file) you can change the status to allow for write privileges by changing that setting in the Properties.
I hope this helps.
Cindy Wells (if you recently upgraded your OS or transferred the files from one computer to another, the file might not be "yours" to modify. I know that you can reset the permissions and change the owner but I don't remember the specifics. If you need more information, I can find my reference books if you tell me which OS you are using.)
The key part of the error message is "permission denied", so it is one of two things.
It is either exactly that, you need to log into the server and set the permissions to "Read, Write, Execute" in the everybody group, OR there is something on that line of code that the browser security finds unsafe. You can test that out by setting your security real low for just a moment to try again, if you are sure it is safe to do so.
Your right its not a virus, and its not because your running one of the top anti- virus software,the problem is else where. Have you checked the log files to see if you have permission????? Have you checked event viewer to see if you have permission????
I need to know or the fix I have for you will not work.
Make sure you have admin rights on your log in or log in as admin. Check the permissions on the application folder, that you have read and write (single click on the folder press option and 'i' key to get folder info.
With Macromedia it installs folders in quite a few locations so you need to make sure you have 'read/write' permission on the whole mac.
If you still have a problem. Open the apple disk utility (in the utility folder in applications) and check permissions there. You can run fix permissions from the to.
Your brief description could mean: 1. you have no permission to install a printer, meaning you have no administrative rights to do so, pls logoff and log back in as an administrator; 2. you are using a registry lock program (such as Ad-Watch) that prevents access/writing to the registry or adding anything to the system files; 3. the CD ROM is not reading the installer CD.
Hope this be of initial help/idea. Pls post back how things turned up or should you need additional information.