fileiopermission problem

J

joycsharp

a method of webservice to return the list of filename from the server's disk
d:,when i pulished the webservice to the server and call the method in my
application return a messagebox that there is fileiopermission error .
 
G

GCR

Well, the asp.net process runs probably under a security context that
dosesn't have the apropriate NTFS permissions. Quick check: set <identity
impersonate="true" /> in web.config and call the web service directly from
IE: if I'm right, it should work, as long as your user account have the
permission RX on D:
 

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,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top