New AppFabric Powershell Cache Exception

I just finished installing AppFabric on my prod server after it worked without problems in my dev environment. AppFabric installed without problems and works, but when I try to create a new named cache (ps: New-Cache ClickUrls), I get the following exception:

New-Cache: ErrorCode: SubStatus: Error: Cache creation caused a failure.

In line: 1 char: 10

  • New-Cache <<lt;
  • CategoryInfo: NotSpecified: (:) [New-Cache], DataCacheException
  • FullyQualifiedErrorId: ERRPS009, Microsoft.ApplicationServer.Caching.Commands.NewCacheCommand

Any insight into why it doesn't work? This is not a problem in my dev environment.

welcomes in advance

+3
source share
5 answers

Open the Services and Applications console and check the AppFabric Caching Service status. On my box (Windows 7 x86) it was configured as manual and did not start immediately after installation.

+2
source

When you start powershell, you must run it as an administrator, otherwise you will have this and other errors.

+8
source

Powershell, !

+2

! ERRPS009, , "Cache not created": - (

, Test-CacheConfigAvailability?. , .

0

.

:

  • Windows > services.msc > [Enter].
  • Right-click AppFabric Caching Service.
  • Click Stop.
  • Return to PowerShell and create a new cache.

Success!


EDIT: Depending on your installation, the command iisresetmay also not hurt.

0
source

Source: https://habr.com/ru/post/1773863/


All Articles