Image folder access as URL in WebApi issue ..!

763 views Asked by At

I have Image folder in hosted WEB API, while accessing image with URL "http://localhost:49245/images/abc.png" is working fine at local end, but not on hosted site at server. Showing "500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.” I have already added :

<location path="Images"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>

But still not working. Please suggest.

0

There are 0 answers