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
Asked
Active
Viewed 310 times
0
-
How big are the images? `0x800703e9` means stack overflow. – Lex Li Oct 23 '20 at 23:45
-
just 51.2 KB @LexLi Li – Lakmal Oct 23 '20 at 23:57
1 Answers
0
You can try the following steps to solve the problem.
- 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
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