# Install remote AppFabric

**URL:** <https://forums.powershell.org/t/install-remote-appfabric/3836>\
**Category:** PowerShell Help\
**Created:** [March 6, 2015, 1:04am UTC](https://forums.powershell.org/t/install-remote-appfabric/3836 "2015-03-06T01:04:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ettore-esposito](https://avatars.discourse-cdn.com/v4/letter/e/ba9def/32.png) [@ettore-esposito](https://forums.powershell.org/u/ettore-esposito)\
**Post date:** [March 6, 2015, 1:04am UTC](https://forums.powershell.org/t/install-remote-appfabric/3836/1 "2015-03-06T01:04:45Z")

</div>

Hi all,  
I’m stuck into a problem and can’t come out. I have to install and configure AppFabric in remote computers. I have done the installation but I can’t proceed with the configuration.  
Even if I try to execute a simple script like this:

```
Invoke-Command -ComputerName host -ScriptBlock{
   Initialize-ASMonitoringSqlDatabase -Server DB –Database host
}
```

I get this error:

The specified database is not a valid Monitoring database or is not available.

```
+ CategoryInfo : InvalidOperation: (Microsoft.Appli...lDatabaseCmdlet:InitializeASMonitoringSqlDatabaseCmdlet) [Initialize-ASMonitoringSqlDatabase],ApplicationServerManagementException
    + FullyQualifiedErrorId : MonitoringStoreMachineScopeNotSupported,Microsoft.ApplicationServer.Management.Commands.InitializeASMonitoringSqlDatabaseCmdlet
    + PSComputerName : host
```

But if I run it from “host” everything work fine. I’ve think about a problem with a PSSession inside a PSSession, so I’ve tried to use Process-Class to run a new PowerShell but the final result is the same.  
Some ideas?

Thanks all

---

<div class="post-metadata">

**Author:** ![donj](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/donj/32/137_2.png) [@donj](https://forums.powershell.org/u/donj)\
**Post date:** [March 10, 2015, 12:38am UTC](https://forums.powershell.org/t/install-remote-appfabric/3836/2 "2015-03-10T00:38:50Z")

</div>

You’re probably running into the “second hop” problem, as described in “Secrets of PowerShell Remoting.” Your credential is being delegated to the remote computer, but can’t be further passed along to the database by default. I don’t know if enabling the CredSSP authentication protocol would help across a database connection or not.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:46pm UTC](https://forums.powershell.org/t/install-remote-appfabric/3836/3 "2024-05-16T20:46:15Z")

</div>


