2014-05-21 211 views
10

我剛安裝了Visual Studio 2013 Update 2(我的操作系統是Windows 8)。
安裝後,每當我打開Visual Studio我得到了以下錯誤:更新2後Visual Studio 2013崩潰?

VS 2013 Error

這是確定的,直到這裏,但如果我打開一個項目時,Visual Studio崩潰

Visual Studio 2013 Crashed after Update 2

末記錄在ActivityLog.xml中:

<entry> 
    <record>964</record> 
    <time>2014/05/20 19:38:45.997</time> 
    <type>Information</type> 
    <source>VisualStudio</source> 
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description> 
    <guid>{A6EFEF5F-BE9B-432A-ADFE-74A119AB4478}</guid> 
    </entry> 
    <entry> 
    <record>965</record> 
    <time>2014/05/20 19:38:45.997</time> 
    <type>Information</type> 
    <source>VisualStudio</source> 
    <description>Begin package load [JSONPackage]</description> 
    <guid>{A6EFEF5F-BE9B-432A-ADFE-74A119AB4478}</guid> 
    </entry> 
    <entry> 
    <record>966</record> 
    <time>2014/05/20 19:38:45.998</time> 
    <type>Error</type> 
    <source>VisualStudio</source> 
    <description>CreateInstance failed for package [JSONPackage]</description> 
    <guid>{A6EFEF5F-BE9B-432A-ADFE-74A119AB4478}</guid> 
    <hr>80070002</hr> 
    <errorinfo>Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web Tools\Languages\Microsoft.VisualStudio.JSON.Package.dll' or one of its dependencies. The system cannot find the file specified.</errorinfo> 
    </entry> 
    <entry> 
    <record>967</record> 
    <time>2014/05/20 19:38:46.013</time> 
    <type>Error</type> 
    <source>VisualStudio</source> 
    <description>End package load [JSONPackage]</description> 
    <guid>{A6EFEF5F-BE9B-432A-ADFE-74A119AB4478}</guid> 
    <hr>80004005 - E_FAIL</hr> 
    <errorinfo>Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web Tools\Languages\Microsoft.VisualStudio.JSON.Package.dll' or one of its dependencies. The system cannot find the file specified.</errorinfo> 
    </entry> 
    <entry> 
    <record>968</record> 
    <time>2014/05/20 19:38:54.439</time> 
    <type>Information</type> 
    <source>VisualStudio</source> 
    <description>Entering function CVsPackageInfo::HrInstantiatePackage</description> 
    <guid>{60116BB0-6F13-49E2-A1CE-A185C783B68B}</guid> 
    </entry> 
    <entry> 
    <record>969</record> 
    <time>2014/05/20 19:38:54.439</time> 
    <type>Information</type> 
    <source>VisualStudio</source> 
    <description>Begin package load [ScssPackage]</description> 
    <guid>{60116BB0-6F13-49E2-A1CE-A185C783B68B}</guid> 
    </entry> 
    <entry> 
    <record>970</record> 
    <time>2014/05/20 19:38:54.498</time> 
    <type>Error</type> 
    <source>VisualStudio</source> 
    <description>CreateInstance failed for package [ScssPackage]</description> 
    <guid>{60116BB0-6F13-49E2-A1CE-A185C783B68B}</guid> 
    <hr>80131522</hr> 
    <errorinfo>Could not load type 'Microsoft.Scss.Editor.ScssPackage' from assembly 'Microsoft.VisualStudio.Web.Extensions, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.</errorinfo> 
    </entry> 
    <entry> 
    <record>971</record> 
    <time>2014/05/20 19:38:54.498</time> 
    <type>Error</type> 
    <source>VisualStudio</source> 
    <description>End package load [ScssPackage]</description> 
    <guid>{60116BB0-6F13-49E2-A1CE-A185C783B68B}</guid> 
    <hr>80004005 - E_FAIL</hr> 
    <errorinfo>Could not load type 'Microsoft.Scss.Editor.ScssPackage' from assembly 'Microsoft.VisualStudio.Web.Extensions, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.</errorinfo> 
    </entry> 

我還檢查窗口錯誤日誌:

Visual Studio 2013 Crashed after Update 2

1:

Failed to schedule Software Protection service for re-start at 2014-06-19T18:46:39Z. Error Code: 0x80070005. 

2:

Faulting application name: devenv.exe, version: 12.0.30501.0, time stamp: 0x5361f453 
Faulting module name: csproj.dll, version: 12.0.21005.1, time stamp: 0x524fcb78 
Exception code: 0xc0000005 
Fault offset: 0x0003151e 
Faulting process ID: 0x15d0 
Faulting application start time: 0x01cf74627d760129 
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe 
Faulting module path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC#\VCSPackages\csproj.dll 
Report ID: 7b06404e-e056-11e3-8172-74f06dc3132d 
Faulting package full name: 
Faulting package-relative application ID: 

3:

Application: devenv.exe 
Framework Version: v4.0.30319 
Description: The process was terminated due to an unhandled exception. 
Exception Info: System.AccessViolationException 
Stack: 
    at Microsoft.VisualStudio.Shell.Interop.IVsTaskBody.DoWork(Microsoft.VisualStudio.Shell.Interop.IVsTask, UInt32, Microsoft.VisualStudio.Shell.Interop.IVsTask[], System.Object ByRef) 
    at Microsoft.VisualStudio.Services.VsTask+<>c__DisplayClass29.<GetCallbackForMultipleParent>b__28(System.Threading.Tasks.Task`1<System.Object>[]) 
    at Microsoft.VisualStudio.Services.VsTask+<>c__DisplayClass2f.<GetCallback>b__2e() 
    at System.Threading.Tasks.Task`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() 
    at System.Threading.Tasks.Task.Execute() 
    at System.Threading.Tasks.Task.ExecutionContextCallback(System.Object) 
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) 
    at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef) 
    at System.Threading.Tasks.Task.ExecuteEntry(Boolean) 
    at System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task) 
    at Microsoft.VisualStudio.Services.TaskSchedulerService.VsUIThreadBlockableTaskScheduler.DoOneTask() 
    at Microsoft.VisualStudio.Services.TaskSchedulerService.VsIdleTimeScheduler.FDoIdle(UInt32) 

4:

Failed to schedule Software Protection service for re-start at 2014-06-19T18:46:39Z. Error Code: 0x80070005. 

5:

Failed to schedule Software Protection service for re-start at 2014-06-19T18:46:39Z. Error Code: 0x80070005. 

我怎樣才能解決這個問題?

編輯:
的問題不會再安裝更新解決2.

+0

愚蠢的問題我知道,但你有沒有嘗試禁用所有的擴展?可能是其中一個擴展功能在更新2中無法正常運行。 – HeXanon

+0

我使用'devenv/safemode'以安全模式運行devenv.exe,但我又收到錯誤消息。安全模式必須禁用所有擴展,我想是的。 –

+0

據我所知 - 是禁用所有擴展名。你總是得到關於JSON的錯誤嗎? – HeXanon

回答

3

問題從擴展莖:「Visual Studio的擴展了Windows JavaScript庫」這已更新爲VS 2013 Update 2的一部分。

如果您卸載此擴展,錯誤消息應該消失。這必須從Visual Studio以外的「程序和功能」控制面板窗口完成。

卸載完成並重新啓動Visual Studio後,它會說它仍然安裝(對我來說,無論如何)。但是,錯誤應該消失。

+1

昨天我用Update 4打了我。我能夠修復它選擇「用於JavaScript的Windows庫的Visual Studio擴展」的修復,而不是使用上述方法的完整卸載。 –

0

運行VSE 2013網絡,沒有更新4,得到了上述消息: 的CreateInstance失敗包[JSONPackage] 經過控制面板,我不得不爲VSE JS v1.0.9200.20789以及和安裝2.1.30324.53。首先,我卸載了舊版本,嘗試加載VSE,得到相同的消息。 然後卸載較新版本的其他實例,得到相同的消息。 然後嘗試更新4的「修復」,將看看是否有幫助。

0

在我的情況VS2013更新5,我有完全相同的問題。我解決了它卸載所有Resharper擴展。

Resharper - >擴展管理器 - >安裝擴展