Microsoft VBScript运行时错误'800A0046“权限被拒绝 [英] Microsoft VBScript runtime error '800a0046' Permission denied

查看:3755
本文介绍了Microsoft VBScript运行时错误'800A0046“权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误:

Microsoft VBScript运行时错误'800A0046权限被拒绝

Microsoft VBScript runtime error '800a0046' Permission denied

当运行一个经典的ASP应用程序。

When running a classic asp application.

该错误是在这里:(在 CreateTextFile 在线)

The error is here: (in the CreateTextFile line)

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

我知道我可以通过赋予完全控制到每个人用户解决这个问题。这是我们的服务器上可公开访问的文件夹,所以我担心这是一个安全隐患?

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?

我想preFER要能够充分权限有人喜欢IIS_IUSRS,但这不起作用。这是因为如果它被用于此不同的用户。

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?

推荐答案

您应该要么找到你的特定网站的匿名用户,并给予特定用户的写权限或设置网站的应用程序池标识为本地系统,使该网站将有权限。

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.

要找到你的IUSR也被称为IIS7匿名用户,在IIS的功能视图打开你的网站,去验证和编辑匿名身份验证。

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.

这篇关于Microsoft VBScript运行时错误'800A0046“权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆