Accessing files on a different machine

R

RichardF

I have two machines that are members of the same workgroup (there is
NO domain server).

On one machine I have some images that I want to access from a
webservice that is running on the other machine.

From Windows Explorer I can view the images, delete them, rename them
etc.

But my Web Service always gets a FileNotFound exception when trying to
open an image.

What permissions do I need to set up on the machine with the images to
allow my web service to access the image files.

Thanks

RichardF
 
P

Paul Clement

¤ I have two machines that are members of the same workgroup (there is
¤ NO domain server).
¤
¤ On one machine I have some images that I want to access from a
¤ webservice that is running on the other machine.
¤
¤ From Windows Explorer I can view the images, delete them, rename them
¤ etc.
¤
¤ But my Web Service always gets a FileNotFound exception when trying to
¤ open an image.
¤
¤ What permissions do I need to set up on the machine with the images to
¤ allow my web service to access the image files.

If you're using a remote path mapped to a drive letter I doubt that the Web Service can see it. I
would use a UNC path instead.

In addition, the identify under which the Web Service is operating, probably the local ASPNET
account, will need to be mirrored on the remote machine (with the same password) and have access to
the files in question so that delegation can occur. This scenario assumes you are using Anonymous
(no) or Basic authentication (w/o impersonation).


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 

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

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top