none
Visual Studio 2015 未正確載入套件 image service package RRS feed

  • 問題

  • 问题是无法开启Visual Studio  2015,开启后跳出如下视窗

    i.imgur.com/NtmgW3b.jpg

    一直按"是"或者重新开启均无法解决问题

    ====

    因为不知道更新到什么扩充元件造成这样,我尝试重新安装Visual Studio  2015,但结果依旧一样

    下面是错误讯息的xml

    <?xml version="1.0" encoding="utf-16"?>
    <?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?>
    <activity>
      <entry>
        <record>1</record>
        <time>2017/03/02 04:45:54.311</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Microsoft Visual Studio 2015 version: 14.0.25420.1</description>
      </entry>
      <entry>
        <record>2</record>
        <time>2017/03/02 04:45:54.335</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
      </entry>
      <entry>
        <record>3</record>
        <time>2017/03/02 04:45:54.335</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [Async Query Service Package]</description>
        <guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
      </entry>
      <entry>
        <record>4</record>
        <time>2017/03/02 04:45:54.415</time>
        <type>Information</type>
        <source>Package Framework</source>
        <description>Initialized ServiceProvider.GlobalProvider from SetSite.</description>
      </entry>
      <entry>
        <record>5</record>
        <time>2017/03/02 04:45:54.418</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>End package load [Async Query Service Package]</description>
        <guid>{DD7B74B5-C1F9-411A-B22E-5E711592BC6B}</guid>
      </entry>
      <entry>
        <record>6</record>
        <time>2017/03/02 04:45:54.428</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{00CD9DDA-7350-457C-A240-71BD667FC4DE}</guid>
      </entry>
      <entry>
        <record>7</record>
        <time>2017/03/02 04:45:54.428</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [Task Scheduler Package]</description>
        <guid>{00CD9DDA-7350-457C-A240-71BD667FC4DE}</guid>
      </entry>
      <entry>
        <record>8</record>
        <time>2017/03/02 04:45:54.429</time>
        <type>Information</type>
        <source>Package Framework</source>
        <description>Initialized AsyncServiceProvider.GlobalProvider from SetSite.</description>
      </entry>
      <entry>
        <record>9</record>
        <time>2017/03/02 04:45:54.430</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>End package load [Task Scheduler Package]</description>
        <guid>{00CD9DDA-7350-457C-A240-71BD667FC4DE}</guid>
      </entry>
      <entry>
        <record>10</record>
        <time>2017/03/02 04:45:54.443</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{54BEFE64-0558-4D8C-9FD5-AB0B54733B08}</guid>
      </entry>
      <entry>
        <record>11</record>
        <time>2017/03/02 04:45:54.443</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [VSTelemetryPackage]</description>
        <guid>{54BEFE64-0558-4D8C-9FD5-AB0B54733B08}</guid>
      </entry>
      <entry>
        <record>12</record>
        <time>2017/03/02 04:45:54.453</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>End package load [VSTelemetryPackage]</description>
        <guid>{54BEFE64-0558-4D8C-9FD5-AB0B54733B08}</guid>
      </entry>
      <entry>
        <record>13</record>
        <time>2017/03/02 04:45:54.989</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{DA9FB551-C724-11D0-AE1F-00A0C90FFFC3}</guid>
      </entry>
      <entry>
        <record>14</record>
        <time>2017/03/02 04:45:54.989</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [Visual Studio Environment Package]</description>
        <guid>{DA9FB551-C724-11D0-AE1F-00A0C90FFFC3}</guid>
      </entry>
      <entry>
        <record>15</record>
        <time>2017/03/02 04:45:54.989</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>End package load [Visual Studio Environment Package]</description>
        <guid>{DA9FB551-C724-11D0-AE1F-00A0C90FFFC3}</guid>
      </entry>
      <entry>
        <record>16</record>
        <time>2017/03/02 04:45:54.989</time>
        <type>Information</type>
        <source>Profile manager</source>
        <description>Begin import of category &apos;Environment_CommandBars&apos; ({B9D9C123-B500-4202-B887-57C829CBD08F}) from package &apos;Visual Studio Environment Package&apos; ({DA9FB551-C724-11D0-AE1F-00A0C90FFFC3}).  3849968 KB of virtual memory currently available.</description>
      </entry>
      <entry>
        <record>17</record>
        <time>2017/03/02 04:45:54.992</time>
        <type>Information</type>
        <source>Profile manager</source>
        <description>End import of category &apos;Environment_CommandBars&apos; ({B9D9C123-B500-4202-B887-57C829CBD08F}).  3849968 KB of virtual memory currently available.</description>
      </entry>
      <entry>
        <record>18</record>
        <time>2017/03/02 04:45:54.992</time>
        <type>Information</type>
        <source>Profile manager</source>
        <description>Begin import of category &apos;Environment_WindowLayout&apos; ({eb4ba109-a9db-4445-bd09-e7604bcdce84}) from package &apos;Visual Studio Environment Package&apos; ({DA9FB551-C724-11D0-AE1F-00A0C90FFFC3}).  3849968 KB of virtual memory currently available.</description>
      </entry>
      <entry>
        <record>19</record>
        <time>2017/03/02 04:45:54.992</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{5E56B3DB-7964-4588-8D49-D3523AB7BDB9}</guid>
      </entry>
      <entry>
        <record>20</record>
        <time>2017/03/02 04:45:54.992</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [Environment Package Window Management]</description>
        <guid>{5E56B3DB-7964-4588-8D49-D3523AB7BDB9}</guid>
      </entry>
      <entry>
        <record>21</record>
        <time>2017/03/02 04:45:54.999</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>End package load [Environment Package Window Management]</description>
        <guid>{5E56B3DB-7964-4588-8D49-D3523AB7BDB9}</guid>
      </entry>
      <entry>
        <record>22</record>
        <time>2017/03/02 04:45:55.028</time>
        <type>Information</type>
        <source>Profile manager</source>
        <description>End import of category &apos;Environment_WindowLayout&apos; ({eb4ba109-a9db-4445-bd09-e7604bcdce84}).  3845076 KB of virtual memory currently available.</description>
      </entry>
      <entry>
        <record>23</record>
        <time>2017/03/02 04:45:55.032</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
      </entry>
      <entry>
        <record>24</record>
        <time>2017/03/02 04:45:55.033</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [Image Service Package]</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
      </entry>
      <entry>
        <record>25</record>
        <time>2017/03/02 04:45:55.040</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>LegacySitePackage failed for package [Image Service Package]Source: &apos;Microsoft.VisualStudio.Shell.UI.Internal&apos; Description: &#x4E26;&#x672A;&#x5C07;&#x7269;&#x4EF6;&#x53C3;&#x8003;&#x8A2D;&#x5B9A;&#x70BA;&#x7269;&#x4EF6;&#x7684;&#x57F7;&#x884C;&#x500B;&#x9AD4;&#x3002;&#x000D;&#x000A;System.NullReferenceException: &#x4E26;&#x672A;&#x5C07;&#x7269;&#x4EF6;&#x53C3;&#x8003;&#x8A2D;&#x5B9A;&#x70BA;&#x7269;&#x4EF6;&#x7684;&#x57F7;&#x884C;&#x500B;&#x9AD4;&#x3002;&#x000D;&#x000A;   &#x65BC; Microsoft.VisualStudio.Services.VsImageService.LoadImageLibraryAsync()&#x000D;&#x000A;   &#x65BC; Microsoft.VisualStudio.Services.VsImageService..ctor(IServiceProvider site, IVsImageServiceTelemetryLogger telemetryLogger, Boolean createDefaultImageLibrary)&#x000D;&#x000A;   &#x65BC; Microsoft.VisualStudio.Services.ImageServicePackage.Initialize()&#x000D;&#x000A;   &#x65BC; Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
        <hr>80004003 - E_POINTER</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>26</record>
        <time>2017/03/02 04:45:55.051</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>SetSite failed for package [Image Service Package](null)</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
        <hr>80004003 - E_POINTER</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>27</record>
        <time>2017/03/02 04:45:55.052</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>End package load [Image Service Package]</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
        <hr>80004003 - E_POINTER</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>28</record>
        <time>2017/03/02 04:45:55.055</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{A2863A10-2269-4D3F-9E38-149C15926E1D}</guid>
      </entry>
      <entry>
        <record>29</record>
        <time>2017/03/02 04:45:55.056</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [Settings Package]</description>
        <guid>{A2863A10-2269-4D3F-9E38-149C15926E1D}</guid>
      </entry>
      <entry>
        <record>30</record>
        <time>2017/03/02 04:45:55.056</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>End package load [Settings Package]</description>
        <guid>{A2863A10-2269-4D3F-9E38-149C15926E1D}</guid>
      </entry>
      <entry>
        <record>31</record>
        <time>2017/03/02 04:45:55.202</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{F384B236-B4A9-401B-BC58-3106E3ACA3EC}</guid>
      </entry>
      <entry>
        <record>32</record>
        <time>2017/03/02 04:45:55.202</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [Shell Common UI Package]</description>
        <guid>{F384B236-B4A9-401B-BC58-3106E3ACA3EC}</guid>
      </entry>
      <entry>
        <record>33</record>
        <time>2017/03/02 04:45:55.204</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>End package load [Shell Common UI Package]</description>
        <guid>{F384B236-B4A9-401B-BC58-3106E3ACA3EC}</guid>
      </entry>
      <entry>
        <record>34</record>
        <time>2017/03/02 04:45:55.204</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
      </entry>
      <entry>
        <record>35</record>
        <time>2017/03/02 04:45:55.204</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Begin package load [Image Service Package]</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
      </entry>
      <entry>
        <record>36</record>
        <time>2017/03/02 04:45:55.205</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>LegacySitePackage failed for package [Image Service Package]Source: &apos;Microsoft.VisualStudio.Shell.UI.Internal&apos; Description: &#x4E26;&#x672A;&#x5C07;&#x7269;&#x4EF6;&#x53C3;&#x8003;&#x8A2D;&#x5B9A;&#x70BA;&#x7269;&#x4EF6;&#x7684;&#x57F7;&#x884C;&#x500B;&#x9AD4;&#x3002;&#x000D;&#x000A;System.NullReferenceException: &#x4E26;&#x672A;&#x5C07;&#x7269;&#x4EF6;&#x53C3;&#x8003;&#x8A2D;&#x5B9A;&#x70BA;&#x7269;&#x4EF6;&#x7684;&#x57F7;&#x884C;&#x500B;&#x9AD4;&#x3002;&#x000D;&#x000A;   &#x65BC; Microsoft.VisualStudio.Services.VsImageService.LoadImageLibraryAsync()&#x000D;&#x000A;   &#x65BC; Microsoft.VisualStudio.Services.VsImageService..ctor(IServiceProvider site, IVsImageServiceTelemetryLogger telemetryLogger, Boolean createDefaultImageLibrary)&#x000D;&#x000A;   &#x65BC; Microsoft.VisualStudio.Services.ImageServicePackage.Initialize()&#x000D;&#x000A;   &#x65BC; Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
        <hr>80004003 - E_POINTER</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>37</record>
        <time>2017/03/02 04:45:55.207</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>SetSite failed for package [Image Service Package](null)</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
        <hr>80004003 - E_POINTER</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>38</record>
        <time>2017/03/02 04:45:55.207</time>
        <type>Error</type>
        <source>VisualStudio</source>
        <description>End package load [Image Service Package]</description>
        <guid>{1491E936-6FFE-474E-8371-30E5920D8FDD}</guid>
        <hr>80004003 - E_POINTER</hr>
        <errorinfo></errorinfo>
      </entry>
      <entry>
        <record>39</record>
        <time>2017/03/02 04:45:55.208</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function VBDispatch::GetTypeLib</description>
      </entry>
      <entry>
        <record>40</record>
        <time>2017/03/02 04:45:55.208</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function LoadDTETypeLib</description>
      </entry>
      <entry>
        <record>41</record>
        <time>2017/03/02 04:45:55.211</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Leaving function LoadDTETypeLib</description>
      </entry>
      <entry>
        <record>42</record>
        <time>2017/03/02 04:45:55.211</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Leaving function VBDispatch::GetTypeLib</description>
        <guid>{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}</guid>
      </entry>
      <entry>
        <record>43</record>
        <time>2017/03/02 04:45:55.211</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function VBDispatch::GetTypeLib</description>
      </entry>
      <entry>
        <record>44</record>
        <time>2017/03/02 04:45:55.211</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Leaving function VBDispatch::GetTypeLib</description>
        <guid>{18BEB7F2-CA98-11D1-B6E7-00A0C90F2744}</guid>
      </entry>
      <entry>
        <record>45</record>
        <time>2017/03/02 04:45:55.212</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Entering function VBDispatch::GetTypeLib</description>
      </entry>
      <entry>
        <record>46</record>
        <time>2017/03/02 04:45:55.212</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Leaving function VBDispatch::GetTypeLib</description>
        <guid>{80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2}</guid>
      </entry>
    </activity>
    

    2017年3月2日 上午 04:57

解答

  • 看不到圖

    当时太急著,还没上传完毕就撷取图片网址了……

    总之问题已经解决,感谢您的帮忙了

    最后果断放弃,重灌系统了……

    • 已標示為解答 kkes0208 2017年3月5日 上午 05:43
    2017年3月5日 上午 05:43

所有回覆

  • 可以試試:Visual Studio IDE可能問題與解決辦法

    理直氣和,切記。

    個人

    2017年3月2日 上午 05:51
  • 您可以這樣試看看:

    1) 關閉Visual Studio

    2) 刪除C:\Users\登入帳號\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache資料夾中所有的內容

    3) 重新啟動Visual Studio

    2017年3月2日 上午 06:01
  • 您可以這樣試看看:

    1) 關閉Visual Studio

    2) 刪除C:\Users\登入帳號\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache資料夾中所有的內容

    3) 重新啟動Visual Studio


    感谢你的回复及解答,但经过尝试后发现仍旧无法正常开启……


    • 已編輯 kkes0208 2017年3月2日 上午 06:59
    2017年3月2日 上午 06:58
  • 您可以這樣試看看:

    1) 關閉Visual Studio

    2) 刪除C:\Users\登入帳號\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache資料夾中所有的內容

    3) 重新啟動Visual Studio


    感谢你的回复及解答,内文的几种方法都尝试了,但均无解0..0

    删除ComponentModelCache的内容与楼下回复一样,并不成功。

    以安全模式打开后,则停留在启动画面不会继续。

    删除预设设定,则是回到文章问题开头(这是我重灌VisualStudio后还是一样的問題)
    2017年3月2日 上午 07:04
  • 無法編輯問題,所以用回復的

    這是問題內容xml上傳的免空網址

    http://www85.zippyshare.com/v/rcHklcKD/file.html

    2017年3月2日 上午 07:14
  • 之前有遇過類似的情形, 曾經嘗試將:

    C:\Users\登入帳號\AppData\Local\Microsoft\VisualStudio\14.0整個資料夾刪除, 再重新啟動Visual Studio

    因為您的錯誤畫面顯示的是Roaming資料夾, 所以可能要一併刪除:

    C:\Users\Student\AppData\Roaming\Microsoft\VisualStudio\14.0

    建議先將欲刪除的資料夾的內容複製一份再執行刪除

    2017年3月3日 上午 02:49
  • 之前有遇過類似的情形, 曾經嘗試將:

    C:\Users\登入帳號\AppData\Local\Microsoft\VisualStudio\14.0整個資料夾刪除, 再重新啟動Visual Studio

    因為您的錯誤畫面顯示的是Roaming資料夾, 所以可能要一併刪除:

    C:\Users\Student\AppData\Roaming\Microsoft\VisualStudio\14.0

    建議先將欲刪除的資料夾的內容複製一份再執行刪除

    感谢您的回复,不过这和上面提供的回复效果似乎一样,上面的清为预设也是将这些都删除重新开启,不过没有用。

    我尝试过如您所说,用删除的方式再重开,不过似乎也没用

    2017年3月3日 上午 05:10
  • 您的電腦有裝SQL Server Management Studio嗎? 如果有的話, 請將SQL Server Management Studio移除再重覆上述的步驟試看看
    2017年3月3日 下午 11:54
  • 您的電腦有裝SQL Server Management Studio嗎? 如果有的話, 請將SQL Server Management Studio移除再重覆上述的步驟試看看

    i.imgur.com/undefined.jpg

    安裝情況如上,有安裝2012 2014 2016,各自還有安裝x64和x86的版本,這樣算是重複嗎?

    2017年3月4日 上午 12:38
  • 看不到圖
    2017年3月4日 下午 10:40
  • 看不到圖

    当时太急著,还没上传完毕就撷取图片网址了……

    总之问题已经解决,感谢您的帮忙了

    最后果断放弃,重灌系统了……

    • 已標示為解答 kkes0208 2017年3月5日 上午 05:43
    2017年3月5日 上午 05:43