Displaying images on IIS7 (& other vista things)

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Displaying images on IIS7 (& other vista things)

Post by MarauderIIC »

I work for a small company and after I upgraded to Vista(forced), and installed IIS 7, during which I thought I took all the necessary steps, none of the images in the asp.net page worked. Turns out that the solution is
http://peterkellner.net/2008/04/01/iis7imageproblem/ wrote:So, this may seem simple, but for an hour I wrestled with displaying images on IIS7 with vista. ASP.NET worked fine, but no static files, css, jpg’s, gif’s or anything. Just unformatted text.

Turns out when I added the web server in vista, I forgot to check the Static Content checkbox under World Wide Web Services / Common Http Features.
Image
Hope this finds you if you are having the same problem.
A comment wrote:2. David Conlisk Says:
August 13th, 2008 at 12:49 am

Thanks for the tip! Saved me some time. For other non-Vista users like myself, here’s how you find that dialog:

Click Start -> Control Panel -> Programs and Features -> Turn Windows features on or off

Then drill down into IIS as shown in the image above.
Cheers,
David
Also read about hiding UAC prompts, disabling specific security center alerts, and tweaking OEM vista.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Displaying images on IIS7

Post by LeonBlade »

Ugh... I hate Vista...
Windows 7 looks VERY promising (I'm beta testing it)
There's no place like ~/
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Displaying images on IIS7

Post by Ginto8 »

:roll: Yes... the joy of Vista.

Though it would be an okay OS if it weren't for incompatibility (with some Microsoft products, if what I've heard is true) and UAC, but it has those... :roll:

edit: Though it still wouldn't beat XP SP2.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Displaying images on IIS7

Post by LeonBlade »

Windows 7 fixes the UAC BIG TIME!
Vista was a big waste of MY OWN MONEY lol... I was pissed...
There is a SP2 for it in beta, idk what it does...
There's no place like ~/
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Displaying images on IIS7

Post by MarauderIIC »

I turned off UAC prompts via registry hack.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: Displaying images on IIS7

Post by LeonBlade »

I just disabled it... lol... hard to find it
There's no place like ~/
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Displaying images on IIS7

Post by MarauderIIC »

Disabling it disables IE's protected mode, this way is preferred:
http://www.vistax64.com/tutorials/80938 ... level.html
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
Post Reply