Accessing a file from web service

S

Scott W

All,

I am trying to access an encrypted file from a web service. The service
works fine if the file is in the search path. Isn't there a way to specify
the path to the file? Such as a subdirectory under the virtual directory
where the service resides?

Thanks
 
S

Scott W

Hello Martin.

It is encrytpted and read by a thrid party dll. I am trying to pass the
path to the dll. I'm sure it's something silly I'm doing, but can't seem to
figure it out.

Thanks
 
D

Dan Rogers

Hi Scott,

Have you tried putting the DLL in the same directory as the service's bin?
This is the recommended way to do this. Additionally, once the DLL is
loaded, the file being opened will need to be properly permissioned and in
a reachable path.

Regards

Dan Rogers
Microsoft Corporation
--------------------
 
S

Scott W

Yes, that's whhat I was doing.. I worked around this issue by building the
path to the file dynamically.

Thanks for the input.
 

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