473,569 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HttpHandler not working when deployed in a virtual directory

Hello,
We are using a user control and a HttpHandler to display an image in a grid.
The images are stored in a RDBMS. Here is the approach that we use in brief.
The cells are added to the grid in the page load. One of the cell is the
control. The control Response.Writes an img tag. The src for the img tag is
"something.img" . Now we have a HttpHandler for *.img, the hander reads the
image from DB and does a Response.Binary Write. Everything is working fine
when we run it in Visual Studio (debug / run). But when we deploy it in a
virtual directory, the images are not displayed (shows a thumbnail "red
cross"). We did add the handler in web.config, and in IIS.

Dev Env: Microsoft Visual Studio 2005 Beta
OS: Windows XP Professional with SP2
ASP: ASP .Net 2.0

Any clues?

Thanks,
Nov 19 '05 #1
0 1082

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
312
by: Ashutosh Bhalerao | last post by:
Environment: VS.Net, IIS 5.0 I have implemented a custom HTTP Handler to which both my thick and thin client connect to. I have made the required addition to the Web.config file. While creating my Server dll project I removed the root namespace which .Net puts in by default and put all my files under the Auric.Footprints.Server...
0
1549
by: Bruce B | last post by:
Hi group, I'm experiencing some extreme weirdness over the last week with IIS related to it's Mappings and how .NET is behaving. I can't explain the behavior as it seems very random. Our app has about 50 file extensions that we map in IIS and handle in our HTTPHandler to catch the reference and then lookup the correct content from a...
1
2878
by: Prasanna Padmanabhan | last post by:
I want to process requests to certain image files that have a custom ..icon(32x32) extenstion with a custom .NET HttpHandler in order to be able to tap into Application events. This works fine almost everytime except that I get a 404 error when trying to access a file with an ampersand in its name. The error happens only if I point the...
2
1485
by: Phil | last post by:
I am looking to write an httpHandler to process incoming asp requests. I need to process the asp script with the asp.dll and then format the response (I need to rewrite url and image paths based on the current virtual directory). Is this possible? Any suggestions would be appreciated. thanks
0
1399
by: Chris Carter | last post by:
Hi, I created this HttpHandler, very simple: using System; using System.Web; namespace HttpHandlerTest { public class HelloWorldHandler : IHttpHandler
0
998
by: Manikkoth | last post by:
Hello, We are using a user control and a HttpHandler to display an image in a grid. The images are stored in a RDBMS. Here is the approach that we use in brief. The cells are added to the grid in the page load. One of the cell is the control. The control Response.Writes an img tag. The src for the img tag is "something.img". Now we have a...
3
2158
by: Michael Schwarz | last post by:
Hi, I have a own HttpHandler running and configured like this in my web.config: <add verb="*" path="subfolder/*.ashx" type="Class,Assembly"/> Now, when turning cookieless Sessions on my HttpHandler is not working, instead my second HttpHandler is invoked, which is configured for *.ashx files.
1
1608
by: Max | last post by:
I have my HTTPModule or HTTPHandler registered to process all file types (*). I have IIS configured to pass all requests to ASP.NET for this virtual directory. In some cases depending on the request parameters I may decide that I need to yield this request and I want it to be processed as if my handler was not installed there and is if...
0
1105
by: Uwe | last post by:
Hi, I'm currently developing an ASP.NET application with my own MembershipProvider. Login works fine on my local machine (IIS7) in a virtual directory of IIS. I just deployed the application to a Win2k3 webserver and put it into a virtual directory. Unfortunately, login doesn't work there. When I change the root path of the website to the...
0
7614
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...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6284
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...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
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
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.