ASPNET account permissions for web service?

J

Jeff Mason

I'm trying to set up a web service. This service needs to, among other
things, copy a file from a directory on my local machine to a directory on a
server elsewhere in my network.

Ultimately, the web service will be running on a server and will need to
access the files on both the client's machine and a file server.

For now, in development/debug mode I want the web service to run on my local
machine. When I try to do this, I keep getting errors when the service
attempts the File.Copy from the source to the target.

These errors are:

System.IO.IOException: The referenced account is currently locked out and
may not be logged on to

or

System.IO.IOException: Logon failure: unknown user name or bad password.


I'm pretty sure that these are a result of improper permissions on the
various shares, but what must I do on the system running the service, as well
as the file server permission-wise for its ASPNET account?

Thanks.
 

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,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top