|
|
8000XXXX Errors Alerts ASP.NET 2.0 Classic ASP 1.0 COM / ActiveX Components Forms General Topics Date/Time Routines Email Scripts & Info Files/Directories & FSO Databases General Concepts Search Engine Optimization (SEO)Search | ASP FAQ Tutorials :: Classic ASP 1.0 :: Files/Directories & FSO :: Why do I get permissions errors after upgrading to Windows XP? Why do I get permissions errors after upgrading to Windows XP?After switching from Win95, Win98 or WinME to Windows XP, you may find that previously functional ASP pages are now choking on code that uses FileSystemObject or MS Access (usually 'Permission Denied' or 'Operation must use an updateable query' errors). To straighten this out, you need to apply appropriate permissions for IUSR_<machine_name> on the folder(s) you need to read/write with ASP. In Windows Explorer, right-click the folder in question, hit Properties, and select the Security tab. If the Internet Guest Account is not listed, click the Add... button and type IUSR_<machine_name> into the textbox, and click OK. Now select the Internet Guest Account, and check that the permissions are adequate. For most web applications, Read and Write is sufficient. You may have to do this for individual files as well, and for Access databases specifically, you might also have to open up the temp folder. You can see Article #2039 for more detailed instructions and setting up permissions for IUSR. Now, what if you don't have a Security tab? Open up Windows Explorer, open the Tools menu, choose Folder Options, and go to the View tab. The last item in the list is called "Use simple file sharing." Uncheck this box, click Apply and OK, and try the above steps again. Oh gosh, you still don't have a security tab? It's possible this was hidden from you by a group policy (perhaps the OEM set the machine up that way, or your network admin doesn't trust you). Assuming you have appropriate permissions on the machine itself, go to Start, Run... and type in "gpedit.msc" without the quotes. This launches the Group Policy Editor. Navigate to User Config / Administrative Templates / Windows Components / Windows Explorer / Remove Security Tab. Read about this setting before just changing it, and back up your system before applying any changes (just in case). Ummm, Houston? If those steps don't work, post the code you are using and the actual error message to general or db newsgroup, and someone will help diagnose the problem. Chances are you are still using a FAT file system... you should strongly consider using NTFS. I can't tell you how to solve a FAT issue because I literally haven't used FAT since Windows 95. Related Articles Can I include a file in both server-side and client-side script? Can I read / write a user's file without a prompt? Can I rename a file using FileSystemObject? Could I get some help working with files using FileSystemObject? How do I avoid 'the red x' when an image is missing? How do I change the modified time of a file? How do I create / manipulate images from ASP? How do I dynamically include files? How do I find the owner, author, and other properties of a file? How do I get a list of a folder's subfolders? How do I get the name of the current URL / page? How do I prevent people from 'leeching' my CSS or JS files? How do I prevent people from 'leeching' my images? How do I retrieve a random file from a given folder? How do I send the correct filename with BinaryWrite? How do I sort a list of files? How do I use FileSystemObject to create a file on the client? Why do I get 'Disk not ready' errors with FileSystemObject? Why do I get 'Invalid procedure call or argument'? Why do I get 'Path not found' errors with Scripting.FileSystemObject? Why do I get 'Permission Denied' errors with FileSystemObject? Why do I get 800A0034 errors? Why do I get 800A003E / Input past end of file errors? Why do I get 800A0BBA errors? Why do I get 800A0BBC errors? Why do I get an 'Invalid Path Character' error? Why does FileSystemObject hang all of a sudden? Why is 'the operation completed successfully' an error message? |