访问被拒绝 [英] Access is denied

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

问题描述

这是我的代码。


当我执行此代码时,它会抛出访问路径某路径被拒绝。

This is my code.

When i execute this code, it throws "Access to the path "somepath" is denied."

展开 | 选择 | Wrap | 行号

推荐答案

@srinivasanr


您使用的是什么应用程序?如果它的asp.net然后它没有fileIO权限...或者你可能没有权限在该文件夹中创建...
@srinivasanr
What application are you using? if its asp.net then it doesnot have fileIO permission...or if you maynot have permission to create in that folder...


展开 | 选择 | Wrap | 行号


我只使用ASP.NET。但是这段代码在我的测试环境中正常工作。

但它在我的生产服务器上无效。


这是日志文件。

I am using only ASP.NET. But this code is working in my testing environment.
But it is not working in my production server.

This is the log file.

展开 | 选择 | Wrap | 行号


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

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