asp.net无法访问网络驱动器文件夹

时间:2013-12-05 13:46:36

标签: asp.net .net

我正在尝试在VS 2012中调试asp.net代码。 我按调试选项卡 - >开始调试。调试在Web浏览器资源管理器中。

因此,使用以下地址打开网页:http://localhost:27990 / hellow.aspx 在这个页面上我有一个文件上传器。并且页面尝试保存它。它应该转到网络驱动器D:\并保存在那里。在这里它失败了,我收到了这个错误:

Access to the path'D:\upload_files\WebTesting\Test\5_12_2013_13_50_32_material.txt' is denied. 
Description: An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error and
where it originated in the code. 
ASP.NET is not authorized to access the requested resource. Consider granting
access rights to the resource to the ASP.NET request identity. ASP.NET has a base 
process identity.

我还想提一下这个应用程序已经运行了,我只是想添加一些功能。当我尝试在网站上执行相同的操作(在我的更改之前),文件上传没有问题,问题仅在于调试过程。

我想这与IIS有关。但我根本不熟悉IIS。

有什么想法吗?

0 个答案:

没有答案