As part of Sitecore Upgradation from 9.3 to 10.3, I have upgraded code and database. We have deployed code in Azure web app using Azure piplines, the problem here in CM sitecore instance is everything fine but in CD environment getting below exception.
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: Method not found: 'Void StackExchange.Redis.SocketManager..ctor(System.String, Int32, Boolean)'.
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: C:\home\site\wwwroot\web.config Line: 296
Click here to show additional error information:
Exception Details: System.MissingMethodException: Method not found: 'Void StackExchange.Redis.SocketManager..ctor(System.String, Int32, Boolean)'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[MissingMethodException: Method not found: 'Void StackExchange.Redis.SocketManager..ctor(System.String, Int32, Boolean)'.]
Sitecore.SessionProvider.Redis.RedisUtility.ExtractConfigurationOptions(ProviderConfiguration configuration) +0
Sitecore.SessionProvider.Redis.StackExchangeClientConnectionAsync..ctor(ProviderConfiguration configuration, RedisUtility redisUtility) +25
Sitecore.SessionProvider.Redis.RedisConnectionWrapperAsync..ctor(ProviderConfiguration configuration) +139
Sitecore.SessionProvider.Redis.RedisSessionStateProviderAsync.Initialize(String name, NameValueCollection config) +312
System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +693
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0
Based on above exception I was suspected some lower version dll getting loaded for above exception and checked StackExchange.Redis
dll and pointed to correct version only.
Could you please help me which Lower version DLL version loaded here.