开发者

about asp.net windows account

开发者 https://www.devze.com 2022-12-09 08:55 出处:网络
when i want to access to a specific directory i catch an exception with this message: Error While Listing Directories:

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

精彩评论

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

关注公众号