Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Exception details: System.ArgumentException: The package does not have a ProvideToolWindowAttribute for tool window #4302

Closed
BrazilForever11 opened this issue Mar 28, 2018 · 18 comments
Assignees

Comments

@BrazilForever11
Copy link

I just installed MS Visual Studio 2017 (community edition) with R tool (on Win 7 enterprise).

It seems to be working fine ( I can create variables and plot), but 'R interactive' window shows:

An exception was encountered while constructing the content of this frame.  This information is also logged in "C:\Users\some_user\AppData\Roaming\Microsoft\VisualStudio\15.0_305216d4\ActivityLog.xml".

Exception details:
System.ArgumentException: The package does not have a ProvideToolWindowAttribute for tool window c2582843-58c9-4fe7-b4bd-864c17ad7ce2
Parameter name: toolWindowType
   at Microsoft.VisualStudio.Shell.Package.ThrowNoMatchingToolWindowAttribute(Object toolWindowType, String paramName)
   at Microsoft.VisualStudio.Shell.Package.GetToolWindowAttribute(Guid toolWindowType)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

Here is log file: https://www.dropbox.com/s/frpncfjzl1gwqpy/ActivityLog.xml?dl=0

Sorry I cross posted on stackoverflow.com

@cythaletheon
Copy link

Hello BrazilForever11
I just encountered the same problem, which led to your post here and over on stackoverflow.

I have found a fix that worked for my install - run the visual studio installer (vs_Community.exe) and agree to it installing an update - bringing the VS Community 2017 (2) to build 15.6.5. Secret patch sauce perhaps?

Hopefully it'll work for you too!
Regards
Damon

@BrazilForever11
Copy link
Author

Thank you, Damon! It worked! You can claim bounty on Stackoverflow. How did you come across this solution?

@MikhailArkhipov
Copy link
Contributor

This is VS setup issue/corrupted cmponent cache. You can try and locate VS data folder, usually Users\[USER_NAME]\AppData\Local\Microsoft\Visual Studio and delete all 15.0_* folders. Then start VS, it will rebuld its cache.

@YoungjaeKim
Copy link

YoungjaeKim commented Apr 19, 2018

Hi @MikhailArkhipov I still has this issue although I removed 15.0_* folders.
Is there another solution?

My VS information

Microsoft Visual Studio Enterprise 2017 
Version 15.6.6
VisualStudio.15.Release/15.6.6+27428.2037
Microsoft .NET Framework
Version 4.7.02556

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools   00369-90250-09170-AA261
Microsoft Architecture Diagrams and Analysis Tools

Visual C++ 2017   00369-90250-09170-AA261
Microsoft Visual C++ 2017

Visual F# Tools 10.1 for F# 4.1   00369-90250-09170-AA261
Microsoft Visual F# Tools 10.1 for F# 4.1

Application Insights Tools for Visual Studio Package   8.11.10402.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.40314.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2017   5.2.51214.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.40215.0
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.3.3000.4
Microsoft Azure Data Lake Tools for Visual Studio

Azure Functions and Web Jobs Tools   15.0.40405.0
Azure Functions and Web Jobs Tools

Azure Stream Analytics Tools for Visual Studio   2.3.3000.4
Microsoft Azure Stream Analytics Tools for Visual Studio

C# Tools   2.7.0-beta3-62715-05. Commit Hash: db02128e6e3c4bdfc93e6ec425ac9162b4d4fe80
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Cookiecutter   15.6.18072.2
Provides tools for finding, instantiating and customizing templates in cookiecutter format.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

GitHub.VisualStudio   2.4.3.1737
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JavaScript UWP Project System   2.0
JavaScript UWP Project System

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure HDInsight Azure Node   2.3.3000.4
HDInsight Node under Azure Node

Microsoft Azure Hive Query Language Service   2.3.3000.4
Language service for Hive query

Microsoft Azure Service Fabric Tools for Visual Studio   2.0
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Stream Analytics Language Service   2.3.3000.4
Language service for Azure Stream Analytics

Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51212.2

Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   4.9.11-pre (71eb098)
Support for debugging Mono processes with Visual Studio.

Node.js Tools   1.4.11027.3
Adds support for developing and debugging Node.js apps in Visual Studio

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

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Python   15.6.18072.2
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.

Python - Django support   15.6.18072.2
Provides templates and integration for the Django web framework.

Python - IronPython support   15.6.18072.2
Provides templates and integration for IronPython-based projects.

Python - Profiling support   15.6.18072.2
Profiling support for Python projects.

R Tools for Visual Studio   1.3.40104.1351
Provides project system, R Interactive window, plotting, and more for the R programming language.

Redgate ReadyRoll   1.16.18107.9507
Extend DevOps processes to your SQL Server databases and safely automate database deployments.

Visit https://www.red-gate.com/readyroll for more information.

Copyright (C) 2011 Red Gate Software Ltd. All rights reserved.

This software contains components from Component Owl.
SQL Server is a registered trademark of Microsoft Corporation.
Visual Studio is a registered trademark of Microsoft Corporation.

ReadyRoll contains code from the following open source software:

NuGet https://www.nuget.org/
SQL LocalDB Wrapper https://github.com/martincostello/sqllocaldb
Autofac https://autofac.org/
Json.NET https://json.net/
MahApps.Metro http://mahapps.com/
SemVer https://github.com/maxhauser/semver
Log4Net http://logging.apache.org/log4net/
StringTemplate https://github.com/antlr/stringtemplate4
Extended WPF Toolkit https://wpftoolkit.codeplex.com/
Code InfoBox VSX http://www.codeproject.com/Articles/55196/Code-InfoBox-Visual-Studio-Extension-VSX
OctoPack https://github.com/OctopusDeploy/OctoPack
SQLite https://sqlite.org/

This product contains icons from http://www.visualpharm.com distributed under a free backlink license.

For license details or other notices relating to the above software, please see NOTICE.TXT and EULA.rtf in the ReadyRoll application folder.
    

Redgate SQL Prompt   9.1.8.4871
Write, format, and refactor SQL effortlessly

SQL Server Data Tools   15.1.61801.210
Microsoft SQL Server Data Tools

StylerPackage Extension   1.0
StylerPackage Visual Stuido Extension Detailed Info

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript Tools   15.6.20202.3
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   2.7.0-beta3-62715-05. Commit Hash: db02128e6e3c4bdfc93e6ec425ac9162b4d4fe80
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development   1.0.8
Visual C++ for Linux Development

Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake

Visual Studio Tools for Unity   3.6.0.5
Visual Studio Tools for Unity

Visual Studio Tools for Universal Windows Apps   15.0.27428.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

WiX Toolset Visual Studio Extension   0.9.21.62588
WiX Toolset Visual Studio Extension version 0.9.21.62588
Copyright (c) .NET Foundation and contributors. All rights reserved.

Xamarin   4.9.0.753 (f0f46392f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   4.10.96 (a702a9ceb)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   8.2.0.16 (HEAD/a78295902)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   11.9.1.24 (f62de47)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Log

An exception was encountered while constructing the content of this frame.  This information is also logged in "C:\Users\young\AppData\Roaming\Microsoft\VisualStudio\15.0_62ef3ddf\ActivityLog.xml".

Exception details:
System.ArgumentException: The package does not have a ProvideToolWindowAttribute for tool window c2582843-58c9-4fe7-b4bd-864c17ad7ce2
Parameter name: toolWindowType
   at Microsoft.VisualStudio.Shell.Package.ThrowNoMatchingToolWindowAttribute(Object toolWindowType, String paramName)
   at Microsoft.VisualStudio.Shell.Package.GetToolWindowAttribute(Guid toolWindowType)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

@YoungjaeKim
Copy link

Here I attach ActivityLog.xml


Activity Monitor Log
--
infos | 100
warnings | 8
errors | 2

1 |   | Microsoft Visual Studio 2017 version: 15.0.27428.2043 |   |   | VisualStudio | 2018/04/28 12:50:23.650
2 |   | Log ID | {749DFEDE-A16B-4E1A-ADE6-D51ABDF6F5C2} |   | VisualStudio | 2018/04/28 12:50:23.650
3 |   | Running in isolation mode. |   |   | VisualStudio | 2018/04/28 12:50:23.653
4 |   | Looking for master PkgDef file          C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\master.pkgdef |   |   | VisualStudio | 2018/04/28 12:50:23.655
5 |   | Creating PkgDefCacheNonVolatile |   |   | VisualStudio | 2018/04/28 12:50:23.658
6 |   | Double-checking master pkgdef file |   |   | VisualStudio | 2018/04/28 12:50:23.744
7 |   | PkgDefManagement initialized |   |   | VisualStudio | 2018/04/28 12:50:23.746
8 |   | RootFolder          C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\ |   |   | VisualStudio | 2018/04/28 12:50:23.746
9 |   | ShellFolder          C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\ |   |   | VisualStudio | 2018/04/28 12:50:23.746
10 |   | PkgDefSearchPath          C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.admin.pkgdef |   |   | VisualStudio | 2018/04/28 12:50:23.746
594 |   | End package load [Microsoft.VisualStudio.Shell.Connected.UserInformation.UserInformationPackage] | {5E80A5A1-B722-4727-9015-148AAB6310B0} |   | VisualStudio | 2018/04/28 12:50:32.911
595 |   | End package load [Microsoft.VisualStudio.Services.Promotions.PromotionsPackage] | {B596A79C-0044-4FC4-AAF6-A700B6FDC9ED} |   | VisualStudio | 2018/04/28 12:50:32.917
596 |   | End package load [Code Container Provider] | {473077E0-2AF9-4154-935C-CC50FD83DB72} |   | VisualStudio | 2018/04/28 12:50:32.917
597 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {7F679D93-2EB6-47C9-85EB-F6AD16902662} |   | VisualStudio | 2018/04/28 12:50:33.078
598 |   | Begin package load [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage] | {7F679D93-2EB6-47C9-85EB-F6AD16902662} |   | VisualStudio | 2018/04/28 12:50:33.078
599 |   | End package load [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage] | {7F679D93-2EB6-47C9-85EB-F6AD16902662} |   | VisualStudio | 2018/04/28 12:50:33.169
600 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {A5C25D8F-4D74-4924-BD8C-F3C2B860F4EC} |   | VisualStudio | 2018/04/28 12:50:33.215
601 |   | Begin package load [Microsoft.VisualStudio.Shell.Connected.Packages.OnlineLicensing.OnlineLicensingManagerPackage] | {A5C25D8F-4D74-4924-BD8C-F3C2B860F4EC} |   | VisualStudio | 2018/04/28 12:50:33.215
602 |   | End package load [Microsoft.VisualStudio.Shell.Connected.Packages.OnlineLicensing.OnlineLicensingManagerPackage] | {A5C25D8F-4D74-4924-BD8C-F3C2B860F4EC} |   | VisualStudio | 2018/04/28 12:50:33.325
603 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {B22490B8-AA51-43B1-97EE-509A33B681F3} |   | VisualStudio | 2018/04/28 12:50:33.347
604 |   | Begin package load [Microsoft.VisualStudio.Feedback.FeedbackPackage] | {B22490B8-AA51-43B1-97EE-509A33B681F3} |   | VisualStudio | 2018/04/28 12:50:33.347
605 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {9C987E78-F0BF-45CA-9BA5-96D3E4B2BAC6} |   | VisualStudio | 2018/04/28 12:50:33.440
606 |   | Begin package load [Microsoft.VisualStudio.Shell.Connected.AccountManagerService.AccountManagerPackage] | {9C987E78-F0BF-45CA-9BA5-96D3E4B2BAC6} |   | VisualStudio | 2018/04/28 12:50:33.441
607 |   | End package load [Microsoft.VisualStudio.Feedback.FeedbackPackage] | {B22490B8-AA51-43B1-97EE-509A33B681F3} |   | VisualStudio | 2018/04/28 12:50:33.447
608 |   | Skipping 'C:\Users\young\AppData\Local\Microsoft SDKs' as it doesn't exist |   |   | Extension Manager | 2018/04/28 12:50:33.457
609 |   | End package load [Microsoft.VisualStudio.Shell.Connected.AccountManagerService.AccountManagerPackage] | {9C987E78-F0BF-45CA-9BA5-96D3E4B2BAC6} |   | VisualStudio | 2018/04/28 12:50:33.553
610 |   | Manager ServerUri 'https://go.microsoft.com/fwlink/?LinkID=660731' |   |   | UserConnection | 2018/04/28 12:50:33.687
611 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {54888390-2C04-4B04-B451-3166730C75BA} |   | VisualStudio | 2018/04/28 12:50:33.692
612 |   | Begin package load [Roaming Manager Package] | {54888390-2C04-4B04-B451-3166730C75BA} |   | VisualStudio | 2018/04/28 12:50:33.692
613 |   | Adding code container C:\Users\young\Documents\GitHub\Youtrack-for-visual-studio\YouTrackClientVS.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.791
614 |   | Adding code container C:\Users\young\Documents\GitHub\origin\windows-device-tester\ClovaDisplayNearbyTester\ClovaDisplayNearbyTester.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.791
615 |   | Adding code container C:\Users\young\Documents\GitHub\bapul_image_processor\DotNetProject\BapulImageCleaner.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.791
616 |   | Adding code container C:\Users\young\Documents\GitHub\HockeySDK-Windows\Microsoft.HockeyApp.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.791
617 |   | Adding code container C:\Users\young\Documents\GitHub\origin\windows-device-tester\ClovaDisplayNearbyTester\WixMsiSetup\WixMsiSetup.wixproj to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.791
618 |   | Adding code container C:\Users\young\Downloads\81f7642a-1933-4a7d-926c-b3fba5bfb77b_BoundSelectColumn\BoundSelectColumn_WPF.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.791
619 |   | Adding code container C:\Users\young\Documents\GitHub\origin\windows-device-tester\quamotion-madb\SharpAdbClient\SharpAdbClient.csproj to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
620 |   | Adding code container C:\Users\young\Documents\GitHub\quamotion-madb-1\SharpAdbClient\SharpAdbClient.csproj to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
621 |   | Adding code container C:\Users\young\Documents\GitHub\origin\windows-device-tester\ClovaDisplayNearbyTester\WixSetup\WixSetup.wixproj to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
622 |   | Adding code container C:\Users\young\Documents\GitHub\origin\windows-device-tester\ClovaDisplayNearbyTester\SetupProject\SetupProject.wixproj to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
623 |   | Adding code container C:\Users\young\Documents\Visual Studio 2017\Projects\WpfApp1\WpfApp1.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
624 |   | Adding code container C:\Users\young\Documents\GitHub\quamotion-madb-1\SharpAdbClient.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
625 |   | Adding code container C:\Users\young\Documents\GitHub\origin\madb\SharpAdbClient.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
626 |   | Adding code container C:\Users\young\Documents\GitHub\origin\windows-device-tester\ClovaDisplayDeviceTester\ClovaDisplayDeviceTester.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
627 |   | Adding code container C:\Users\young\Documents\GitHub\origin\adb-util to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
628 |   | Adding code container C:\Users\young\Desktop\FiddlerCoreAPI\SampleApp\Demo.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
629 |   | Adding code container C:\Users\young\Desktop\FiddlerCoreAPI\SampleApp\Demo.csproj to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
630 |   | Adding code container C:\Users\young\Downloads\FiddlerCoreAPIFree_4_6_20172_35715\FiddlerCore for .NET Standard Beta\Demo\FiddlerCore.Demo.NetCore.csproj to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
631 |   | Adding code container C:\Users\young\Documents\GitHub\ReTrack\src\ReTrack.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
632 |   | Adding code container C:\Users\young\Documents\GitHub\materials-management\MaterialsManagement.sln to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.792
633 |   | Adding code container NONE to view model list in CodeContainerListViewModel.Add |   |   | CodeContainerTracing | 2018/04/28 12:50:33.793
634 |   | End package load [Roaming Manager Package] | {54888390-2C04-4B04-B451-3166730C75BA} |   | VisualStudio | 2018/04/28 12:50:34.508
635 |   | Unresolved FW Link 'https://go.microsoft.com/fwlink/?LinkID=660731' was resolved to 'https://app.vssps.visualstudio.com/' |   |   | UserConnection | 2018/04/28 12:50:34.830
636 |   | Should automatically check for an update |   |   | VSPackage | 2018/04/28 12:50:36.703
637 |   | Checking for an update now |   |   | VSPackage | 2018/04/28 12:50:36.707
638 |   | Parsing compatibiliy list file for VS assemblies that should not be in GAC - C:\Users\young\AppData\Local\Microsoft\VisualStudio\15.0_62ef3ddf\Extensions\CompatibilityList.xml |   |   | VSPackage | 2018/04/28 12:50:36.719
639 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {30D5B2E6-64BF-422F-A2BF-5D5B4D66548F} |   | VisualStudio | 2018/04/28 12:50:37.469
640 |   | Begin package load [Settings Store Synchronization Delayed Init Package] | {30D5B2E6-64BF-422F-A2BF-5D5B4D66548F} |   | VisualStudio | 2018/04/28 12:50:37.469
641 |   | End package load [Settings Store Synchronization Delayed Init Package] | {30D5B2E6-64BF-422F-A2BF-5D5B4D66548F} |   | VisualStudio | 2018/04/28 12:50:37.470
642 |   | User logged in : 62257a55-32fa-43d4-bf52-09d5da90a446.14_PreferredProfile |   |   | RoamingManagerPackage | 2018/04/28 12:50:38.206
643 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {C194969A-A5B1-4AF2-A9DF-ECF7CE982A05} |   | VisualStudio | 2018/04/28 12:50:38.373
644 |   | Begin package load [Roaming Profiles Package] | {C194969A-A5B1-4AF2-A9DF-ECF7CE982A05} |   | VisualStudio | 2018/04/28 12:50:38.374
645 |   | End package load [Roaming Profiles Package] | {C194969A-A5B1-4AF2-A9DF-ECF7CE982A05} |   | VisualStudio | 2018/04/28 12:50:38.544
646 |   | The clients rights token could not be found |   |   | ClientRights | 2018/04/28 12:50:38.601
647 |   | Client rights determined: {"CurrentClientRights":{"LicenseSource":0,"LicenseSource2":0,"IsSubscriptionBased":false,"DaysSinceCreation":-1,"LicenseType":1,"AuthorizedVsEdition":4,"AuthorizedVsEdition2":500,"DaysToExpire":-2,"IsLicenseGood":true,"LicenseDescription":"Product key applied","LicenseStatus":1,"LicenseUrl":"","MayUplevel":false,"LicensedUserId":"00000000-0000-0000-0000-000000000000","LicensedUserName":"","LicensingAccount":"","ReleaseType":1},"CurrentLicenseSource":0,"CurrentLicenseSource2":0,"IDEUserClientRights":null,"PIDClientRights":{"LicenseSource":0,"LicenseSource2":0,"IsSubscriptionBased":false,"DaysSinceCreation":-1,"LicenseType":1,"AuthorizedVsEdition":4,"AuthorizedVsEdition2":500,"DaysToExpire":-2,"IsLicenseGood":true,"LicenseDescription":"Product key applied","LicenseStatus":1,"LicenseUrl":"","MayUplevel":false,"LicensedUserId":"00000000-0000-0000-0000-000000000000","LicensedUserName":"","LicensingAccount":"","ReleaseType":1}}; Account identity provider: |   |   | ClientRights | 2018/04/28 12:50:38.897
648 |   | user authentication successful for IDE user |   |   | UserConnection | 2018/04/28 12:50:40.797
649 |   | youngjae-kim@hotmail.com signed in for IDE user |   |   | UserConnection | 2018/04/28 12:50:41.948
650 |   | IncompatibilityList - Call Servicehub for downloading compatibility list file. |   |   | Extension Manager | 2018/04/28 12:50:44.480
651 |   | IncompatibilityList - Look for incompatible extensions.Configuration or the user compatibility list file changed |   |   | Extension Manager | 2018/04/28 12:50:45.205
652 |   | Next update check in '86400000' ms |   |   | VSPackage | 2018/04/28 12:50:48.114
653 |   | Running in User Groups: Users |   |   | VisualStudio | 2018/04/28 12:50:52.182
654 |   | Available Drive Space: C:\ drive has 284478578688 bytes |   |   | VisualStudio | 2018/04/28 12:50:52.182
655 |   | Internet Explorer Version: 11.0.16299.371 |   |   | VisualStudio | 2018/04/28 12:50:52.189
656 |   | .NET Framework Version: 10.0.16299.15 |   |   | VisualStudio | 2018/04/28 12:50:52.189
657 |   | MSXML Version: 6.30.16299.98 |   |   | VisualStudio | 2018/04/28 12:50:52.189
658 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {DA9FB551-C724-11D0-AE1F-00A0C90FFFC3} |   | VisualStudio | 2018/04/28 12:51:00.808
659 |   | Begin package load [Visual Studio Environment Package] | {DA9FB551-C724-11D0-AE1F-00A0C90FFFC3} |   | VisualStudio | 2018/04/28 12:51:00.808
660 |   | End package load [Visual Studio Environment Package] | {DA9FB551-C724-11D0-AE1F-00A0C90FFFC3} |   | VisualStudio | 2018/04/28 12:51:00.808
661 |   | Begin import of category 'Environment_WindowLayout' ({eb4ba109-a9db-4445-bd09-e7604bcdce84}) from package 'Visual Studio Environment Package' ({DA9FB551-C724-11D0-AE1F-00A0C90FFFC3}).  3314364 KB of virtual memory currently available. |   |   | Profile manager | 2018/04/28 12:51:00.808
662 |   | End import of category 'Environment_WindowLayout' ({eb4ba109-a9db-4445-bd09-e7604bcdce84}).  3314364 KB of virtual memory currently available. |   |   | Profile manager | 2018/04/28 12:51:00.847
663 |   | Begin import of category 'Environment_KeyBindings' ({F09035F1-80D2-4312-8EC4-4D354A4BCB4C}) from package 'Visual Studio Environment Package' ({DA9FB551-C724-11D0-AE1F-00A0C90FFFC3}).  3314364 KB of virtual memory currently available. |   |   | Profile manager | 2018/04/28 12:51:00.848
664 | Warning | Performance warning: String load failed. Pkg:{8A5AA6CF-46E3-4520-A70A-7393D15233E9} LANG:0409 ID:101 |   |   | VisualStudio | 2018/04/28 12:51:00.901
665 | Warning | Performance warning: String load failed. Pkg:{C765E811-8EE4-4040-84FC-F4DCBC12E6C4} (MdPackage) LANG:0409 ID:107 |   |   | VisualStudio | 2018/04/28 12:51:00.911
666 |   | End import of category 'Environment_KeyBindings' ({F09035F1-80D2-4312-8EC4-4D354A4BCB4C}).  3301708 KB of virtual memory currently available. |   |   | Profile manager | 2018/04/28 12:51:00.984
667 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {7158A7D4-ACBB-446E-B9A9-5D59E1F1C8CC} |   | VisualStudio | 2018/04/28 12:51:01.111
668 |   | Begin package load [DockerLanguageServicePackage] | {7158A7D4-ACBB-446E-B9A9-5D59E1F1C8CC} |   | VisualStudio | 2018/04/28 12:51:01.111
669 |   | End package load [DockerLanguageServicePackage] | {7158A7D4-ACBB-446E-B9A9-5D59E1F1C8CC} |   | VisualStudio | 2018/04/28 12:51:01.120
670 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {E4147000-7310-422F-A7C1-4266AF76C974} |   | VisualStudio | 2018/04/28 12:51:01.122
671 |   | Begin package load [Microsoft.WindowsAzure.HDIStudio.VsExtension.HQLLanguageService.HQLPackagePackage, Microsoft.WindowsAzure.HDIStudio.VsExtension.HQLLanguageService, Version=2.3.3000.4, Culture=neutral, PublicKeyToken=f300afd708cefcd3] | {E4147000-7310-422F-A7C1-4266AF76C974} |   | VisualStudio | 2018/04/28 12:51:01.122
672 |   | End package load [Microsoft.WindowsAzure.HDIStudio.VsExtension.HQLLanguageService.HQLPackagePackage, Microsoft.WindowsAzure.HDIStudio.VsExtension.HQLLanguageService, Version=2.3.3000.4, Culture=neutral, PublicKeyToken=f300afd708cefcd3] | {E4147000-7310-422F-A7C1-4266AF76C974} |   | VisualStudio | 2018/04/28 12:51:01.159
673 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {DB748D03-3EC0-43AC-8FB4-152EAFB65F96} |   | VisualStudio | 2018/04/28 12:51:01.178
674 |   | Begin package load [Microsoft.WindowsAzure.StreamAnalytics.LanguageService.StreamAnalyticsLanaguageServicePackage, Microsoft.WindowsAzure.StreamAnalytics.LanguageService, Version=2.3.3000.4, Culture=neutral, PublicKeyToken=f300afd708cefcd3] | {DB748D03-3EC0-43AC-8FB4-152EAFB65F96} |   | VisualStudio | 2018/04/28 12:51:01.178
675 |   | End package load [Microsoft.WindowsAzure.StreamAnalytics.LanguageService.StreamAnalyticsLanaguageServicePackage, Microsoft.WindowsAzure.StreamAnalytics.LanguageService, Version=2.3.3000.4, Culture=neutral, PublicKeyToken=f300afd708cefcd3] | {DB748D03-3EC0-43AC-8FB4-152EAFB65F96} |   | VisualStudio | 2018/04/28 12:51:01.191
676 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {109C624C-C4E5-3D0B-927A-9A87D6E3522B} |   | VisualStudio | 2018/04/28 12:51:01.311
677 |   | Begin package load [CommonServiceProviderExtensionPackage] | {109C624C-C4E5-3D0B-927A-9A87D6E3522B} |   | VisualStudio | 2018/04/28 12:51:01.311
678 | Warning | Performance warning: String load failed. Pkg:{109C624C-C4E5-3D0B-927A-9A87D6E3522B} (CommonServiceProviderExtensionPackage) LANG:0409 ID:110 |   |   | VisualStudio | 2018/04/28 12:51:01.365
679 | Warning | Performance warning: String load failed. Pkg:{109C624C-C4E5-3D0B-927A-9A87D6E3522B} (CommonServiceProviderExtensionPackage) LANG:0409 ID:110 |   |   | VisualStudio | 2018/04/28 12:51:01.366
680 | Warning | Performance warning: String load failed. Pkg:{109C624C-C4E5-3D0B-927A-9A87D6E3522B} (CommonServiceProviderExtensionPackage) LANG:0409 ID:110 |   |   | VisualStudio | 2018/04/28 12:51:01.373
681 | Warning | Performance warning: String load failed. Pkg:{109C624C-C4E5-3D0B-927A-9A87D6E3522B} (CommonServiceProviderExtensionPackage) LANG:0409 ID:110 |   |   | VisualStudio | 2018/04/28 12:51:01.374
682 | Warning | Performance warning: String load failed. Pkg:{109C624C-C4E5-3D0B-927A-9A87D6E3522B} (CommonServiceProviderExtensionPackage) LANG:0409 ID:110 |   |   | VisualStudio | 2018/04/28 12:51:01.375
683 | Warning | Performance warning: String load failed. Pkg:{109C624C-C4E5-3D0B-927A-9A87D6E3522B} (CommonServiceProviderExtensionPackage) LANG:0409 ID:110 |   |   | VisualStudio | 2018/04/28 12:51:01.376
684 |   | End package load [CommonServiceProviderExtensionPackage] | {109C624C-C4E5-3D0B-927A-9A87D6E3522B} |   | VisualStudio | 2018/04/28 12:51:01.377
685 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {60AB7F53-18D3-374E-9B7A-3CBBD462F49A} |   | VisualStudio | 2018/04/28 12:51:01.378
686 |   | Begin package load [ColorServicePackage] | {60AB7F53-18D3-374E-9B7A-3CBBD462F49A} |   | VisualStudio | 2018/04/28 12:51:01.379
687 |   | End package load [ColorServicePackage] | {60AB7F53-18D3-374E-9B7A-3CBBD462F49A} |   | VisualStudio | 2018/04/28 12:51:01.413
688 | ERROR | The color 'ScriptHighlightWord' in category '6f796f8a-b3b5-49eb-9b25-cb59bd413caf' does not exist. |   |   | Color Theme Service | 2018/04/28 12:51:01.420
689 |   | Entering function CVsPackageInfo::HrInstantiatePackage | {D5CE1488-DEDE-426D-9E5B-BFCCFBE33E53} |   | VisualStudio | 2018/04/28 12:51:01.850
690 |   | Begin package load [ServiceProviderPackage] | {D5CE1488-DEDE-426D-9E5B-BFCCFBE33E53} |   | VisualStudio | 2018/04/28 12:51:01.851
691 |   | Initialized AsyncServiceProvider.GlobalProvider from SetSite. |   |   | Package Framework | 2018/04/28 12:51:01.864
692 |   | End package load [ServiceProviderPackage] | {D5CE1488-DEDE-426D-9E5B-BFCCFBE33E53} |   | VisualStudio | 2018/04/28 12:51:01.882
693 | ERROR | Construction of frame content failed. Frame identifier: ST:0:0:{c2582843-58c9-4fe7-b4bd-864c17ad7ce2} Frame caption: R Interactive - Microsoft R Open (3.4.3.0) Exception details: System.ArgumentException: The package does not have a ProvideToolWindowAttribute for tool window c2582843-58c9-4fe7-b4bd-864c17ad7ce2 Parameter name: toolWindowType   at Microsoft.VisualStudio.Shell.Package.ThrowNoMatchingToolWindowAttribute(Object toolWindowType, String paramName)   at Microsoft.VisualStudio.Shell.Package.GetToolWindowAttribute(Guid toolWindowType)   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() |   |   | VisualStudio | 2018/04/28 12:51:09.355

@RobertGru
Copy link

WHY WAS THIS CLOSED? This is NOT fixed.

@smortaz
Copy link
Contributor

smortaz commented Apr 30, 2018

@RobertGru - did you try this?

This is VS setup issue/corrupted cmponent cache. You can try and locate VS data folder, usually Users[USER_NAME]\AppData\Local\Microsoft\Visual Studio and delete all 15.0_* folders. Then start VS, it will rebuld its cache.

thx.

@YoungjaeKim
Copy link

YoungjaeKim commented May 5, 2018

@smortaz I'm still having this issue even I removed 15.0_* folder. You can check my VS info at above comments. Anything that I can do more for diagnosis or fixing?

@smortaz
Copy link
Contributor

smortaz commented May 7, 2018 via email

@RobertGru
Copy link

Yes, removed all 15.0 folders, and still getting that after restart. I can get the interactive console by opening Visual Studio in a different mode, then opening an .R file, but will not open in R mode without that error.

@MikhailArkhipov MikhailArkhipov self-assigned this May 7, 2018
@BartWeyder
Copy link

BartWeyder commented May 8, 2018

Also have this on VS17 Enterprise 15.7.0. Got right after today's update.

Also when I try to open something from Rtool tab or make some script in project sturtup one, I get this:
sketch4

Tried to reinstall extension, did not work.

@kevinfengcu
Copy link

kevinfengcu commented May 13, 2018

Problem persists in VS17 Community 15.7.1 (R Tools 1.3.40402.1027) with following error message:

Construction of frame content failed. Frame identifier: ST:0:0:{c2582843-58c9-4fe7-b4bd-864c17ad7ce2} Frame caption: R Interactive - Microsoft R Open (3.4.4.0) Exception details: System.ArgumentException: The package does not have a ProvideToolWindowAttribute for tool window c2582843-58c9-4fe7-b4bd-864c17ad7ce2 Parameter name: toolWindowType at Microsoft.VisualStudio.Shell.Package.ThrowNoMatchingToolWindowAttribute(Object toolWindowType, String paramName) at Microsoft.VisualStudio.Shell.Package.GetToolWindowAttribute(Guid toolWindowType) at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

Removing component cache described above did not help. Task manager reported that R.exe binary is not invoked somehow.

Product info as follows:

Microsoft Visual Studio Community 2017
Version 15.7.1
VisualStudio.15.Release/15.7.1+27703.2000
Microsoft .NET Framework
Version 4.7.03056

Installed Version: Community

Visual C++ 2017 00369-60000-00001-AA275
Microsoft Visual C++ 2017

C# Tools 2.8.0-beta6-62830-08. Commit Hash: e595ee276d14e14bfb3eb323fb57f2aa668bddea
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

GitHub.VisualStudio 2.5.1.2234
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

JavaScript Language Service 2.0
JavaScript Language Service

Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Python 15.7.18116.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.

Python - IronPython support 15.7.18116.1
Provides templates and integration for IronPython-based projects.

Python - Profiling support 15.7.18116.1
Profiling support for Python projects.

R Tools for Visual Studio 1.3.40402.1027
Provides project system, R Interactive window, plotting, and more for the R programming language.

Visual Basic Tools 2.8.0-beta6-62830-08. Commit Hash: e595ee276d14e14bfb3eb323fb57f2aa668bddea
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development 1.0.9
Visual C++ for Linux Development

Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Windows Machine Learning Generator Extension 1.0
Windows Machine Learning Visual Studio Extension Detailed Info

@MikhailArkhipov
Copy link
Contributor

Just letting all know we found the problem and we will try and get the fix into the nearest VS update.

@plr1975
Copy link

plr1975 commented May 25, 2018

Two step solution:

Delete all 15.0_* folders. Then run (if you have it installed) Visual Studio 2015, wait for cache rebuild, close it.

Open VS 2017 and R tools will work :-)

@MikhailArkhipov
Copy link
Contributor

Not sure how rebuilding 2015 cache would repair 2017 as they are isolated... Repair of VS 2015 theoretically can affect 2017 if it installs something globally.

@kevinfengcu
Copy link

This problem disappeared in the recent 15.7.3 update.

@YoungjaeKim
Copy link

I confirmed that this issue is resolved. thanks! 👍

@yannduran
Copy link

You can try and locate VS data folder, usually Users\[USER_NAME]\AppData\Local\Microsoft\Visual Studio and delete all 15.0_* folders. Then start VS, it will rebuld its cache.

@MikhailArkhipov doing what you suggest would reset VS back to it's original state when installed, not just force it to rebuild its extension cache!

Everything is lost, all changed settings, all installed extensions (which then have to be reinstalled one-by-one), all window positions etc.

Instead find the 15.0_* folder for your VS installation, then in the Extensions folder, delete just the .cache files.

Of course for VS 2019, it'd be your 16.0_* folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants