0

I am trying to browse Image from Images folder in my ASP.net web API project like this:- http://localhost:56951/Images/221020065254AM_13906734_658826644282707_5299628712403615086_n.jpgenter image description here. I have got the Image name and extension from DB and I call for Image Using this Url, I have Called many times before but unfortunately, at this time I got HTTP Error 500.0 - Internal Server Error

Lakmal
  • 1
  • 1

1 Answers1

0

You can try the following steps to solve the problem.

  1. Be sure you have .NET Extensibility Feature installed on server.
  • windows features > Internet Information Services > world wide web services > Application development Features > Choose .NET Extensibility and install

enter image description here

2.Be sure you have modules added in system.server

 <system.webServer>
   <modules runAllManagedModulesForAllRequests="true">
    <add name="UrlRewrite" type="Rewriteurl.urlrewrite"/>
   </modules>
 <system.webServer>
samwu
  • 3,857
  • 3
  • 11
  • 25