backdoor
backdoor

Reputation: 1195

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 problem?

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

Upvotes: 0

Views: 119

Answers (3)

Henry Gao
Henry Gao

Reputation: 4936

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

Upvotes: 0

Ilya Khaprov
Ilya Khaprov

Reputation: 2524

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

Upvotes: 1

kemiller2002
kemiller2002

Reputation: 115538

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.

Upvotes: 2

Related Questions