SSMS freezes on student computer when I demostrate TSQL queries using MS Teams on my computer

Marais Viljoen 10 Reputation points
2023-10-18T21:24:44.0066667+00:00

I lecture Microsoft SQL courses from my home using Microsoft Teams. I installed the latest edition of SSMS & SQL Dev 2019 Ed on my Lenovo laptop. During the lecture I would share my query window with the delegate to demonstrate TSQL queries. The moment I execute the query, the delegates reported that the SSMS query window which I'm sharing with them, freezes on their MS Teams window, but on my side my Microsoft Teams window does not freeze up. I would then unshare my query window and immediately share it again, and only then can they see the query output. So every time I execute a TSQL query in SSMS, I have to unshare and share my query tab so that they can see the query output. This only happens when I share SSMS query windows. The delegates screens do not freeze when I share a power point presentations.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,627 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,361 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,988 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,601 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Erland Sommarskog 107.1K Reputation points
    2023-10-18T21:37:13.9833333+00:00

    I guess this mainly a question for the Teams experts. My experience of sharing individual windows with Teams is so-so. Sometimes it works, others it does not. I have not thought that much on whether it is SSMS or something else.

    When I present over Teams remotely, I connect a big monitor to my laptop where I have Teams etc. Then I share my laptop screen. (Where I have a VM from which I run the presentation.) I think you should consider some similar arrangement.

    1 person found this answer helpful.

  2. Ran Hou-MSFT 7,495 Reputation points Microsoft Vendor
    2023-10-19T07:45:39.18+00:00

    Hi @Marais Viljoen

    Does anyone else have the same issue?   

    Have you tried uninstalling and reinstalling SSMS to check the issue?

    Based on your description, there are a few several possible solutions that you can try:

    • Disable GPU hardware acceleration (requires restarting Teams). 111
    • Clear the cache in Teams client or browser.

    User's image

    • Update your Graphic Driver to the latest version.
    • Try using the web version: https://teams.microsoft.com/ to check if the issue still occurs.
    • If you’re using a VPN to access Teams, turn it off and back on.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

  3. Russell Dunwoody 0 Reputation points
    2023-10-19T14:28:40.8533333+00:00

    Hi, I am also experiencing this problem.

    SSMS version 18.12.1

    I have experienced this issue on 3 out of 4 days over a month, while i have been running sql training via teams with ssms. when it happens (most times now), it is consistent, every time without fail you hit the run button it freezes the teams screenshare for the audience, which has to unshared, then reshared. this did not happen with earlier version that i have used.

    switching to the latest teams client did not make any difference.

    extended version info :

    SQL Server Management Studio 15.0.18424.0

    SQL Server Management Objects (SMO) 16.100.47021.0

    Microsoft Analysis Services Client Tools 15.0.19750.0

    Microsoft Data Access Components (MDAC) 10.0.19041.3570

    Microsoft MSXML 3.0 6.0

    Microsoft .NET Framework 4.0.30319.42000

    Operating System 10.0.19045


  4. Geoff 0 Reputation points
    2024-06-17T14:49:01.7833333+00:00

    Same issue still present June 2024, with latest SSMS 20.1 - freezes and has to be unshared/re-shared.

    Works fine if you share the whole screen instead of the app. but this isn't always what you want.

    0 comments No comments