Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

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 May 04, 2017

Views: 724 Votes: 0 Revisions: 4



AppInsight for IIS polling produces an error similar to the following

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


Server & Application Monitor 6.2+


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


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


Last modified