2017-07-03 67 views
0

我剛開始使用ASP.NET MVC Boilerplate。我安裝了ASP.NET MVC 5.x,Entity Framework模板,除了創建新租戶外,一切看起來都很好。ASP.NET MVC 5.x創建租戶錯誤

我可以登錄默認的主機用戶。但是,在創建租戶時,我收到錯誤「您的請求期間發生了內部錯誤」。

enter image description here

enter image description here

異常線是黃線。

+1

內部錯誤不給一個簡短的異常描述。你能寫出完整的異常日誌嗎? –

回答

0

你能檢查你的* .Host項目下的Logs.txt文件嗎?它應該包含詳細的錯誤信息。

我相信你需要在你的計算機上啓用MSDTC。

0

MSDTC已啓用。 日誌詳細信息;

ERROR 2017年7月4日19:33:54624 [34] nHandling.AbpApiExceptionFilterAttribute - 未找到方法:「System.String Abp.Runtime.Security.SimpleStringCipher.Decrypt(System.String,System.String,字節[ ])」。 (System.String,System.String,Byte [])')。 在Abp.MultiTenancy.TenantCache 2.CreateTenantCacheItem(TTenant tenant) at Castle.Proxies.TenantCache 2Proxy.CreateTenantCacheItem_callback(承租人480)