I get the following error:
Active6 years, 11 months ago
Microsoft VBScript runtime error '800a0046' Permission denied
When running a classic asp application.
Microsoft Vbscript Runtime Error 800a0046 Permission Denied Delete File
The batch file has one line as follows: ping 192.168.1.1 It doesn't return anything nor write anything yet. I had a long fancy batch file before, but simplified it until I can figure this permissions issue out.
The error is here: (in the
CreateTextFile line)
I know I can get around this problem by giving 'Full control' to the 'Everyone' user. This is a publicly accessible folder on our server, so I worry that this is a security risk?
I would prefer to be able to give full permission to someone like 'IIS_IUSRS', but this doesn't work. It's as if it's a different user being used for this.
Is this a security risk? Anyone know what I should be doing?
Shadow
58.1k1919 gold badges118118 silver badges181181 bronze badges
iKodeiKode
3,7671313 gold badges4444 silver badges7272 bronze badges
1 Answer
You should either find the anonymous user of your specific website and give write access to that specific user or set the application pool identity of the website to Local System so that the website would have permission.
To find your IUSR also known as the anonymous user in IIS7, open your website in IIS in Features View and go to Authentication and edit Anonymous Authentication.
SUSE Linux Enterprise Server is a world-class, secure open source server operating system, built to power physical, virtual and cloud-based mission-critical workloads.Now you can launch SUSE Linux Enterprise Server 12 by typing “sles-12” into the command-line, or by clicking the SUSE Linux Enterprise Server 12 tile in the Windows 10 Start Menu. Suse linux 10 iso download. It is optimized to run on leading hypervisors and supports an unlimited number of virtual machine guests per physical system with single subscription, making it the perfect guest for virtual and cloud computing.For detailed product specifications and system requirements, visit: www.suse.com/products/server/For community support: https://forums.suse.com/forumdisplay.php?112-SLES-on-Windows-Subsystem-for-Linux-%28WSL%29.
Hello- my name is Alan Dean Foster. I've been trying to see as much of this planet as possible, and using my imagination to examine worlds beyond it. Worlds both possible (science-fiction) and impossible (fantasy). Some of you have been kind enough to travel along with me in the books and stories I've set down about those travels. Alan Dean Foster (born November 18, 1946) is an American writer of fantasy and science fiction, who has written several book series, more than 20 standalone novels. Alan dean foster books oldest first pdf.
ShahabShahab
Not the answer you're looking for? Browse other questions tagged iisasp-classicfile-permissions or ask your own question.Hi all,I've got an issue with a script that uses the WScript.Shell. The problem is that I keep getting a permission denied error. I've set permissions on the folder, the file, and even 'wscript.exe' file itself in the WindowsSystem32 folder to 'everyone' with full permissions with the same results. I'm a bit baffled as to why I would still have a permissions issue. The script is running on IIS 6.0 on Windows 2003 Server Enterprise - it is set up as a domain controller, so the IWAM account was given full permissions as well. <% Set oShell = Server.CreateObject('WScript.Shell') RetCode = oShell.Run('C:testtest.bat', 1, True) %> it crashes on the second line with ' permission denied Microsoft VBScript runtime error '800a0046' ' Windows Script Host Error 800a0046Microsoft Vbscript Runtime Error '800a0046' Permission Denied AspWhat other permissions are there to set up?I've done this in the past on IIS5 and earlier and all I had to do was set up the IUSR account with read & execute. With full permissions set to 'Everyone' this should work (unless I'm missing some other setting besides the files, the folders, the objects and the website). Any ideas? Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |