Open casni14 opened 7 years ago
I am experiencing the same issue when setting up the page in IIS. Actually you don't need it though. Just run dotnet run
in the console.
@casni14 Apppool should be configured as 'No managed Code'...
@davidsekar I have tried that, but it doesn't seem to do the trick
Hope you have already checked this, If not try it out https://docs.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore2x
@casni14 after following steps in above link with a fresh pull, do you still get an issue?
Give AppPoolIdentity permission to root folder. Mine solution worked widauth Windows Server Hosting bundle ;)
@Isaac2004, yes I followed the steps but it didn't fix it.
Is this local IIS or on some web server?
Any updates on this having the same issue.
I had to install NodeJs on Windows Server 2016, that fixed the problem for me, previous versions for some reason did not require this like on Windows Server 2012, for example.
@casni14 other users are having success deploying to IIS. Ensure nodeJS is installed and that doc is followed. Please let us know if you are still having issues, otherwise I am going to close this ticket in a few days.
This may not be related to aspnetcore-angular2-universal, but here goes.. I'm trying to add the application to my IIS, but when running it, it returns the error
500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.
It seems like there is something wrong with the web.config file. (Excuse me if this is a no-brainer, I just started using IIS..)Thank you :)