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

Dynamic webapi's not recognized anymore #1614


User avatar
0
fupanda created

After changing some frontend code which has nothing to do with webapi's I get error messages in the browser

  • failed to load recources api/AbpServiceProxies/GetAll
  • Cannot read property 'app' of undefined in _header.js where abp.services.app.userLink; is not recognized

Already tried to rebuild the whole solution but no effect. It's driving me nuts!


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

    Hi,

    Probably there is an error while generating service proxy scripts. Can you check Logs.txt in App_Data or Logs folder of your web project in order to see error details ?

  • User Avatar
    0
    fupanda created

    Thanks ismcagdas, I didn't knew there was a logfile for that. When opening the logfile the problem was immediately clear. "Only one complex type allowed as argument to a web api controller action". Strange thing is that I didn't change that code and sometimes it worked and sometimes it didn't.

    You have made up my day!!!