Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

UNCAUGHT TYPEERROR: CANNOT READ PROPERTY 'APP' OF UNDEFINED #3240


User avatar
0
shaariii created

Hi there, All of our services can not be resolved by 'abp.services.*' We have fully read the Logs.txt in AppData folder and [dbo].[AbpAuditLogs] tables, but no useful formation has been found. Anybody facing the same issue ? We are using Aspnetzero and we updated all the packages to the latest version ( Abp V.2.0.2.0 ... )

_Header.js?v=636307129102958674:3 Uncaught TypeError: Cannot read property 'app' of undefined at HTMLDocument.<anonymous> (_Header.js?v=636307129102958674:3) at i (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at Function.ready (jquery.min.js:2) at HTMLDocument.K (jquery.min.js:2)


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you check the result of "AbpServiceProxies/GetAll" request in your browser's network tab ? It should return ABP service proxy scripts.

    Thanks.

  • User Avatar
    0
    shaariii created

    Actually we rolled back to the previous version, so I can not trace that bug!! I currently have access to the that url and all of the services are available. :D Anyway, thank you very much, maybe your solution would be helpful in the future.

    Thanks for your reply,

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks for the feedback :), we can help you in the future if you want to upgrade again.

  • User Avatar
    0
    huntethan89 created

    <cite>ismcagdas: </cite> Hi,

    Can you check the result of "AbpServiceProxies/GetAll" request in your browser's network tab ? It should return ABP service proxy scripts.

    Thanks.

    What if it does not return anything? In my case I get nothing in response.

    Thanks

  • User Avatar
    0
    huntethan89 created

    I was able to resolved it!

    My issue was that, I was using multiple "out parameters" in the AppService method. Removing those parameters and using class as a parameter instead resolved the issue.