473,657 Members | 2,414 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

red-X instead of dynamic images

I have a list of dynamically generated thumbnails. Each image has a
path of picture.ashx?id =123. That works well. However, a few (from
thousands) visitors have a red-X instead of dynamic images. One of
them told me that he was able to see images on a 2003 Windows Server
when he added the site to the "Trusted List" (it was using IE Enhanced
Security Configuration - a feature of Server 2003). After he added it,
he saw the thumbnails. Any ideas of what could be wrong there?
Unfortunately, I cannot check if clients who had problems have any AD-
blocking software, or an antivirus installed.

The Picture HttpHandler is quite simple and sends ContentType

System.Web.Http Context.Current .Response.Clear ();
System.Web.Http Context.Current .Response.Conte ntType = "image/jpeg";
Sep 2 '08 #1
2 990
What is the purpose of the ashx? To hide the actual URL for the page? If so,
you need something there.

ONe thing to try is move the logic to an ASPX page and see if that gets
around the security issue. It could be the ashx is not recognized as safe
when used to dynamically create images? It is worth a look to troubleshoot,
esp. if you have a way to test it.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Alexey Smirnov" <al************ @gmail.comwrote in message
news:02******** *************** ***********@m3g 2000hsc.googleg roups.com...
>I have a list of dynamically generated thumbnails. Each image has a
path of picture.ashx?id =123. That works well. However, a few (from
thousands) visitors have a red-X instead of dynamic images. One of
them told me that he was able to see images on a 2003 Windows Server
when he added the site to the "Trusted List" (it was using IE Enhanced
Security Configuration - a feature of Server 2003). After he added it,
he saw the thumbnails. Any ideas of what could be wrong there?
Unfortunately, I cannot check if clients who had problems have any AD-
blocking software, or an antivirus installed.

The Picture HttpHandler is quite simple and sends ContentType

System.Web.Http Context.Current .Response.Clear ();
System.Web.Http Context.Current .Response.Conte ntType = "image/jpeg";
Sep 2 '08 #2
On Sep 2, 5:29*pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo... @comcast.netNoS pamMwrote:
What is the purpose of the ashx? To hide the actual URL for the page?
It's an HttpHandler: http://msdn.microsoft.com/en-us/library/5c67a8bd.aspx
Sep 2 '08 #3

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

Similar topics

1
1393
by: kmunderwood | last post by:
I have an xml file that I get "As Is" (at bottom of post) I want to sort and exclude some elements, and turn other child elements red, or its background. I want it to look like this: Tank Level Temperature B05 535.91 22.22
3
3098
by: rollasoc | last post by:
Hi, Doing a bit of system testing on a Windows 98 laptop. (.Net 1.1 app). Did a bit of testing. Loaded a previously saved file. A gray box appeared with the text and buttons all white rectangles with a big red cross in it. Pressed a button (the one I thought might be ok). My file appeared to load. Then when I clicked on any button on my form, the button was replaced with a white rectangle with a big red cross in it.
3
2004
by: Norma | last post by:
I am trying to capture data in a date parameter query that spans from 1 to 3 months. I have a field that is a checkbox that notes whether or not this data is 'red flagged' (so you know, the red flagged data is end of the month production that is reported in the following months report) I need to capture the red flagged production from the previous month and the production from the entered month(s) not including the red flagged production...
9
3776
by: martin1 | last post by:
Hi, All, how to flash button with 2 color( eg. red and white)? then when user click button, the button stop flash and stay red color? Thanks
2
1898
by: Joel Byrd | last post by:
I want to get a red outline around different divs on a page when I hover the mouse over them, and then have the red outline disappear on mouse out (basically to indicate that various elements on the page are "active"). Does anyone know how to do this, or know the best way to do this? Any help with this would be fantastic. OPTIONAL READING I'm thinking of doing it this way: when I hover over an element, I find the dimensions...
4
3931
DeMan
by: DeMan | last post by:
I know I'll cop flak for these but......... What's RED and looks like a bucket? ----------------------------------------------> A Red Bucket What's BLUE and looks like a bucket? ----------------------------------------------> A Red Bucket holding it's breath
2
2995
by: parasuram | last post by:
Hi friends ............. this is a question regarding the data structures trees Pleas post it if possible with in 2 days I will thankful if some body could help doing this. Operating system: windows xp compiler : Dev c++ Question is as folllows : Genaration of keys : Assume that your keys are character strings of length 10 obtained by scannig a c++ program. If a string has less than 10 characters make it up to 10 characters by...
4
2110
by: mosesdinakaran | last post by:
Can any one explain how the rule is applied for the following Regular expression $Str = 'the red king'; $Pattern = '/((red|white) (king|queen))/'; preg_match($Pattern,$Str,$Val); Result:
1
6553
by: nongnaeja | last post by:
I don't know ,why it's error This my code from PIL import Image def ch_red(tmp): R = tmp G = tmp B = tmp
6
4511
by: gavy7210 | last post by:
hello i am using struts 1.2,Eclipse Platform Version: 3.4.2,mySql 5.0.1,jdk 1.5.. i have a login form(jsp) in which a user logs in,in case he doesnt enter his username and/or password an error is displayed using the <ul> tag and <html:errors> in the jsp. in the from class a vaidate method creates an actionerrors object adds all the errors to it and finally returns it. the ids are linked in messageresources.properties and appropriate...
0
8829
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8734
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
8508
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
8608
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...
1
6172
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...
0
5633
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2733
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
1962
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.