Microsoft VBScript Runtime Error '800a0046' Permission Denied

I get the following error:

Microsoft VBScript Runtime Error '800a0046' Permission Denied

When starting the classic asp.

Error here: (on line CreateTextFile )

 Dim myFSO set myFSO = Server.CreateObject("Scripting.FileSystemObject") myFSO.CreateTextFile(fName) 

I know that I can get around this problem by giving Full Control to the Everyone user. This is a public folder on our server, so I'm worried it is a security risk?

I would rather be able to give full permission to someone like "IIS_IUSRS", but that will not work. It is as if another user is using it.

Is this a security risk? Does anyone know what I should do?

+4
source share
1 answer

You must either find the anonymous user of your particular website, or grant write access to that specific user, or set the application pool identifier on the website in the Local System so that the site has permission.

To find your IUSR, also known as an anonymous user in IIS7, open your IIS website in the Features view and go to Authentication and Anonymous Authentication.

+5
source

Source: https://habr.com/ru/post/1439776/


All Articles