The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service container. Parameter name: serviceType
What's happening? How can I fix it?
8 Answers, 1 is accepted
This error does not relate to Telerik Reporting. You should probably apply the latest updates of Visual Studio as described here. It is always a good idea to make a google search before posting an inquiry in our forums.
Kind regards,
Hrisi
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I did a google search before but i didn't find a solution for the problem (I isntalled everything they suggest, even i reinstalled visual studio and telerik reporting). I'm posting here because that problem appears only when i try to create a telerik report, not with windows form. Visual Studio has an other reporting tool and the message doesn't appear but i would like to work with telerik reporting.
You're the first one to report this problem and claim it occurs only with our product. As we're unable to reproduce the problem on our end, we would appreciate if you provide us with screenshots of the exact version of your OS and Visual Studio. Showing a movie of how you get the error would also be appreciated.
Btw, are you following our best practices and creating a separate class library where the reports would reside and then reference this class library in your web/win project?
Greetings,
Steve
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I'm using:
Microsoft Windows XP Profesional. Version 2002. Service Pack 3
Microsoft Visual Studio 2008. VersiĂłn 9.0.30729.1 SP
Microsoft .NET Framework. VersiĂłn 3.5 SP1
Telerik Reporting Lastest Version 2009.2 414 (Apr 14, 2009)
I don't know where i can send the screenshots or movie...
Here is what i do step by step:
1.- Create a proyect as a class library
2.- Right click on the proyect name ->add -> new item
3.- Them i select from templates "Telerik Report Q1 2009", put a name for the report (Report1.cs) and click ok.
At this point it should show me the designer tool window but nothing appears, it just return to visual studio. The telerik report is created, i can see it in the Solution Explorer so...
4.- Double click on the report name (Report1.cs) and the mesage appears:
"The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service container. Parameter name: serviceType"
I'm able to open the code file (Report1.Designer.cs) but i would like to use the designer tool...
It is impossible for us to guess what exactly happens. Can you please try to install our reporting tool on another machine and share the results with us?
Additionally, can you enable logging for the Visual Studio by placing this listener in the root section in C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe.config:
<system.diagnostics>
<trace autoflush="true" indentsize="4">
<listeners>
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\DEVENV.LOG" />
<remove name="Default" />
</listeners>
</trace>
</system.diagnostics>
Start Visual Studio, reproduce the problem, and close VS. After that please send us the DEVENV.LOG.
All the best,
Hrisi
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I am also facing the same problem as of Ana faced.
The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service container. Parameter name: serviceType
I followed the steps given in this thread and generated file DEVENV.LOG
The contents of file is as below..
Constructing a new instance of SVsWindowManager
Entering constructor for: Telerik.Reporting.VsPackage.VsPackage
Entering Initialize() of: Telerik.Reporting.VsPackage.VsPackage
ToolboxInstaller::GetVsVersion VS RegistryRoot HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\10.0
ToolboxInstaller registry:
Software\Telerik\Reporting\ToolboxInstaller
Software\Telerik\Reporting\ToolboxInstallerCache\10.0
Entering constructor for: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering Initialize() of: Telerik.CommonPackage.Telerik_CommonPackagePackage
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Reporting.VsPackage.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Entering constructor for: Microsoft.VisualStudio.ComponentModelHost.HostPackage
Entering Initialize() of: Microsoft.VisualStudio.ComponentModelHost.HostPackage
Assembly resolution failed: Telerik.Web.UI, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4
Assembly resolution failed: Telerik.ReportViewer.WebForms.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WebForms.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WebForms.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WebForms.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WebForms.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WinForms.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WinForms.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WinForms.resources, Version=6.0.12.302, Culture=en-US, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WinForms.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WinForms.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.ReportViewer.WinForms.resources, Version=6.0.12.302, Culture=en, PublicKeyToken=a9d7983dfcc261be
Assembly resolution failed: Telerik.Web.UI
Try to create a new Windows Forms project and check whether the issue appears again. We believe that this problem is not directly connected to Telerik Reporting but rather to Visual Studio. You can see a public thread on Microsoft about this error. There are suggested workarounds that you can try: The Service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service container.
Most people report this to be a problem with the .NET installation. Please try to follow the guides offered in the thread and see if the problem will be resolved.
Some other threads discussing the same problem:
http://social.msdn.microsoft.com/Forums/en-US/vcsharpexpress2008prerelease/thread/a1de897e-2a70-4fa0-84b6-0e5d34dbf1c2/
http://connect.microsoft.com/VisualStudio/feedback/details/301866/the-service-microsoft-visualstudio-shell-interop-iselectioncontainer-already-exists
Elian
the Telerik team