Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

500 Internal Server Error accessing Image in IIS7

I have created an ASP.Net MVC4 site and deployed it to IIS7.

We noticed that the images in the css were not showing.

Trying to directly access the image file like this http://.com/CircuitSearch/Images/CircuitSearchBackgroundTrans.png returns the 500 error. Yes the filepath is correct.

Odd part if another site hosted on the same IIS works fine and can display images.

like image 254
jlh3302 Avatar asked Oct 17 '25 16:10

jlh3302


1 Answers

Change authentication for the site to Anonymous authentication/ application pool identity

enter image description here

like image 65
helpME1986 Avatar answered Oct 19 '25 11:10

helpME1986



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!