Base solution for your next web application
Open Closed

Deployment to IIS - Angular side with error #9294


User avatar
0
logicpulse created

Hi,

I am doing a deployment to IIS and my project is built in ASP.NET Core and Angular. I deployed the ASP.NET Core separately from the Angular project, I mean I created two websites on IIS. The ASP.NET Core website works fine. What's wrong here is that the Angular side is returning me an error HTTP 500.19 - Internal Server Error. I think it's because of the web.config file... but I just copied the one in my angular project... I don't know if that's the right one or not. I really need this project to work.

Any possible solutions? Thanks in advance.


4 Answer(s)
  • User Avatar
    0
    smry created

    When you say "The ASP.NET Core website works fine." can you elaborate? Are you able to connect to the remote swagger page from outside of the deployment server?

    Also, what version of the application are you using?

    And finally, can you check \App_Data\Logs\{log file} can see what it says in there when you get this error?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @logicpulse,

    Could you also share your IIS Application Pool configuration for your Angular app ?

  • User Avatar
    0
    logicpulse created

    Hi all,

    @smry, "Are you able to connect to the remote swagger page from outside of the deployment server?" Yes, I can connect to the remote swagger page.

    My version of the application is 8.5.

    @ismcagadas, Here it goes, it's the angularwebsite: (I'm sorry because my software IIS is in portuguese. Hope you understand, if there are any doubts please ask me.)

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @logicpulse

    Seems fine. Could you send an email to [email protected] ? We can connect to your server and help you remotely if that's OK for you.

    Thanks,