Open Closed

Cannot load the login page #10030


0
mike created

Prerequisites

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

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

<br> When trying to run the application at http://localhost:4200, the following error show, the page haven't load "GetCurrentLoginInformations" and stopped after calling http://localhost:4200/sockjs-node/info?t=1611571485300 Response: {"websocket":true,"origins":[":"],"cookie_needed":false,"entropy":79410150} This is the error message


16 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @mike

    Is your server-side Host app is running as well ?

  • 0
    mike created

    Yes, host app build success and it can return response

  • 0
    ismcagdas created
    Support Team

    Hi,

    Could you share the response of GetCurrentLoginInformations ?

  • 0
    mike created

    Sorry, cannot load the GetCurrentLoginInformations, the process stopped at info

  • 0
    ismcagdas created
    Support Team

    Hi @mike

    Does this happen every time you run the app ? If so, could you send your project to info@aspnetzero.com and let us check it for you ?

    Thanks,

  • 0
    mike created

    HI,

    I already sent you by email from my account registrated email, please check.

    Thanks.

  • 0
    ismcagdas created
    Support Team

    Hi @mike,

    We couldn't find your email. Did you send it to info@aspnetzero.com ?

    Thanks,

  • 0
    ismcagdas created
    Support Team

    Hi again,

    We have received the email, thank you. We will inform you on monday.

  • 0
    mike created

    Hi,

    Any updates?

  • 0
    ismcagdas created
    Support Team

    Hi @mike,

    I have reproduced the problem locally and solved by implementing the steps below;

    1. Update primeng to 9.0.4
    2. Upgrade ngx-bootstrap to 5.6.2
    3. enable Ivy in tsconfig.app.json

    "angularCompilerOptions": { "enableIvy": true }

    1. change iisExpress applicationUrl to "http://localhost:44301/" on launchsettings.json

    "iisExpress": { "applicationUrl": "https://localhost:44301/", "sslPort": 44301 }

    1. change ServerRootAddress as below in appsettings.json

    "ServerRootAddress": "https://localhost:44301/"

    1. change remoteServiceBaseUrl in appconfig.json under src/assets folder

    "remoteServiceBaseUrl": "https://localhost:44301",

    After all, I got an internal server Error but I think the app is trying to access a private database. Could you implement steps above and share the result ?

    Thanks,

  • 0
    mike created

    Sorry,

    When tring to run "npm run hmr", it show [error] Error: NGCC failed.

  • 0
    ismcagdas created
    Support Team

    Hi,

    Could you try running npm run start or yarn start.

  • 0
    mike created

    Sorry,

    Still got NGCC failed when runing "npm run start"

  • 0
    ismcagdas created
    Support Team

    Hi,

    Could you remove index.html and other script files under CFL.D2C.Web.Host\wwwroot folder and try again ?

  • 0
    mike created

    Deleted, but still NGCC failed

    Can you try remote acess to that pc to fix this issue?

  • 0
    ismcagdas created
    Support Team

    Hi @mike

    Could you send an email to info@aspnetzero.com about this so we can arrange an online meeting.

    Thanks,