Base solution for your next web application
Open Closed

How to resolve following error #9527


User avatar
0
emirsec created

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!

Error.png


9 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    • What is your product version?
    • What is product framework type (.net framework or .net core)?

    Are there any other error messages?

  • User Avatar
    0
    emirsec created

    Product Version is 8.5 Framework is .net core

  • User Avatar
    0
    maliming created
    Support Team

    hi emirsec

    Can you share your deploy steps? of course more details will be good.

  • User Avatar
    0
    emirsec created

    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

  • User Avatar
    0
    maliming created
    Support Team

    You should use the npm run publish command.

    https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Deployment-Angular-Publish-IIS#angular-application-publishing

  • User Avatar
    0
    cyberlotus created

    Hi,

    When i submit question on this website, i received the image:

    Can you help me to resolve this issue?

    Thanks!

  • User Avatar
    0
    maliming created
    Support Team

    Try this url https://github.com/aspnetzero/documents/blob/master/docs/en/Deployment-Angular-Publish-IIS.md#angular-application-publishing

  • User Avatar
    0
    emirsec created

    Issue Resolved Using npm run Publish . Not use ng build --prod to Deploye IIS

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @emirsec