Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy-DbaXESession Failure #9557

Open
LaerteJunior opened this issue Dec 4, 2024 · 0 comments
Open

Copy-DbaXESession Failure #9557

LaerteJunior opened this issue Dec 4, 2024 · 0 comments
Labels
bugs life triage required New issue that has not been reviewed by maintainers

Comments

@LaerteJunior
Copy link

Verified issue does not already exist?

No, I did not search

What error did you receive?

HI, when using Copy-DbaXESession it is failing with the error
Cannot convert the "Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection" value of type "Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection" to type "Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection".
Can someone help me ?

Steps to Reproduce

# provide your command(s) executed pertaining to dbatools
# please include variable values (redacted or fake if needed) for reference

it is on a script that copy the objects from a primary server to secondary server
Copy-DbaXESession -Source $PrimaryReplica -Destination "$($AvailabilityGroupReplica.Name)"

Please confirm that you are running the most recent version of dbatools

2.1.28

Other details or mentions

No response

What PowerShell host was used when producing this error

Windows PowerShell (powershell.exe)

PowerShell Host Version

Name Value


PSVersion 5.1.17763.6530
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.6530
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

SQL Server Edition and Build number

Sql Server 2019

.NET Framework Version

.NET Framework 4.8.4729.0

@LaerteJunior LaerteJunior added bugs life triage required New issue that has not been reviewed by maintainers labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs life triage required New issue that has not been reviewed by maintainers
Projects
None yet
Development

No branches or pull requests

1 participant