Submit a ticketCall us

ebook60.pngHow to be a Cisco® ASA ace

Our eBook, Thou Shalt Not Pass…I Think?! can help you overcome the challenges of monitoring and managing Cisco ASA firewalls. This eBook is a great read if you’ve been frustrated with monitoring firewalls, managing ACL configs, and troubleshooting VPN connections.

Get your free eBook.

Home > Success Center > Server & Application Monitor (SAM) > AppInsight for IIS - Polling produces error: Unexpected token

AppInsight for IIS - Polling produces error: Unexpected token

Created by Tiarnan Stacke, last modified by Caroline Juszczak on Mar 26, 2018

Views: 757 Votes: 0 Revisions: 5

Updated

Overview

AppInsight for IIS polling produces an error similar to the following

Unexpected token 'xXBN*' $uri = 'https://172.22.90.225:5986/wsman/'
$uriTemplate = '' $configurationName = 'Microsoft.PowerShell'
$retryConnectUsingFdqn = $False
$macroMissingWindowsCredentials = 'IisPowerShellMissingWindowsCredentials'
$macroUnableConnect = 'IisUnableConnectWinRmWindows'
$macroSessionsDepleted = 'IisSessionsDepletedWinRmWindows'
$macroSessionClosed = 'IisSessionClosedWinRmWindows'
$sessWsman = SwiGetPsSession $ip $login $uri $password

Environment

Server & Application Monitor 6.2+

Cause 

A single quote is is not a valid character to be used in the Username/Password of the credentials used for polling.

Resolution

Change the credentials being used for polling to not use the special character single quote (').

 

Last modified

Tags

Classifications

Public