开发者

about asp.net windows account

when i want to access to a specific directory i catch an exception with this message:

Error While Listing Directories: Access to the path 'E:\Folder1' is denied.

how can i correct this prob开发者_StackOverflow中文版lem?

i add aspnet windows account to Administrators Group but still this problem accures... please help... :)


The E:\folder sounds like it is a mapped directory from another machine. You'll have to give it access to the other machine to do so.


it is not good practice to add asp.net to administrators for security reasons. As i know asp.net running NETWORK_SERVICE so just add enough privileges for this user in properties of your folder


give "Network Service" account the read access for folder 'E\Folder1'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜