提示“Microsoft VBScript 运行时错误 错误 '800a0046' 没有权限”解决方法
asp中向文件夹写入数据的代码出现没有权限的错误提示如下:文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
Microsoft VBScript 运行时错误 错误 '800a0046' 文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
没有权限文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
解决办法:给asp所在文件夹添加写入权限文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
①在asp所在文件夹空白地方右击-属性文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
②在属性页面点击安全-高级文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
文章源自公式库网-https://www.gongshiku.com/html/202103/tishimicrosoft-vbscript-yunxingshicuowu-cuowu-800a0046-meiyouquanxianjiejuefangfa.html
③点击更改权限
④点击Users(计算机全名)-编辑
⑤点击(完全控制)允许-确定
⑥点击应用-确定
返回浏览器重新运行asp文件,成功向文件夹写入文件。