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-DbaLinkedServer Error Exception calling "Open" with "0" argument #9480

Open
cstrattont opened this issue Sep 26, 2024 · 0 comments
Open
Labels
bugs life triage required New issue that has not been reviewed by maintainers

Comments

@cstrattont
Copy link

Verified issue does not already exist?

I have searched and found no existing issue

What error did you receive?

[Get-DecryptedObject] Can't establish local DAC connection on . | Exception calling "Open" with "0" argument(s): "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - The remote computer refused the network connection.)"

Steps to Reproduce

Copy-DbaLinkedServer -Source sqlserver1 -Destination sqlserver2 -LinkedServer "Linked-servername1","linked-servername2" -WhatIf

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

2.1.24

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 7.4.5
PSEdition Core
GitCommitId 7.4.5
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

SQL Server Edition and Build number

source: sql server 2012

Destination:
Microsoft SQL Server 2019 (RTM-CU27-GDR) (KB5040948) - 15.0.4382.1 (X64) Jul 1 2024 20:03:23 Copyright (C) 2019 Microsoft Corporation Developer Edition (64-bit) on Windows Server 2019 Datacenter 10.0 (Build 17763: ) (Hypervisor)

.NET Framework Version

.NET 8.0.8

@cstrattont cstrattont added bugs life triage required New issue that has not been reviewed by maintainers labels Sep 26, 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