I have Deployed On IIS After that getting Following error how to resolve this.but project run on local machine no issue
Note:- i have Deployed Project With same port 4200 on IIS!
9 Answer(s)
-
0
hi
- What is your product version?
- What is product framework type (.net framework or .net core)?
Are there any other error messages?
-
0
Product Version is 8.5 Framework is .net core
-
0
hi emirsec
Can you share your deploy steps? of course more details will be good.
-
0
Followwing Steps To deploy Front End Solution
1] ng Build --prod 2] Create New Side for IIS Using Port 4200 3] Copy Dist Folder File To C:\inetpub\wwwroot\LockcompFrontEnd 4] run browser getting this issue
-
0
You should use the
npm run publish
command.https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-IIS#angular-application-publishing
-
0
-
0
Try this url https://github.com/aspnetzero/documents/blob/master/docs/en/Deployment-Angular-Publish-IIS.md#angular-application-publishing
-
0
Issue Resolved Using npm run Publish . Not use ng build --prod to Deploye IIS
-
0
Thanks @emirsec