Base solution for your next web application
Open Closed

Urgent Help Needed! My project is not Running!! #2103


User avatar
0
george created

Hi,

I don't know what I've done extra-ordinary.. Anyways, my project is not running.. I can see the following error in browser console:

angular.js:13642 TypeError: Cannot read property 'app' of undefined
    at Object.<anonymous> (appSession.js:10)
    at Object.invoke (angular.js:4708)
    at Object.$get (angular.js:4547)
    at Object.invoke (angular.js:4708)
    at angular.js:4507
    at d (angular.js:4654)
    at e (angular.js:4678)
    at Object.invoke (angular.js:4700)
    at P.instance (angular.js:10177)
    at n (angular.js:9096)(anonymous function) @ angular.js:13642(anonymous function) @ angular.js:10287$apply @ angular.js:17483(anonymous function) @ angular.js:1780invoke @ angular.js:4708c @ angular.js:1778Ac @ angular.js:1798fe @ angular.js:1683(anonymous function) @ angular.js:31018i @ jquery.min.js:2fireWith @ jquery.min.js:2ready @ jquery.min.js:2K @ jquery.min.js:2
abp.js:285

It is talking about the ' abp.services.app' when trying to call the 'abp.services.app.session.getCurrentLoginInformations' methode from the appSession.js

When the 'app' is getting defined?? A few minutes ago, it was working beautifully .. Don't know suddenly what happened ..

Somebody please help me fast...


2 Answer(s)
  • User Avatar
    0
    george created

    Finally I myself found out the issue!! I've given 2 arguments in one of my appservice methodes. Both of them are considered as complex types. When I removed an argument, the project is running successfully.

    I've updated the Abp & Abp.Wep.API nuget packages as a solution seen in gitHub([https://github.com/aspnetboilerplate/aspnetboilerplate/issues/609])). But now it shows another error:

    Method not found: '!!0 Abp.Reflection.ReflectionHelper.GetSingleAttributeOfMemberOrDeclaringTypeOrDefault(System.Reflection.MemberInfo, !!0)'.
    

    Do i need to update all the nuget packages??

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    No, dont update all nugt packages. You just need to update ABP packages if you want to update ABP framework.

    Did you downgraded EntityFramework.DynamicFilters ? If not, please see this explanation <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1451#issuecomment-264413168">https://github.com/aspnetboilerplate/as ... -264413168</a>