21,613 questions with SQL Server-related tags

Sort by: Updated
2 answers

Test connection failed because of an error in initializing provider. The given key was not present in the dictionary.

I am getting this error VS2022 and VS2026 when tried to create a connection from ssis project with connection manager. SQL server version is Microsoft SQL Server 2022 (RTM-GDR) (KB5073031) - 16.0.1165.1 (X64) Nov 24 2025 19:08:45. It was working…

SQL Server Integration Services
SQL Server Integration Services

A Microsoft platform for building enterprise-level data integration and data transformations solutions.

2,795 questions
asked 2026-06-05T12:17:08.24+00:00
SB 0 Reputation points
commented 2026-06-05T13:28:51.4+00:00
SB 0 Reputation points
1 answer

How to install SSIS Packages on Availability Always On?

Hi expert , my organization plan to provide SSIS package on High Availability server ( Availability Always On) how can I do it? Great Appreciation for all answer warm regards Urbel

SQL Server Integration Services
SQL Server Integration Services

A Microsoft platform for building enterprise-level data integration and data transformations solutions.

2,795 questions
asked 2026-06-02T08:02:08.6133333+00:00
Urbel 605 Reputation points
commented 2026-06-05T12:24:56.59+00:00
Anjan Kumar Chippa (Quadrant Resource LLC) 0 Reputation points Microsoft External Staff Moderator
2 answers

how to fix sql installation problem in windows11

unable to install sql application since I have bought new laptop with windows 11. tried reaching out to hp support but still no use.facing the below error tried multiple times fixing but still the same.

SQL Server Database Engine
asked 2026-06-02T07:29:39.0266667+00:00
MOUNIKA DHUPAM 0 Reputation points
commented 2026-06-05T12:23:35.3833333+00:00
Anjan Kumar Chippa (Quadrant Resource LLC) 0 Reputation points Microsoft External Staff Moderator
1 answer

SQL Server Cluster Sync Issue After Windows Patch KB5091157

I have an issue related to patching Windows Server 2025. After installing patch KB5091157, our Microsoft SQL Server cluster cannot sync. Details: What happened: The SQL cluster worked fine before the patch. After patching, the cluster will not sync. …

SQL Server Database Engine
asked 2026-05-22T02:04:04.07+00:00
ITD-Sreng Channy 0 Reputation points
commented 2026-06-05T05:36:03.5933333+00:00
Lakshmi Narayana Garikapati 1,330 Reputation points Microsoft External Staff Moderator
2 answers

We need to retrieve a SQL 2019 key

We purchased SQL 2019 Standard in 2022 from First Technology Group in South Africa (DG7GMGF0FKX90003). We have recently lost our server after a violent storm resulting in a power surge and now need to re-install SQL 2019 on a new server. We contacted…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,747 questions
asked 2026-05-17T11:16:50.7766667+00:00
Charmaine Lindsay 0 Reputation points
commented 2026-06-05T05:31:34.1266667+00:00
Lakshmi Narayana Garikapati 1,330 Reputation points Microsoft External Staff Moderator
2 answers

A script transformation in SSIS 2016 doesn't upgrade to SSIS 2022

Hi All, I created an SSIS 2016 ETL. The ETL has a script transformation in a data flow. Merged the ETL with the SSIS 2022 solution. Upgraded the ETL to 2022 in Visual Studio 2022. Reviewed the upgrade report: ========== The Upgrade is Successful …

SQL Server Integration Services
SQL Server Integration Services

A Microsoft platform for building enterprise-level data integration and data transformations solutions.

2,795 questions
asked 2026-06-03T20:17:02.86+00:00
Igor Gelin 0 Reputation points
answered 2026-06-05T02:29:55.4866667+00:00
Deepesh Dhake 80 Reputation points
3 answers

locking issue in MSSQL

Issue: the holdlock script has locking the multi-thread(10) insert/update We would like to revise the multi-thread script to from (HOLDLOCK) to (UPDLOCK, SERIALIZABLE) Original script: MERGE testtable WITH (HOLDLOCK) AS t USING (SELECT @P0 hjmpTS, @P1…

SQL Server Database Engine
asked 2026-05-20T07:28:48.0066667+00:00
Sam Chung 0 Reputation points
recommended 2026-06-04T19:12:33.0966667+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

Distribution Cleanup Job Failing Silently in SQL Server 2019 Transactional Replication Causing Distribution DB Growth to 1.5 TB

Hello All, We are facing an issue with SQL Server Transactional Replication where the Distribution Cleanup job has been failing silently, and the distribution database has grown to approximately 1.5 TB, causing severe disk space issues. Environment SQL…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,747 questions
asked 2026-05-16T08:14:26.1766667+00:00
Parag Nimbhore 5 Reputation points
recommended 2026-06-04T19:12:11.9066667+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
1 answer

SQL Express ODBC Connection

Hi, I am trying to connect UPS WorldShip to a SQL server to pull shipping data. It keeps telling me the connection has failed, this is a replacement server, the old server still connects. I turned off the firewall on the server for testing, I…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,747 questions
asked 2026-05-13T11:23:01.49+00:00
Brian Branco 0 Reputation points
recommended 2026-06-04T19:11:44.99+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

sql server migration assistance oracle - accidently select always "words" while creating report. Need a report in HTML

accidently select always "words" while creating report. I need to create report in HTML How to reset this feature

SQL Server Migration Assistant
SQL Server Migration Assistant

A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.

606 questions
asked 2026-05-02T17:40:15.46+00:00
Hussain, Baqir 0 Reputation points
recommended 2026-06-04T19:11:28.0066667+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

Facing issue in loading Report which contains Main and Sub report using Report builder in SSRS

we are working on SSRS Reporting using Report builder. we have a report which has a sub report in it which works well in Production Environment. The same report (RDL file) doesn't load anymore in QA Environment. after waiting 25-30 min, it shows error…

SQL Server Reporting Services
SQL Server Reporting Services

A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.

3,162 questions
asked 2026-05-08T07:20:52.6766667+00:00
Madani, Ramya Krishna 0 Reputation points
recommended 2026-06-04T19:10:59.6666667+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

Claim space for TempDB on Sql Server

Dear Team, Dose Someone kindly advise how to shrink teamdb with effective way without affect Database Service ?

SQL Server Database Engine
asked 2026-05-06T03:12:42.8866667+00:00
Veasna Lay 0 Reputation points
recommended 2026-06-04T19:10:47.9133333+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
1 answer

Mssql Log Shipping Requirement

I want to know about Mssql Log Shipping requirement to make it and the setup in details

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,747 questions
asked 2026-05-04T02:05:32.8966667+00:00
David Prodata 80 Reputation points
recommended 2026-06-04T19:10:13.5566667+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

How to activate SQL 2025 license on SQL2022

Hello i bought "SQL Server 2025 Standart sürümü Kalıcı 1 Sunucu Lisansı ve CAL 10".Before i bought this license, i talked with two microsoft sale representative. They confirm that i can use this SQL 2025 license on SQL 2022. But when i try to…

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

14,747 questions
asked 2026-04-28T08:19:07.6033333+00:00
Batuhan Demirkiran 0 Reputation points
recommended 2026-06-04T19:09:55.18+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

Alternative to UNION

I have a UNION Query that is combining information from a History Table and the current Master Table. We are talking about a few million rows here. The problem is the amount of [tempdb] space it is allocating and using for the UNION. So we thought if we…

SQL Server | SQL Server Transact-SQL
asked 2026-04-22T20:14:11.0866667+00:00
Bobby P 271 Reputation points
recommended 2026-06-04T19:09:07.2433333+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

Sql server 2025 installation error

Hello Microsoft Support Team, I am reaching out regarding an installation issue with Microsoft SQL Server 2025 (Express Edition) on my ASUS TUF Gaming A15 laptop running Windows 10 Home Single Language (Build 26200). During installation, the server fails…

SQL Server Database Engine
asked 2026-04-20T17:33:12.6733333+00:00
sanjay MN 0 Reputation points
recommended 2026-06-04T19:07:28.67+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
1 answer

SQL Server Login Failures (Error 18456) due to Reporting Services attempting to access non-existent ReportServer database

We are experiencing repeated SQL Server login failures (Event ID 18456) on one of our servers. Details: SQL Server Version: SQL Server 2016 Error Message: "Login failed for user 'REA\IND-WBN-DEV$'. Reason: Failed to open the explicitly specified…

SQL Server Database Engine
asked 2026-04-17T07:24:16.13+00:00
Kamarur Rama 0 Reputation points
recommended 2026-06-04T19:07:15.7866667+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

Unable to install micrsoft sql server

Unable to install sql server, there is some installtion of previous version is present so unable to install microsoft sql server 2019

SQL Server Database Engine
asked 2026-04-13T06:57:25.6866667+00:00
Akshay Hebbar 0 Reputation points
recommended 2026-06-04T19:06:49.3033333+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
2 answers

In my Data Flow OLE DB Source, can I write a SQL Query that is dependent on a SSIS Variable

For instance... If [User::InitialorMonthly] == 'Initial' SELECT (Everything) ELSE SELECT Based on [ModifyDate] being from the 15th of last month to now...[User::InitialorMonthly] == 'Monthly' I could CASE it out in my T-SQL but if I've already derived…

SQL Server Integration Services
SQL Server Integration Services

A Microsoft platform for building enterprise-level data integration and data transformations solutions.

2,795 questions
asked 2026-04-02T19:15:45.27+00:00
Bobby P 271 Reputation points
recommended 2026-06-04T19:05:55.45+00:00
Madhavi Taniparthi 0 Reputation points Microsoft External Staff Moderator
3 answers

Prevent a thick-client app's Windows user from accessing the local SQL Express DB outside the app

Setup: A Windows desktop app runs on non-admin workstations. It uses a local SQL Server Express instance on the same machine over shared memory. The app connects to SQL using the logged-in Windows user's own identity (the app process runs as that…

SQL Server Database Engine
asked 2026-06-04T13:03:09.61+00:00
Mansoor R 0 Reputation points
answered 2026-06-04T18:54:50.8033333+00:00
Erland Sommarskog 134.4K Reputation points MVP Volunteer Moderator