TrilonIO / aspnetcore-angular-universal

ASP.NET Core & Angular Universal advanced starter - PWA w/ server-side rendering for SEO, Bootstrap, i18n internationalization, TypeScript, unit testing, WebAPI REST setup, SignalR, Swagger docs, and more! By @TrilonIO
https://www.trilon.io
MIT License
1.46k stars 434 forks source link

Errors when trying to host example project locally. #491

Open TomasKatz opened 6 years ago

TomasKatz commented 6 years ago

We are trying to POC the aspnetcore-angular2-universal sample project, but we are running into difficulties actually starting it up. We followed the instructions step by step the Getting Started & Deployment instruction in the example seed page (https://github.com/MarkPieszak/aspnetcore-angular2-universal).

We are able to build & launch the application from Visual Studio Code using dotnet run & dotnet build, the problem occurs when we try to take the published project (using dotnet publish which seems to work) and move it to a new IIS site directory.

We get a configuration file error, yet we went over it and it seems fine. The Error we get is: q

Any help with this will be appriciated, since were stuck, and this is the project seed we want to work with, it looks like the best solution for us, in case we can deploy it.

lgoudriaan commented 6 years ago

The error states that your web.config is invalid, so you might want to check that.

danielnajera commented 6 years ago

You might need to install NodeJs on the server if you're using Windows 2016, also check directory permissions on web folder make sure it has the correct rights.

etatuev commented 6 years ago

Just tried to help at your stackoverflow question.