Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 427

PowerShell Studio • SQL 2022 Server successfully connect, but an error occurred

$
0
0
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: 5.8.237
Operating system: Windows 11 Pro
Version10.0.22621 Build 22621
PowerShell version(s): 7.3.11

*** Please add details and screenshots as needed below. ***
Below are errors when connecting to SQL Server. This was resolved before I upgrade to 2024. Is this something you all have knowledge on that you can share with me to fix this. I have deadlines and this is slowing them down. Thank you for anything you can do to help. SQL Server 2022 - Windows Authentication. Like I said this worked the hour before I upgraded.

ERROR: | Invoke-Sqlcmd -ServerInstance $sqlServer -Database $database …
ERROR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: | A connection was successfully established with the server, but then an error occurred during the login process.
ERROR: | (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
2_Claims_DD_Load.ps1 (416): ERROR: At Line: 416
ERROR: |
ERROR: | Invoke-Sqlcmd -ServerInstance $sqlServer -Database $database …
ERROR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: | Incorrect syntax was encountered while parsing ''.



DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Statistics: Posted by nbarnard — Fri Feb 09, 2024 11:05 am



Viewing all articles
Browse latest Browse all 427

Trending Articles