Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Value cannot be null. Parameter name: serviceProvider
 

Value cannot be null. Parameter name: serviceProvider

Hi,

I create a new GAX package, then I changed the registration options to use the experimental hive, adding :

<HostData>
<RegistrationSettings>/hive=9.0Exp /RANU</RegistrationSettings>
</HostData>

Then I run the "Register Guidance Package", and it work perfect.

I open a new VS Experimental Hive enviroment, using the Programas -> Microsoft Visual Studio 2008 SDK -> Tools -> Start Microsoft Visual Studio 2008 SP1 under Experimental hive.

The next step, I go to File -> New -> Project, in the VS Hive, and select the GAX Package register, I can see it, because the registration has been satisfactory.

But when I accept the new project based to GAX definition I get a message with the text:

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 am using VS2008, VS2008 SDK 1.1, GAX February 2008.


Thanks


Leandro Tuttini
Leandro Tuttini  Tuesday, January 13, 2009 1:52 PM
Hi Leandro,

You must have installed the GAX patch 1409, you can download from here:

hth
jose.

Jose Escrich - weblogs.asp.net/jescrich
Jose Escrich  Tuesday, January 13, 2009 5:38 PM

yes, I need updating the GAX with the last upgrade.

Guidance Automation Extensions for Visual Studio 2008 and Visual Studio 2008 Service Pack 1 Update (GAXP1409)

http://www.microsoft.com/downloads/details.aspx?familyid=E28205C6-BB07-401B-9A76-804784598BF0&displaylang=en



And then I restarted the Experimental hive enviroment:

Programs -> Microsoft Visual Studio 2008 SDK -> Tools -> Reset the Microsoft Visual Studio 2008 SP1 Experimental hive


thanks
Leandro Tuttini
Leandro Tuttini  Tuesday, January 13, 2009 6:03 PM
Hi Leandro,

You must have installed the GAX patch 1409, you can download from here:

hth
jose.

Jose Escrich - weblogs.asp.net/jescrich
Jose Escrich  Tuesday, January 13, 2009 5:38 PM

yes, I need updating the GAX with the last upgrade.

Guidance Automation Extensions for Visual Studio 2008 and Visual Studio 2008 Service Pack 1 Update (GAXP1409)

http://www.microsoft.com/downloads/details.aspx?familyid=E28205C6-BB07-401B-9A76-804784598BF0&displaylang=en



And then I restarted the Experimental hive enviroment:

Programs -> Microsoft Visual Studio 2008 SDK -> Tools -> Reset the Microsoft Visual Studio 2008 SP1 Experimental hive


thanks
Leandro Tuttini
Leandro Tuttini  Tuesday, January 13, 2009 6:03 PM

You can use google to search for other answers

Custom Search

More Threads

• Combining GAT and CAB
• Another installation error
• Installation issue with web service software factory
• Best practice for Testing
• trouble installing the Web Service Software Factory
• How to add a parameter to the path of the file?
• Problem Loading Package
• HoLPackage Registration menu disappear
• Visual Studio 2008 Smart Client software Factory
• Web Client Software Factory: I cannot create a module with name Menu