IIS not publishing images

Strange problem I am having.  I have three website servers running IIS.  Two of them work fine.  Each server is paired with its own separate file server that stores the images that the website looks for and publishes.  The third one will give a web page but the pictures have that "missing image" look.  Now, we thought it might be something wrong with the file server but the other two servers, when we change the path, are able to get images off the file server that is paired with the third IIS.  We even pointed the third server to look at the other two file servers and we got the same results.  Quite confusing.  Any ideas?
jonmenefeeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
Are all running the same version of OS?
What is the mechanism that accesses the files from the file server?

Try the following
telnet thirdiisserver 80
GET http://URL/image path/image HTTP/1.1
Host: your_hostname
Refererer:

And see what you get as a response, the item of interest is the HTTP header I.e. you might be outputting the wrong Content-Type:


This presumes that you have an ASP or some dynamic script that accesses the file share and feeds/streams the image to the user.

At times a better approach is to place a reverse proxy I front of the dynamic content such that the static images are fed from the proxy.
0
jonmenefeeAuthor Commented:
I will try that now. Thank you!!
0
jonmenefeeAuthor Commented:
All three IIS servers are on 2012 R2.  I don't know if I ran that correct or not but the response I got was content-type txt/html.  I might have typed something wrong because there is no return echo when I type.

We are running ASP.net to run the whole website

Here is the return I got when I put in the above.  BTW  was the spelling of refererer supposed to be referrer?



        HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Sun, 07 Jun 2015 14:57:38 GMT
Connection: close
Content-Length: 326

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/str
ict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid Verb</h2>
<hr><p>HTTP Error 400. The request verb is invalid.</p>
</BODY></HTML>


Connection to host lost.

C:\Users\Home>
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

arnoldCommented:
The response you received is an error.

Does the .net application you use the same on all three or does each have their own written app.

Look at the source on IIS server 3 for the <Img src=
The issue is either the mechanism does not allow access to the fileserver where the images are stored in this case or the output image is not properly designated as image/png etc.

Do you have an asp page that you can use that will access the fileserver share and list the names and directories within the share?
The issue is isolated to the IIS server 3 since none of the other fileservers can be accessed.
0
jonmenefeeAuthor Commented:
Actually I found the problem.  Feeling pretty dumb.  We set the virtual directory to the image server and forgot to put the right permissions in the virtual directory.  :-)  Problem solved.  I had a feeling it was something simple and stupid :-)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jonmenefeeAuthor Commented:
We missed a step when configuring the virtual directory that goes to the image server.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.