Huh, damn it!!!!!
Thats the word that I said after several days stuck on web migration due to the fussy of IIS 7.0 and ColdFusion 8. I don’t know who are the ‘clever’ guys that make this IIS 7.0 so that it is too ‘easy’ to use. I want to say a very big thank you to that guy which make me almost went to crazy (how bad my english. LoL). Why??
Because it is very difficult just want to see my image appear on web browser using .cfm file.
No matter what browser that I used; Mozilla Firefox, Opera, Chrome even Internet Explorer from Microsoft it self can’t make my very simple .jpeg and .gif image come out. Whats wrong? The code is damn simple, something like this:
<img src="/my_very_simple_image.gif">
Can anyone tell me whats wrong with that code (i also have tried to put “../my_very_simple_image.gif”).
Actually, there are nothing to do with that simple code. The thing is, just what I said before, the IIS 7.0 and ColdFusion 8.0, both of them damn fussy. Luckily I’ve found the solution for that. If not, I am gonna to throw away the Windows Server 2008 DVD installer to deep see. Hahaha
Here what I do:
1. Calm down, take a breath and pray to God. Then open IIS 7.0.
2. Click on Virtual Directory and switch to Featured View.

3. Open Authentication.
4. Then something as shown below appear:

5. Then, click once on “Anonymous Authentication” and next click on “Edit” on the top right side.
6. Then a windows will pop up right in front of your face like this:

Usually on the Specific user already written with “IUSR” as a user.
7. Don’t waste your time, throw away that IUSR user by click “Set…” button and write your administrator or other user you want that have permission to access the image file. (I have use the administrator in this case).

After that, click “OK” button.
8. Then try to browse your image again using any web browser that you have (if you want). And you will make a smiling face like this
while saying:
Damn It!!! What is the relation between image not showing on IIS 7.0 and this Authentication?
The answer is “I also don’t know, please ask the clever guy that make this things”. Hehe.
No..not in Local C: drive, but in mapped drive.
Thanks for the useful info. It’s so interesting
2:21 pm
could it be that you have your files in the c:\users\ directory? IIS runs as a different identity and has no access to it.