Click here to Skip to main content
15,886,362 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Chinese text Pin
BalasubramanianK9-Mar-09 21:53
BalasubramanianK9-Mar-09 21:53 
AnswerRe: Chinese text Pin
Jarek Kruza9-Mar-09 21:57
Jarek Kruza9-Mar-09 21:57 
Questiontoolbox Pin
balapdy9-Mar-09 19:45
balapdy9-Mar-09 19:45 
AnswerRe: toolbox Pin
anujbanka17849-Mar-09 19:55
anujbanka17849-Mar-09 19:55 
Questionretrieve data from Database based on SessionID and populating the textboxes.. [modified] Pin
scar_face9-Mar-09 19:03
scar_face9-Mar-09 19:03 
AnswerRe: retrieve data from Database based on SessionID and populating the textboxes.. Pin
Anurag Gandhi9-Mar-09 19:35
professionalAnurag Gandhi9-Mar-09 19:35 
GeneralRe: retrieve data from Database based on SessionID and populating the textboxes.. Pin
scar_face9-Mar-09 19:42
scar_face9-Mar-09 19:42 
QuestionImages not displaying in IIS7 [modified] Pin
Member 34269369-Mar-09 10:59
Member 34269369-Mar-09 10:59 
All

I have a website that works perfect on IIS6 with Windows 2003 server, I am trying to move the website to Windows 2008 server with IIS7, everything works fine except the images does not display in the webpages, I did some search and installed static content, tried adding new handlers etc. without any success,
Here is the picture control code

<asp:image height="240" width="320" id="FacilityPicture" runat="server" visible="false" alternatetext="Picture of Facility At Time Of Inspection" xmlns:asp="#unknown">
And here is how I am calling the picture
FacilityPicture.ImageUrl = "facility.imgx?pictureId=" + facility.MainPicture.ReplicationId.ToString();

I have added the imgx handler in the web.config

add verb="GET" path="*.imgx" type="*****.Web.DatabaseImageHttpHandler, *****.Web, Version=1.2.0.0, Culture=neutral, PublicKeyToken=89330ffe59e80120" /

I replaced the DLL name with *s.

All the pictures are displaying the "alternatetext" value and not the picture itself.

Appreciate any help

Thanks in advance

Sri

modified on Monday, March 9, 2009 6:55 PM

AnswerRe: Images not displaying in IIS7 Pin
Curtis Schlak.9-Mar-09 12:50
Curtis Schlak.9-Mar-09 12:50 
GeneralRe: Images not displaying in IIS7 Pin
Member 34269369-Mar-09 12:52
Member 34269369-Mar-09 12:52 
AnswerRe: Images not displaying in IIS7 Pin
N a v a n e e t h9-Mar-09 15:47
N a v a n e e t h9-Mar-09 15:47 
GeneralRe: Images not displaying in IIS7 Pin
Member 342693610-Mar-09 5:19
Member 342693610-Mar-09 5:19 
AnswerRe: Images not displaying in IIS7 Pin
Cybernate11-Mar-09 6:51
Cybernate11-Mar-09 6:51 
GeneralRecord Audio Pin
Paul R Morrison9-Mar-09 10:33
Paul R Morrison9-Mar-09 10:33 
GeneralRe: Record Audio Pin
Christian Graus9-Mar-09 11:08
protectorChristian Graus9-Mar-09 11:08 
NewsPage event order: Please critique this info Pin
Gregory Gadow9-Mar-09 7:04
Gregory Gadow9-Mar-09 7:04 
GeneralRe: Page event order: Please critique this info Pin
Anurag Gandhi9-Mar-09 19:50
professionalAnurag Gandhi9-Mar-09 19:50 
QuestionHttpException The file '/MyControls/Web/GUI/Controls/PageHead.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) Pin
thomasa9-Mar-09 6:49
thomasa9-Mar-09 6:49 
AnswerRe: HttpException The file '/MyControls/Web/GUI/Controls/PageHead.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) Pin
Christian Graus9-Mar-09 11:48
protectorChristian Graus9-Mar-09 11:48 
QuestionCreate random Number Pin
ptvce9-Mar-09 3:20
ptvce9-Mar-09 3:20 
AnswerRe: Create random Number Pin
Abhijit Jana9-Mar-09 3:28
professionalAbhijit Jana9-Mar-09 3:28 
GeneralRe: Create random Number Pin
scottgp9-Mar-09 5:09
professionalscottgp9-Mar-09 5:09 
GeneralRe: Create random Number Pin
Christian Graus9-Mar-09 11:09
protectorChristian Graus9-Mar-09 11:09 
AnswerRe: Create random Number Pin
N a v a n e e t h9-Mar-09 4:09
N a v a n e e t h9-Mar-09 4:09 
AnswerRe: Create random Number Pin
Jack Li9-Mar-09 4:59
Jack Li9-Mar-09 4:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.