Skip to content

Error connecting to JEA endpoint #1

@matbe

Description

@matbe

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`

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions