且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Visual Studio 2015运行后崩溃

更新时间:2023-12-06 12:49:52

嗨Piotr,


如果你以安全模式启动Windows 10,问题是否仍然存在?


错误0x80070002经常表示系统找不到指定的文件,请先修复visual studio 2015。同时,
禁用计算机上的任何防病毒或反间谍软件。如果问题仍然存在,我需要您的帮助来收集完整的安装日志。请使用 http://aka.ms/vscollect  到
收集安装日志。使用它之后,你会在%temp%文件夹下找到vslogs.zip。请将文件上传至 
https://onedrive.live.com/  并在此处分享链接。


致以***的问候,


Joyce



Hi,

I need help. I have installed VS 2015 Pro and 2017 Pro. Everything work fine befor install Windows update 1607 (Win 10 Pro x64). I will restore system using restore from Windows Update, but didn't help. 

VS 2017 rus fine, but VS 2015 is crash.  

I need SQL Managment Studio 16.5 or 17.0 (base on VS 2015 IDE) and this SSMS also crash. I try uninstall and install VS 2015 and SSMS without any result.

I delete folder: C:\Users\xxx\AppData\Roaming\Microsoft\VisualStudio\14.0 and C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\14.0

I try reset setting VS 2015 IDE without result.

My log:

  <entry>
    <record>153</record>
    <time>2017/05/07 16:33:04.907</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage]</description>
    <guid>{7F679D93-2EB6-47C9-85EB-F6AD16902662}</guid>
  </entry>
  <entry>
    <record>154</record>
    <time>2017/05/07 16:33:04.918</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>LegacySitePackage failed for package [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage]Source: &apos;Microsoft.VisualStudio.Shell.Connected&apos; Description: Nie mo&#x017C;na za&#x0142;adowa&#x0107; pliku lub zestawu &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; lub jednej z jego zale&#x017C;no&#x015B;ci. Nie mo&#x017C;na odnale&#x017A;&#x0107; okre&#x015B;lonego pliku.&#x000D;&#x000A;System.IO.FileNotFoundException: Nie mo&#x017C;na za&#x0142;adowa&#x0107; pliku lub zestawu &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; lub jednej z jego zale&#x017C;no&#x015B;ci. Nie mo&#x017C;na odnale&#x017A;&#x0107; okre&#x015B;lonego pliku.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Connected.Common.CommonUtilities.CheckAndResetUserTokenStorage(IServiceProvider serviceProvider)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage.Initialize()&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)&#x000D;&#x000A;&#x000D;&#x000A;OSTRZE&#x017B;ENIE: rejestrowanie informacji o powi&#x0105;zaniach zestaw&#x00F3;w jest wy&#x0142;&#x0105;czone.&#x000D;&#x000A;Aby w&#x0142;&#x0105;czy&#x0107; rejestrowanie b&#x0142;&#x0119;d&#x00F3;w powi&#x0105;za&#x0144; zestaw&#x00F3;w, ustaw warto&#x015B;&#x0107; rejestru [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) r&#x00F3;wn&#x0105; 1.&#x000D;&#x000A;Uwaga: z w&#x0142;&#x0105;czeniem rejestrowania b&#x0142;&#x0119;d&#x00F3;w powi&#x0105;za&#x0144; zestaw&#x00F3;w wi&#x0105;&#x017C;e si&#x0119; pewien spadek wydajno&#x015B;ci.&#x000D;&#x000A;Aby wy&#x0142;&#x0105;czy&#x0107; t&#x0119; funkcj&#x0119;, usu&#x0144; warto&#x015B;&#x0107; rejestru [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
    <guid>{7F679D93-2EB6-47C9-85EB-F6AD16902662}</guid>
    <hr>80070002</hr>
    <errorinfo></errorinfo>
  </entry>
  <entry>
    <record>155</record>
    <time>2017/05/07 16:33:04.918</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>SetSite failed for package [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage](null)</description>
    <guid>{7F679D93-2EB6-47C9-85EB-F6AD16902662}</guid>
    <hr>80070002</hr>
    <errorinfo></errorinfo>
  </entry>
  <entry>
    <record>156</record>
    <time>2017/05/07 16:33:04.924</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage]</description>
    <guid>{7F679D93-2EB6-47C9-85EB-F6AD16902662}</guid>
    <hr>80070002</hr>
    <errorinfo></errorinfo>
  </entry>

Do know any solution for this problem?

Hi Piotr,

If you start windows 10 in safe mode, does the issue persists?

Error 0x80070002 often means the system cannot find the file specified, please repair visual studio 2015 firstly. Meanwhile, disable any Anti-Virus or Anti-Spyware software on your computer. If the issue persists, I need your help to collect the complete installation log. Please usehttp://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.

Best regards,

Joyce