This is a migrated thread and some comments may be shown as answers.

The service Microsoft.VisualStudio.Shell.Interop.ISelectionContainer already exists in the service container. Parameter name: serviceType

8 Answers 491 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ana
Top achievements
Rank 1
Ana asked on 03 Jun 2009, 06:51 PM
I tried to create a report using Telerik Reporting from Visual Studio 2008 but the designer tool didn’t start. When I try to open the report, Visual Studio throws me this message:

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

Sort by
0
Hrisi
Telerik team
answered on 04 Jun 2009, 12:44 PM
Hello Ana ,

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.
0
Ana
Top achievements
Rank 1
answered on 04 Jun 2009, 01:21 PM
Hello,

  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.



0
Steve
Telerik team
answered on 04 Jun 2009, 01:59 PM
Hello Ana,

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.
0
Ana
Top achievements
Rank 1
answered on 04 Jun 2009, 04:13 PM
Hello,

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...

0
Hrisi
Telerik team
answered on 09 Jun 2009, 05:09 PM
Hi Ana ,

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.
0
Jitendra
Top achievements
Rank 1
answered on 20 Mar 2012, 06:56 AM
Hello,
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

0
Jitendra
Top achievements
Rank 1
answered on 20 Mar 2012, 07:09 AM
Please Help me ASAP.
0
Elian
Telerik team
answered on 22 Mar 2012, 06:31 PM
Hi Jitendra,

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 

Kind regards,
Elian
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
General Discussions
Asked by
Ana
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
Ana
Top achievements
Rank 1
Steve
Telerik team
Jitendra
Top achievements
Rank 1
Elian
Telerik team
Share this question
or