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

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

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?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    emirsec created

    Product Version is 8.5 Framework is .net core

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    maliming created
    Support Team

    hi emirsec

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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!

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • 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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    emirsec created

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @emirsec

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)