468,291 Members | 1,548 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,291 developers. It's quick & easy.

"File not found" error when accessing network shale from DLL

Im writing a DLL that extends IHttpHandler to intercept requests for a
certain file extension and deliver watermarked images.

I'm using LeadTools' .NET framework for the image manipulation and it
is their Codecs.Load which issues the error.

I have the code working when the image is loaded from my local machine
but when loading from a network share I receive a File Not Found error
from the framework that is attempting to load then file - even when the
file is there?

Can anyone guide me to how I can configure the .NET Security settings
to fix this?

Nov 19 '05 #1
4 1761
On 21 Jul 2005 02:54:31 -0700, ma***********@gmail.com wrote:

Im writing a DLL that extends IHttpHandler to intercept requests for a
certain file extension and deliver watermarked images.

I'm using LeadTools' .NET framework for the image manipulation and it
is their Codecs.Load which issues the error.

I have the code working when the image is loaded from my local machine
but when loading from a network share I receive a File Not Found error
from the framework that is attempting to load then file - even when the
file is there?

Can anyone guide me to how I can configure the .NET Security settings
to fix this?

Is this an ASP.NET application? If so, what type of authentication are you using?
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 19 '05 #2
It is an ASP.Net authentication but it needs to work without
authentication as the authentication that may be enabled would not map
to our network drives' requirements.

Nov 19 '05 #3
On 22 Jul 2005 07:42:39 -0700, "M_at" <ma***********@gmail.com> wrote:

It is an ASP.Net authentication but it needs to work without
authentication as the authentication that may be enabled would not map
to our network drives' requirements.

OK, so are you using Anonymous authentication?

The issue is likely one of credential delegation. If the file you're attempting to access is remote
from the web server, then authentication credentials will be required on the remote machine to
access the file.

If you're using Anonymous authentication then there must be an identical account on the remote
machine (that has sufficient permissions for the file) with the same password. If you're not
implementing impersonation, this account will be the ASPNET account (NetworkService under Windows
2003).
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 19 '05 #4
Thanks Paul but this still has no affect.

I'm raising the issue with LeadTools to see if they have any experience
with this.

Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ari Royce Hidayat | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.