2019年10月24日 星期四

[研究][ASP.NET] Microsoft.Web.RedisSessionStateProvider.3.0.2 升級 4.0.1 後,網站不能用

[研究][ASP.NET] Microsoft.Web.RedisSessionStateProvider.3.0.2 升級 4.0.1 後,網站不能用

2019-10-24

NuGet 升級成功,Compile 成功,Deploy 成功,啟動網站會失敗。(之前網站正常)

Click 圖片可看 100% 尺寸

Server Error in '/' Application.

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The entry 'MySessionStateStore' has already been added.

Source Error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Source File: D:\home\site\wwwroot\web.config   Line: 122

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0

********************************************************************************

NuGet 從新安裝 3.0.2,deploy 執行仍失敗。

還好做元件升級前,Source Code 有備份。

(完)

沒有留言:

張貼留言