Hi
After I deploy Guidance package on client machine, usergets the following error when he/she tries to use guidance package
Recipe Framework Error
Value cannot be null
Parameter name: serviceProvider
System.ArgumentNullException: Value cannot be null.
Parameter name: serviceProvider
at Microsoft.Practices.ComponentModel.ServiceHelper.GetService(IServiceProvider serviceProvider, Type serviceType, Object component)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VszWizard.EnvDTE.IDTWizard.Execute(Object Application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval)
I tried to find solution for this on this forum but i didnt find any specific solution....
Can you please let me know what canbe the exact issue on the client machine??
Below is the dump from GaxTroubleShooter..
Note - when i install the package at my end on fresh XP machine it works as expected...
Dumping OS details...
----------------------------------------------------------------------------------------------------
OS version: Microsoft Windows NT 5.2.3790 Service Pack 2
CLR version: 2.0.50727.3053
Dumping GAX hive...
----------------------------------------------------------------------------------------------------
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions
Value CurrentVersion=1.4 - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Compatibility
Value 1.1=1 - (DWord)
Value 1.2=1 - (DWord)
Value 1.3=1 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts\VisualStudio
Value 8.0=8.0 - (String)
Value 9.0=9.0 - (String)
Value CurrentHive=8.0 - (String)
----------------------------------------------------------------------------------------------------
DUMP INFORMATION FOR 8.0 VS HIVE
MainManifest (8.0)
------------------------------------------------
FileName: C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework8.0.xml
<?xml version="1.0" encoding="utf-8"?>
<RecipeFramework SchemaVersion="1.0" TraceLevel="Error" xmlns="http://schemas.microsoft.com/pag/gax-manifest">
<Hosts>
<Host Name="VisualStudio" InstallerType="Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller, Microsoft.Practices.RecipeFramework.VisualStudio" />
</Hosts>
<GuidancePackages>
</GuidancePackages>
</RecipeFramework>
Registry Info (8.0)
--------------------------------------------------------------------
Key Software\Microsoft\VisualStudio\8.0\RecipeManagerPackage not registered.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}
Value InprocServer32=c:\WINDOWS\system32\mscoree.dll - (String)
Value Class=Microsoft.Practices.RecipeFramework.VisualStudio.RecipeManagerPackage - (String)
Value CodeBase=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.RecipeFramework.VisualStudio.DLL - (String)
Value ID=1 - (DWord)
Value MinEdition=Standard - (String)
Value ProductVersion=1.0 - (String)
Value ProductName=recipe framework - (String)
Value CompanyName=Microsoft - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\SatelliteDll
Value Path=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies - (String)
Value DllName=Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}
Value {53544C4D-E3F8-4AA0-8195-8A8D16019423}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}
Value Name=Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorWindow - (String)
PublicAssemblies directory folder (8.0) C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies.
--------------------------------------------------------------------
Assembly: Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
----------------------------------------------------------------------------------------------------
DUMP INFORMATION FOR 8.0Exp VS HIVE
MainManifest (8.0Exp)
------------------------------------------------
FileName: C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework8.0Exp.xml
WARNING: Unable to find the C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework8.0Exp.xml specified file.
Registry Info (8.0Exp)
--------------------------------------------------------------------
Key Software\Microsoft\VisualStudio\8.0Exp\RecipeManagerPackage not registered.
Key Software\Microsoft\VisualStudio\8.0Exp\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2} not registered.
Key Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F} not registered.
Key Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82} not registered.
Key Software\Microsoft\VisualStudio\8.0Exp\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4} not registered.
----------------------------------------------------------------------------------------------------
DUMP INFORMATION FOR 9.0 VS HIVE
MainManifest (9.0)
------------------------------------------------
FileName: C:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework9.0.xml
<?xml version="1.0" encoding="utf-8"?>
<RecipeFramework SchemaVersion="1.0" TraceLevel="Error" xmlns="http://schemas.microsoft.com/pag/gax-manifest">
<Hosts>
<Host Name="VisualStudio" InstallerType="Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller,Microsoft.Practices.RecipeFramework.VisualStudio" />
</Hosts>
<GuidancePackages>
<GuidancePackage Name="SampleGuidance" Version="1.0" Caption="Sample Guidance" Description="Sample Application" Host="VisualStudio" Guid="d0b39f3d-7c50-401a-8aff-4bbb68dae10b" ConfigurationFile="C:\Program Files\SampleApplication\SampleGuidance.xml" Timestamp="633541208040000000" />
</GuidancePackages>
</RecipeFramework>
Registry Info (9.0)
--------------------------------------------------------------------
Key Software\Microsoft\VisualStudio\9.0\RecipeManagerPackage not registered.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates\{d0b39f3d-7c50-401a-8aff-4bbb68dae10b}
Value LastTemplate=8 - (DWord)
Value PackageName=SampleGuidance - (String)
Value 1=C:\Program Files\SampleGuidance\Templates\Items\Class.vstemplate - (String)
Value 2=C:\Program Files\SampleGuidance\Templates\Projects\ServiceContractProject\ServiceContractProject.vstemplate - (String)
Value 3=C:\Program Files\SampleGuidance\Templates\Projects\ServiceHostProject\ServiceHostProject.vstemplate - (String)
Value 4=C:\Program Files\SampleGuidance\Templates\Projects\ServiceImplementationProject\ServiceImplementationProject.vstemplate - (String)
Value 5=C:\Program Files\SampleGuidance\Templates\Projects\ThinClient\ThinClient.vstemplate - (String)
Value 6=C:\Program Files\SampleGuidance\Templates\Solutions\EmptySolution.vstemplate - (String)
Value 7=C:\Program Files\SampleGuidance\Templates\Solutions\ThinClientSolution.vstemplate - (String)
Value 8=C:\Program Files\SampleGuidance\Templates\Solutions\Projects\ThinClient\ThinClient.vstemplate - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}
Value {53544C4D-E3F8-4AA0-8195-8A8D16019423}=0 - (DWord)
Value {77d93a80-73fc-40f8-87db-acd3482964b2}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}\Packages
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}\Packages\{d0b39f3d-7c50-401a-8aff-4bbb68dae10b}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Value {77d93a80-73fc-40f8-87db-acd3482964b2}=0 - (DWord)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}\Packages
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}\Packages\{d0b39f3d-7c50-401a-8aff-4bbb68dae10b}
Key Software\Microsoft\VisualStudio\9.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4} not registered.
PublicAssemblies directory folder (9.0) D:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies.
--------------------------------------------------------------------
Assembly: Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Assembly: Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.4.0.8
Sachin