Base solution for your next web application
Open Closed

Dynamic api not working after upgrade to abp 0.8.3 #882


User avatar
0
hole7 created

Hi everyone,

Is there any people here had a problem when upgrade abp version 0.8.3?

Previous, I used abp 0.6.7 and it's working fine, but after I upgrade it to latest version (0.8.3) there is an error with AbpServiceProxies/GetAll as attached image.

[http://pasteboard.co/2fJRlIXP.png])

Could anyone help me?

Thanks & Regards, Ho Le


8 Answer(s)
  • User Avatar
    0
    hole7 created

    any help, please!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Can you check your website logs and share if you find any error.

  • User Avatar
    0
    hole7 created

    hi,

    Thanks for your advice!

    I found an exception:

    "ERROR 2016-03-15 22:16:41,078 [165 ] lers.Filters.AbpExceptionFilterAttribute - Only one complex type allowed as argument to a web api controller action. But SaveLocalizedValue contains more than one! Abp.AbpException: Only one complex type allowed as argument to a web api controller action. But SaveLocalizedValue contains more than one!"

    So, with that logs I think I can fix it. But, what changed with the new version? because old version worked fine.

    Thanks ismcagdas so much!

  • User Avatar
    0
    hole7 created

    hi ismcagdas ,

    Give me another question!

    I just use the same configuration as startup template for Hangfire config but it throw an exception as image below

    [http://pasteboard.co/2hTvYmyE.png])

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    For the HangFire, it might be related to log4net. Which version of log4net do you use on your project ?

    Can you also share signature of your "SaveLocalizedValue" method ?

  • User Avatar
    0
    hole7 created

    Hi ismcagdas,

    I'm using log4net 1.2.10.0 and Hangfire.Core 1.5.3.0.

    For SaveLocalizeValue method, I fixed it.

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Sorry for my late response. I couldn't find a clean answer to your problem.

    I have tried with log4net 1.2.10.0 and Hangfire.Core 1.5.3 and it works as expected.

    Do you also have Hangfire.SqlServer nuget package installed ? Is your web module depends on "AbpHangfireModule" ?

  • User Avatar
    0
    hole7 created

    Hi,

    No problems

    I did install Hangfire.SqlServer (1.5.3.0) and setting dependency on AbpHangireModule too, but don't know why it's not working.

    Let me try to reinstall it :) hope somehow it works :)

    Thanks a lot