Base solution for your next web application
Open Closed

Cannot run newly created project ASP.NET ZERO MVC & JQuery #8127


User avatar
0
PhilT created

Just purchased, generated and downloaded a demo project for the MVC jQuery version on Dot Net Core 3 to go through the getting started document. Followed everything to the letter (twice now) but it does not run correctly.

Browser network page shows 404 for:

    <!-- Dynamic scripts of ABP system (They are created on runtime and can not be bundled) -->
    <script src="/AbpServiceProxies/GetAll?v=637107458212787496" type="text/javascript"></script>
    <script src="/AbpScripts/GetScripts?v=637107458212787496" type="text/javascript"></script>

And console shows these errors: GET http://localhost:62114/AbpServiceProxies/GetAll?v=637107458212787496 net::ERR_ABORTED 404 (Not Found) Login:200 GET http://localhost:62114/AbpScripts/GetScripts?v=637107458212787496 net::ERR_ABORTED 404 (Not Found) Login:199 GET http://localhost:62114/AbpServiceProxies/GetAll?v=637107458212787496 net::ERR_ABORTED 404 (Not Found) Login:200 GET http://localhost:62114/AbpScripts/GetScripts?v=637107458212787496 net::ERR_ABORTED 404 (Not Found) common-scripts.min.js:6 Uncaught TypeError: Cannot read property 'app' of undefined at common-scripts.min.js:6 at common-scripts.min.js:10 (anonymous) @ common-scripts.min.js:6 (anonymous) @ common-scripts.min.js:10 Default.js:3 Uncaught TypeError: app.ModalManager is not a constructor at Default.js:3 at Default.js:56 (anonymous) @ Default.js:3 (anonymous) @ Default.js:56

And this kills the login functionality so I cannot login. Please advise how to resolve this issue.

I do not get any problems if I generate and downoad version 7.3 instead of version 8.

UPDATE running v8 under IISExpress launch profile has the issue, switch to the alternate launch profile it runs fine.


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

    I downloaded an ANZ 8.0 MVC project. After running yarn and npm run create-bundles,can't reproduce your problem.

    Including the use of IIS Express and XXX.Web

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.