Open Closed

Cannot find ServiceProxyScript -Failed to load resource: the server responded with a status of 500 #922


User avatar
0
Gary created
  • UI type: MVC
  • DB provider: EF Core
  • **Tiered (MVC)

When trying to run the program I am getting the folowing error in the console. If I create a branch from a few days back and run it it works OK. Since then I can't see anything in the diff that might have lead to this error.

Uncaught TypeError: Cannot read property 'educatePlus' of undefined at HTMLDocument.<anonymous> (index.js?_v=637490254128026448:4) Its crashing on var prospectusService = window.enform.educatePlus.prospectuses.prospectus; at the educatePlus part. Yet if I type it out the intellisence still shows it as valid.

Here is the error

The log file shows what I think is the error below in multiple entries.

at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) 2021-02-16 13:38:43.489 +13:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync(). 2021-02-16 13:38:43.532 +13:00 [INF] Request finished HTTP/1.1 GET http://localhost:44382/Abp/ServiceProxyScript - - - 500 - text/plain 1540.5507ms

at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) 2021-02-16 13:38:43.718 +13:00 [INF] Request finished HTTP/1.1 GET http://localhost:44382/Abp/ServiceProxyScript - - - 500 - text/plain 114.0831ms

at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) 2021-02-16 13:38:52.692 +13:00 [INF] Request finished HTTP/1.1 GET http://localhost:44382/Abp/ServiceProxyScript - - - 500 - text/plain 243.5808ms


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

    hi Gary

    Request finished HTTP/1.1 GET http://localhost:44382/Abp/ServiceProxyScript - - - 500 - text/plain 243.5808ms

    Please check the logs of localhost:44382 application.

  • User Avatar
    0
    Gary created

    Hi, just to close off this error for anyone else who gets it. There was some sort of error in my service, that I think was picked up in the swagger. Fixing the method, in this case by setting it to private fixed it.

    I just had it again...

    2021-06-18 13:47:09.426 +12:00 [ERR] An unhandled exception has occurred while executing the request. Volo.Abp.AbpException: Only one complex type allowed as argument to a controller action that's binding source is 'Body'. But SaveBlobBytesAsync (api/app/contact-documents/save-blob-bytes) contains more than one!

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 18, 2025, 07:10