NHibernate WCF Rest IIS7 Fails with Security Exception

前端 未结 1 1394
陌清茗
陌清茗 2021-01-16 11:39

Here is the error:

    System.TypeInitializationException: The type initializer for \'NHibernate.Cfg.Environment\' threw an exception. 

---> System.Secur         


        
相关标签:
1条回答
  • 2021-01-16 12:14

    http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/344545/scope/posts/Default.aspx

    change the Identity of the app pool from "ApplicationPoolIdentity" to "NetworkService" and give "NetworkService" account "modify" permissons on the file system folder.

    0 讨论(0)
提交回复
热议问题