Server Error in '/D3_Studio' Application.

Redis database access denied [0]

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Redis database access denied [0]

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:

 

[InvalidOperationException: Redis database access denied [0]]
   Terrasoft.Redis.StackExchangeAdapters.RedisClientsManagerAdapter.ThrowInvalidSelectedDbException() +113
   Terrasoft.Redis.StackExchangeAdapters.RedisClientsManagerAdapter.CheckAccessRedisDB(Nullable`1 defaultDatabase) +323
   Terrasoft.Redis.StackExchangeAdapters.RedisClientsManagerAdapter..ctor(String connectionStringName, RedisConfigSection configSection) +331
 
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +313
   Terrasoft.Redis.RedisClientsManager.CreateRedisClientsManager(String redisClientsManagerName, String connectionStringName) +283
   Terrasoft.Redis.RedisClientsManager..ctor(String connectionStringName) +69
   Terrasoft.Redis.<>c.<.cctor>b__23_1() +64
   System.Lazy`1.CreateValue() +732
   System.Lazy`1.LazyInitValue() +189
   Terrasoft.Redis.BaseRedisStore.Initialize(IDictionary`2 parameters) +48
   Terrasoft.Core.AppConnection.InitializeStoreAdaptersSection(StoreAdaptersConfigurationSection section, Type levelType) +357
   Terrasoft.Core.AppConnection.InitializeStoreAdapters() +78
   Terrasoft.Core.AppConnection.Initialize() +144
   Terrasoft.WebApp.Loader.Global.InitializeAppConnection() +152
   Terrasoft.WebApp.Loader.Global.Application_Start(Object sender, EventArgs e) +233
 
[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +517
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +185
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369
 
[HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +719


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

Like 0

Like

2 comments

Greetings!
 

Please ensure that Redis is running and that the connection string is properly configured:



Also, you can find more information on how to configure your Redis server here: 

https://academy.creatio.com/docs/8.x/setup-and-administration/on-site-deployment/caching-server/set-up-secure-connection-to-redis

Regards,

Orkhan

Orkhan,

sir  i insalled redis on WSL , setup creatio app on windows

Show all comments