4

管理者として Visual Studio 2013 を実行しようとしていますが、常にエラーが発生します。VSの他のバージョンの解決策を検索して試しましたが、それらの修正は適用されませんでした。うまくいけば、ここの誰かが助けてくれます.

VS2013 を管理者として実行しようとすると、アプリケーションを起動できないというエラーが表示されます。

dte*.olb ファイルのコピーと登録に関する記事をいくつか見ましたが、それらは以前のバージョンの VS に関するものでした。ファイルの 1 つをコピーして登録したところ、元のエラーを回避できるようになりましたが、既定のテンプレート ワークスペースを含むアプリケーションをコンパイルできません。気が狂いすぎて事態を悪化させる可能性がある前に、ここで質問したいと思いました.

「アプリケーションを開始できません」というメッセージが表示されない場合、何かをコンパイルしようとすると次のメッセージが表示されます。

---------------------------
Microsoft Visual Studio
---------------------------
Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
---------------------------
OK   
---------------------------

問題は、そのエラー コードがどのライブラリが読み込まれないかを教えてくれないことです。

出力ウィンドウには次のように表示されます。

Error occurred while restoring NuGet packages: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
1>------ Build started: Project: WcfService1, Configuration: Debug Any CPU ------
1>  WcfService1 -> C:\Users\David\Documents\Visual Studio 2013\Projects\WcfService1\WcfService1\bin\WcfService1.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

NuGet のアンインストールと再インストールを試みましたが、動作に変化はありませんでした。

また、プロジェクトのプロパティに移動しても、Web、パッケージ/発行 Web、またはコード分析のタブが表示されません。

ここに画像の説明を入力 ここに画像の説明を入力 ここに画像の説明を入力

誰でもこれを修正する方法を知っていますか?

これは Windows 8.1 Pro 上にあります。私の正確なVS構成は以下の通りです。

Microsoft Visual Studio Professional 2013
Version 12.0.30110.00 Update 1
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

LightSwitch for Visual Studio 2013   06177-004-0444002-02105
Microsoft LightSwitch for Visual Studio 2013

Microsoft Office Developer Tools - Update 1 for Visual Studio 2013 ENU   06177-004-0444002-02105
Microsoft Office Developer Tools - Update 1 for Visual Studio 2013 ENU

Team Explorer for Visual Studio 2013   06177-004-0444002-02105
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0444002-02105
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0444002-02105
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0444002-02105
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0444002-02105
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0444002-02105
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU   06177-004-0444002-02105
Windows Phone SDK 8.0 - ENU

ASP.NET and Web Tools   2013.1.41009
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.0.11213.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

JetBrains ReSharper 8.1   Full Edition build 8.1.23.546 on 2013-12-12T07:30:52
JetBrains ReSharper 8.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2014 JetBrains, Inc.

Microsoft Advertising SDK for Windows Phone   
Microsoft Advertising SDK for Windows Phone
Build 

NuGet Package Manager   2.8.50126.477
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Visual Studio Spell Checker   VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type.

Windows Azure Mobile Services Tools   1.0
Windows Azure Mobile Services Tools

Windows Azure Remote Debugging   1.0
Windows Azure Remote Debugging Community Technology Preview

Windows Azure Tools   2.2
Windows Azure Tools for Microsoft Visual Studio 2013 - v2.2.11003.1601

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
4

8 に答える 8

1

- エラーのイベント ログ - エラー メッセージの詳細 (「アプリケーションを開始できません」は少しあいまいです)

于 2014-03-27T00:11:59.617 に答える
1

インストール後に再起動しましたか? Windows Update で更新しましたか?

通常のパスまたは別の場所にインストールしましたか? 管理者またはユーザーアカウントでインストールしましたか?

作業用 PC がローカルにインストールされているか、ローミング プロファイルの下にインストールされているか。

管理者または標準ユーザーとして実行している Surface Pro またはデスクトップでは問題ありませんが、ローカルにインストールされ、開発者アカウントでインストールされましたが、すべてのアカウント (テスト、開発、管理者、ユーザーなど) で動作します。

于 2014-04-04T07:45:35.693 に答える
0

私はまったく同じ問題に遭遇しました。私の問題は、「スタートページ」がうまくいかなかったことです。以下を編集しました。

> Tools > Options > Startup

「起動時」プルダウンで「空の環境を表示」を選択します

これにより、すべての問題が修正され、管理者として再び実行できるようになりました。

于 2015-09-17T08:39:31.270 に答える
0

提供された情報に基づいて、特に Outlook 関連の Microsoft Office Developer Tools に問題があると思われます。

修正 1:

msoutl.olb の Office ディレクトリを確認しています。そこにある場合は、「regtlib msoutl.olb」を実行してみてください。マシンにregtlibが必要です。これは、Visual Studioのインストールの一部です。とにかく、typelib を再登録すると、必要なすべてのキーがレジストリに書き直されます。この操作には管理者権限が必要です。

修正 2:

Outlook に付属のプログラムを実行してみてください - C:\Program Files\Common Files\System\MSMAPI\1033\Scanpst.exe

詳細については、このサイトを参照してください -ここをクリック

修正 3:

Office Developer Tools をアンインストールしてみて、問題が解決しないかどうかを確認してください。

修正 4:

もう 1 つの可能性として、msoutl.olb 自体が破損している可能性があります。この場合、Outlook を再インストールすると問題が解決するはずです。

于 2014-04-04T21:28:13.523 に答える
0

これを試して:

  1. devenv.exe を右クリック
  2. 互換性のトラブルシューティング
  3. プログラムのトラブルシューティング
  4. このプログラムには追加の許可が必要です
  5. プログラムをテストする
  6. はい、このプログラムの設定を保存します。

これにより、VS が管理者として実行されるようになります。

于 2014-04-04T23:37:54.680 に答える