-
Notifications
You must be signed in to change notification settings - Fork 4
Description
When trying to connect to the JEA-endpoint I get the following error:
`New-PSSession : One or more errors occurred processing the module 'LATER' specified in the
InitialSessionState object used to create this runspace. See the ErrorRecords property for a
complete list of errors. The first error was: Could not import C:\Program
Files\WindowsPowerShell\Modules\dbatools\1.0.43\bin\smo\Microsoft.SqlServer.BatchParser.dll :
Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly
'Microsoft.SqlServer.BatchParser.dll' or one of its dependencies. The specified module could not
be found."
At C:\Program
Files\WindowsPowerShell\Modules\dbatools\1.0.43\internal\scripts\libraryimport.ps1:123 char:17
-
[Reflection.Assembly]::LoadFrom($assemblyPath) -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : FileNotFoundException
At line:2 char:16
- ... $Session = New-PSSession -ComputerName $LATERServer -ConfigurationNa ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-
PSSession], RemoteException - FullyQualifiedErrorId : PSSessionOpenFailed`
- CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-
Could you please provide a little more info on how to set up the endpoint and if there are any prereqs on the server or client side?
The Endpoint is not on the SQL server in my case if that is related?
Does the service account need more permissions than "user" on the endpoint server?