System.IO - file listing on another server

S

Seth Williams

What do I need to take into consideration when, on an ASP.Net website, to
get a file listing (I already have the code) from a another network server?

Currently I get an 'Access to path denied' message
 
A

Alex Meleta

Hi Seth,

This security issue means that aspnet_wp.exe process runs under a the security
context of the ASPNET on IIS 5 or Network Service on IIS 6. This account
is not having access permissions on the file system. So you either need to
give file access permissions to the folder(s) for ASP.NET account or impersonating
via <identity impersonate="true"/> or specifing certain identity.

Regards, Alex

SW> 'Access to path denied'
SW>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,829
Messages
2,569,737
Members
45,525
Latest member
RosalindSa

Latest Threads

Top