小さい頃はエラ呼吸

いつのまにやら肺で呼吸をしています。


Unable to connect to debugger on マシン名 (Error = 0x80040154 クラスが登録されていません ).

最近、クラシックASPをVisual Studio 2005でデバッグしていると、たまにIEがフリーズして応答が返ってこなくなる現象が発生します。イベントビューワでエラーが発生していないかを確認すると、以下のようなエラーが出力されていました。

Unable to connect to debugger on マシン名 (Error = 0x80040154 クラスが登録されていません ). Ensure that client side components such as SQLDBREG.EXE are installed and registered on マシン名. Debugging disabled for connection 51.

デバッガに接続できないというエラーが発生している模様なのですが、詳しい原因は不明です。IEを強制終了して、デバッグを再開すると普通に動くのでとりあえず無視していますが、なんか気持ちが悪いです。

以下のサイトで同様の現象について書かれていました。流し読みした感じ、異なる2つのバージョンのSQLServerがインストールされていると、この現象が発生するようです。僕のマシンには、SQLServer2000がインストールされているのは確認しているのですが、知らないところでもう1バージョンがインストールされてしまっているかもしれないです。

Microsoft are saying that because the 2 different versions of SQL Sever on the computer, the T-SQL debugger uses the SQL startup account of the default instance (which is SQL 2005 Express edition) and it doesn't appropriate the SQL Server that I am working with (which is SQL 2000).
After long seeking for a resolve in the web I didn't find anything, so firstly I uninstalled SQL Server 2005 Express from the computer - it didn't helped much, and after long combinations and attempts I decided to install again SQL Server 2000 SP 3... I returned to the application, debuged the specific flow and a MIRACLE - it worked...
Eran Nachum's Blog - Unable to connect to debugger on COMPUTERNAME (Error = 0x80070057)... BUG はてなブックマーク - Eran Nachum's Blog - Unable to connect to debugger on COMPUTERNAME (Error = 0x80070057)... BUG