访问路径被拒绝 [英] Access to the path denied

查看:81
本文介绍了访问路径被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索位置时,为什么会出现此错误?

When searching for a location I got this error why?

Access to the path ''C:\LuceneIndex\segments.gen'' is denied.

推荐答案

访问ASP.NET应用程序所在的虚拟目录之外的路径可能很棘手. ASP.NET应用程序通常是在对拥有IIS的系统具有受限访问权限的帐户下执行的.出于安全原因这样做.如果绝对需要访问该目录,则必须为应用程序在其下运行的帐户分配正确的访问权限.

问候,

—MRB
Accessing paths outside of the virtual directory where your ASP.NET application resides can be tricky. An ASP.NET application is usually executed under an account that has restricted access to the system hosting the IIS. This is done for security reasons. If it is an absolute nesecessity to access that directory you will have to assign the proper access rights for the account your application is running under.

Regards,

—MRB


这篇关于访问路径被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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