How can we help you today? How can we help you today?

Application Exception while layouting

Hi,

I get an error whenever I try to use the layout function of Sql Prompt - even in an empty query window.
could anyone tell me what I should do to fix this ?

System.ApplicationException: Exception within progress task ---> System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.VisualStudio.TextManager.Interop.IVsTextView'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{BB23A14B-7C61-469A-9890-A95648CED5E6}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at Microsoft.VisualStudio.TextManager.Interop.IVsTextView.GetSelection(Int32& piAnchorLine, Int32& piAnchorCol, Int32& piEndLine, Int32& piEndCol)

Microsoft SQL Server Management Studio 9.00.3042.00
Microsoft Analysis Services Client Tools 2005.090.3042.00
Microsoft Data Access Components (MDAC) 2000.085.1132.00 (xpsp.080413-0852)
Microsoft MSXML 2.6 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 6.0.2900.5512
Microsoft .NET Framework 2.0.50727.3603
Operating System 5.1.2600


How should I proceed please ?

Thx,
Dirk
General1
0

Comments

2 comments

  • Brian Donahue
    Hi Dirk,

    The first thing to try is to register textmgrp.dll -- your SSMS installation is probably corrupt.
    regsvr32 textmgrp.dll
    
    Brian Donahue
    0
  • General1
    Works like a charm.

    Thanks a lot !
    Dirk
    General1
    0

Add comment

Please sign in to leave a comment.