Link to home
Get AccessLog in
Avatar of jonmenefee
jonmenefeeFlag for United States of America

asked on

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?
SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
Avatar of jonmenefee

ASKER

I will try that now. Thank you!!
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>
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.
ASKER CERTIFIED SOLUTION
Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
We missed a step when configuring the virtual directory that goes to the image server.