473,769 Members | 6,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"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 1974
On 21 Jul 2005 02:54:31 -0700, ma***********@g mail.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
511
by: Ari Royce Hidayat | last post by:
Dear ALL, Is there some one ever faces this problem? And fix it? The scenario is: There's an html page that hosts a .net object (using object tag), and this page opens the second html page that also hosts a .net object (e.g. by click a hyperlink).
10
60720
by: Dieter Salath? | last post by:
Hi, in our webpage, a user could open a windows explorer to his temp directory with a simple link and usage of the file protocol: <a href="file://C:\temp" target="_blank">C:\temp</a> This worked very well a long time, but now it does not work anymore. We use IE6 and Microsoft Windows XP Professional 2002 SP2. I guess it has something to do with new IE security features. Does
1
6694
by: TJRobertsJob | last post by:
Was wondering if someone could help. Over the last month I've been developing a small database application, using Access 2000, for use in a friends shop. Everything was going well until about a week ago when I started getting the following error when I would click any buttons on my main form that ran either VB code or an Access Macro: "Error accessing file. Network connection may have been lost.". I know for sure it's not a network...
3
1979
by: N. Graves | last post by:
Hello, I don't understand this error message." Error accessing File. Network Connection may have been lost." I'm not using any network connection for the database. In the VBA editor is goes to "Private Sub Form_DblClick(Cancel As Integer)". I have been making a bunch of changes and I'm sure I have done something to corrupt this mdb but I don't know where to start of this one. I hope there is help for me...
2
3436
by: mark | last post by:
How do I detect that a particular form element is a file upload or if the file upload has worked? In the Python cgi module documentation I found suggested code... form = cgi.FieldStorage() fileitem = form if fileitem.file: # It's an uploaded file; count lines
1
1701
by: Kirk | last post by:
Hello, I have a very simple application that I am trying to publish to a Windows 2005 server. During my testing, I sucessfully published my application using ClickOnce to my local IIS. I noticed two things that VS2005 did during the publishing process: 1. It created a folder with my current version of the application & four files (publish.htm, setup.exe, MyApp.application, and MyApp_1_0_0_0.application).
2
7608
by: johkar | last post by:
Why does if(win==null || win.closed) return true after one PDF is open. Something very wierd going on with IE 6. I also get a member not found error if a child window is already open. This script works fine if the child window contains HTML, just not a PDF. Ideas? Note: These are not my PDFs, I just found some on the Net so you could test. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"...
0
2578
by: Brian Lampe | last post by:
On Apr 11, 7:25 am, subhash <chend...@hotmail.comwrote: If your service is using a port other than 80, you can specify it in the service instantiation's Url property: http://msdn2.microsoft.com/en-us/library/ms153652.aspx From this example, ReportingService2005 rs = new ReportingService2005();
3
5663
maliksleo
by: maliksleo | last post by:
hi all i m having this "The resource cannot be found." error. I applied the url rewriting on my project every page is being browsed very well but i am getting the above error an some pages i dont know why? can any one suggest some solution. When i click on the button on that page i got this error with something like this "Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10050
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.