TextMgrP.dll Registration Issue

I am trying to install SQL Prompt (v10)  into SQL Server Management Studio (v19.0.2).
I am on a new machine running Windows 11.
I repaired SSMS which did not help.
I tried registering the dll as I saw other posts mentioned.  I had to register it from a different location though:
regsvr32 "%CommonProgramFiles%\Microsoft Shared\MSEnv\TextMgrP.dll"
I have Visual Studio 2022 Installed with Data Tools Component installed.

What else do I need to try? Very frustrated!

Best Answer

  • Options
    Jon_KirkwoodJon_Kirkwood Posts: 338 Silver 4
    Hi @Airn5475CAB & @arjunkrishna

    Thank you for reaching out on the Redgate forums regarding your SQL Prompt DLL issue.

    Can you please try closing SSMS and Visual Studio, then open up Command Prompt by choosing Run as Administrator and enter the following:
    regsvr32 "%CommonProgramFiles(x86)%\Microsoft Shared\MSEnv\TextMgrP.dll"

     This should re-register the dll.
    If that doesn't work please can you run the following from an elevated command prompt:
    regsvr32 "C:\Program Files (x86)\Microsoft SQL Server Management Studio 19\Common7\IDE\Automation\TextMgrP.dll"
    Jon Kirkwood | Technical Support Engineer | Redgate Software


Sign In or Register to comment.