I am attempting to deploy an ASPNET vNext site onto IIS 8.
The site works wonderfully in development - I can run it using "web" or IISExpress and it builds for all runtime types (coreclr and clr). I can also run the same site on my Mac as well.
However, when I deploy it to IIS, as soon as I attempt to hit the site, I receive a 500 error. The steps I am following to deploy:
I have ASP.NET 4.5.2 installed. IIS does have ASP.NET 4.5 + Extensions installed as a feature. When I threw in a quick Index.html page into my web endpoint, it did display, so I believe IIS is at least hosting up information.
I have provided some links to information that I have been able to find on the issue. Nothing has worked so far and it's rather frustrating. I would appreciate any pointing in the correct direction.
Leveraging the additional information that Aristos provided from this answer , I was able to get better error messages from IIS. Ultimately, I learned that I needed to deploy the coreclr and not the clr with my application.
However, over time, I ended up not using IIS at all as Kestrel was better/easier for this particular situation (and a heck of a lot easier to manage).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.