-
Notifications
You must be signed in to change notification settings - Fork 27
Description
I've got the PS5 bundle of tug installed and configured in my environment. I used the instructions in #89 to configure Tug to run in IIS.
Tug server versions as follows
PS Version: Major Minor Build Revision
5 1 14393 2430
.net 4.5.2
WMF 5.1
Tug version v0.6.0
I'm unable to run any of the basic tug cmdlets, if I execute BasicTugCmdLets.ps1 to load the various functions I receive the following errors. Seems like I am missing something pretty basic but I've been spinning my wheels trying to figure out how to load these functions so I can begin to register systems with the Tug server.
You cannot call a method on a null-valued expression.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:25 char:1
- $handlerLogger.LogInformation("Loading BASIC Tug Cmdlets...")
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:26 char:1
- $handlerLogger.LogInformation("* Got Logger: $handlerLogger")
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:27 char:1
- $handlerLogger.LogInformation("* Got Config: $handlerAppConfiguratio ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
Cannot index into a null array.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:30 char:1
- $dscRegSavePath = [System.IO.Path]::GetFullPath(
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
Cannot index into a null array.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:32 char:1
- $dscConfigPath = [System.IO.Path]::GetFullPath(
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
Cannot index into a null array.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:34 char:1
- $dscModulePath = [System.IO.Path]::GetFullPath(
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
Cannot index into a null array.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:36 char:1
- $dscReportsPath = [System.IO.Path]::GetFullPath(
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : NullArray
You cannot call a method on a null-valued expression.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:40 char:1
- $handlerLogger.LogInformation("Resolved App Settings:")
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:41 char:1
- $handlerLogger.LogInformation(" * dscRegSavePath = [$dscRegSavePath] ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:42 char:1
- $handlerLogger.LogInformation(" * dscConfigPath = [$dscConfigPath]" ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:43 char:1
- $handlerLogger.LogInformation(" * dscModulePath = [$dscModulePath]" ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:44 char:1
- $handlerLogger.LogInformation(" * dscReportsPath = [$dscReportsPath] ...
-
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:47 char:23
- if (!(test-path -path $dscRegSavePath)) {
-
~~~~~~~~~~~~~~~- CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom
mand
Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:50 char:23
- if (!(test-path -path $dscConfigPath)) {
-
~~~~~~~~~~~~~~- CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom
mand
Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:53 char:23
- if (!(Test-Path -Path $dscModulePath)) {
-
~~~~~~~~~~~~~~- CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom
mand
Test-Path : Cannot bind argument to parameter 'Path' because it is null.
At C:\Program Files\tug\Server\BasicTugCmdlets.ps1:56 char:23
- if (!(Test-Path -Path $dscReportsPath)) {
-
~~~~~~~~~~~~~~~- CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom
mand
All BASIC Tug Cmdlets are defined