Quantcast
Viewing all articles
Browse latest Browse all 9386

Can't start .NET Core "Hello World" on IIS

Hello,

I have published .NET Core 3.1 Web API "Hello World" application on IIS 8.5 (Windows 2012 R2) with installed ASP.NET Core 3.1 Runtime v3.1.5.

The folder C:\inetpub\wwwroot\helloWorld has also helloWorld.exe etc.

In IIS Manager I can see web application "helloWorld". I created application-pool ".NET CLR version" = "No Managed Code", and "Managed pipeline mode" = "Integrated".

I restarted Server. (as described under https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-3.1)

I can start "C:\inetpub\wwwroot\helloWorld\helloWorld.exe" and I see that it runs on localhost:5000 on IIS Server local.

I can also start application in development environment visual studio https://localhost:44342/api/myControllerName

But:

- i cant' reach http://localhost/helloWorld/api/myControllerName (Internal Error 500) on local web iis server

The C:\inetpub\logs is also empty

What I do wrong and how can I achive this goal?

Thanks

Viewing all articles
Browse latest Browse all 9386

Trending Articles