“Object has been disconnected or does not exist at the server” exception

后端 未结 7 830
孤街浪徒
孤街浪徒 2020-12-04 19:31

I need to use cross-appdomain calls in my app, and sometimes I have this RemotingException:

Object \'/2fa53226_da41_42ba_b185_ec7d9c454712/ygiw+xfegmk

7条回答
  •  Happy的楠姐
    2020-12-04 19:49

    In my case, this was happening with SQL LocalDB stored in App_Data folder inside Web project. Whenever I try to use Package Console to run update-database to init my Entity Framework database using migrations, nothing happens. Then after a while, I get that error.

    I solved this by revising file permissions on App_Data. Once fixed, voila, it worked.

提交回复
热议问题