NHibernate exception: Transaction not connected, or was disconnected

后端 未结 3 1962
后悔当初
后悔当初 2021-02-19 12:19

In our develop environment all the ASP.NET application works just fine. However, when I deploy the site on the test machine, on some pages I get this exception:

         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-19 12:49

    Another problem could be the user security (a database level exception again). In my case the underlying DB problem was:

    The server principal "AppUser" is not able to access the database "AppDB" under the current security context.
    

提交回复
热议问题