Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Access Denied error on Install of Feb GAT
 

Access Denied error on Install of Feb GAT

I am unable to install the GAT package, as I keep getting an Access is Denied error. I am running as admin on a XP SP2 PC which has VS2008 Team Suite installed (no VS2005). Additionally I have installed the VS2008 SDK and the Feb release of GAX.

Here is the relevent section of the install log (ignore the error about the ErrorIcon)

MSI (s) (FC:80) [15:35:16:531]: Executing op: ActionStart(Name=_D5662D52_DF9F_4BC0_813A_85A1E341E05F.install,,)
MSI (s) (FC:80) [15:35:16:531]: Executing op: CustomActionSchedule(Action=_D5662D52_DF9F_4BC0_813A_85A1E341E05F.install,ActionType=3073,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=install /LogFile= /Configuration="C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Microsoft.Practices.RecipeFramework.MetaGuidancePackage.xml" /hive=9.0 "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\MetaGuidancePackageInstaller.dll" "D:\DOCUME~1\zz6jmk\LOCALS~1\Temp\CFGC1.tmp")
MSI (s) (FC:80) [15:35:16:531]: Creating MSIHANDLE (12) of type 790536 for thread 5760
MSI (s) (FC:80) [15:35:16:546]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIC5.tmp, Entrypoint: ManagedInstall
MSI (s) (FC:90) [15:35:16:546]: Generating random cookie.
MSI (s) (FC:90) [15:35:16:546]: Created Custom Action Server with PID 5836 (0x16CC).
MSI (s) (FCBig Smile8) [15:35:17:390]: Running as a service.
MSI (s) (FCBig Smile8) [15:35:17:390]: Hello, I'm your 32bit Elevated custom action server.
MSI (s) (FC!40) [15:35:18:562]: Creating MSIHANDLE (13) of type 790531 for thread 1600
MSI (s) (FC!40) [15:35:18:562]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (B4:AC) [15:35:18:562]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
MSI (s) (FC!40) [15:35:21:765]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (FC!40) [15:35:21:765]:
MSI (s) (FC:80) [15:35:22:296]: Leaked MSIHANDLE (13) of type 790531 for thread 1600
MSI (s) (FC:80) [15:35:22:296]: Closing MSIHANDLE (13) of type 790531 for thread 1600
MSI (s) (FC:80) [15:35:22:296]: Note: 1: 2769 2: _D5662D52_DF9F_4BC0_813A_85A1E341E05F.install 3: 1
MSI (s) (FC:80) [15:35:22:296]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2769: Custom Action _D5662D52_DF9F_4BC0_813A_85A1E341E05F.install did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: _D5662D52_DF9F_4BC0_813A_85A1E341E05F.install, 1,
MSI (s) (FC:80) [15:35:22:296]: Closing MSIHANDLE (12) of type 790536 for thread 5760
Action ended 15:35:22: InstallFinalize. Return value 3.

I dumped the log from the GAX trouble shooter which provided the following:


Dumping OS details...
------------------------------------------------
OS version: Microsoft Windows NT 5.1.2600 Service Pack 2
CLR version: 2.0.50727.1433

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 9.0=9.0 - (String)
Value CurrentHive=8.0 - (String)

Dumping GAX Main Manifest...
------------------------------------------------
WARNING: Unable to find the D:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework.xml specified file.

Dumping GAX info for 9.0 hive.
--------------------------------------------------------------------
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\9.0\RecipeManagerPackage.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.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 9.0\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\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\SatelliteDll
Value Path=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies - (String)
Value DllName=Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - (String)
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\{018f05c0-b2d8-4116-8665-41f3db4640ba}
Value LastTemplate=25 - (DWord)
Value PackageName=ServicesGuidancePackage - (String)
Value 1=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Items\DataContractModel.vstemplate - (String)
Value 2=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Items\HostDesignerModel.vstemplate - (String)
Value 3=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Items\ServiceModel.vstemplate - (String)
Value 4=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMX.vstemplate - (String)
Value 5=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCF.vstemplate - (String)
Value 6=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXBusinessEntity\BusinessEntity.vstemplate - (String)
Value 7=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXBusinessLogic\BusinessLogic.vstemplate - (String)
Value 8=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXClient\Client.vstemplate - (String)
Value 9=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXDataAccess\DataAccess.vstemplate - (String)
Value 10=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXDataType\DataType.vstemplate - (String)
Value 11=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXHost\Host.vstemplate - (String)
Value 12=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXServiceContract\ServiceContract.vstemplate - (String)
Value 13=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXServiceImplementation\ServiceImplementation.vstemplate - (String)
Value 14=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFBusinessEntity\BusinessEntity.vstemplate - (String)
Value 15=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFBusinessLogic\BusinessLogic.vstemplate - (String)
Value 16=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFClient\Client.vstemplate - (String)
Value 17=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFDataAccess\DataAccess.vstemplate - (String)
Value 18=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFDataContract\DataContract.vstemplate - (String)
Value 19=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFFaultContract\FaultContract.vstemplate - (String)
Value 20=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFHost\Host.vstemplate - (String)
Value 21=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFMessageContract\MessageContract.vstemplate - (String)
Value 22=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFServiceContract\ServiceContract.vstemplate - (String)
Value 23=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFServiceImplementation\ServiceImplementation.vstemplate - (String)
Value 24=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Solutions\ServicesGuidancePackage.vstemplate - (String)
Value 25=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Solutions\Projects\Model\Model.vstemplate - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Value LastTemplate=4 - (DWord)
Value PackageName=MetaGuidancePackage - (String)
Value 1=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Templates\Items\Action\Action.vstemplate - (String)
Value 2=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Templates\Solutions\GuidancePackageSolution.vstemplate - (String)
Value 3=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Templates\Solutions\Projects\GuidancePackage\GuidancePackage.vstemplate - (String)
Value 4=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Templates\Solutions\Projects\GuidancePackageInstaller\GuidancePackageInstaller.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\{018f05c0-b2d8-4116-8665-41f3db4640ba}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}\Packages\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Value {72391CE3-743A-4a55-8927-4217541F6517}=0 - (DWord)
Value {815946b0-1c0d-4eab-8226-36ea3c59162a}=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\{018f05c0-b2d8-4116-8665-41f3db4640ba}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}\Packages\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}
Value Name=Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorWindow - (String)
Dumping PublicAssemblies 9.0 folder...
--------------------------------------------------------------------
=====================================================================
Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WARNING: Unable to get assembly info: Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)

Any help in determining whatI am getting the Access is Denied on would be very useful, as I have similar issues with the Web Service Software Factory install.

David

David Ross Robinson  Friday, March 28, 2008 7:51 PM
Hi,
please take a look to this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3081983&SiteID=1
there you'll find a workaround for that issue.

hth
jose.


Jose Escrich  Thursday, April 03, 2008 2:12 PM

Hello.

I have the same problem trying to install the

TSMMDPowerTool-February 2008CTP.msi in a XP SP2 PC with:

.NET Framework 3.5
Visual Studio Team System 2008
Guindance Automation Extensions (GAX)
Guindance Automation Toolkit (GAT) 1.4 Feb 2008

but I could install the GAT without problems.

Any relation?

Cheers

ASaura  Wednesday, April 02, 2008 3:18 PM
Hi,
please take a look to this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3081983&SiteID=1
there you'll find a workaround for that issue.

hth
jose.


Jose Escrich  Thursday, April 03, 2008 2:12 PM

Thanks for responding Jose

That workaround does not help me (since I posted it originally I would know ) other than to try to reinstall GAT multiple times. I still get an access is denied error during the custom action which runs the managed install on the assembly, which triggersthe roll back. The same thing happens with Web Service Software Factory.

I have installed and uninstalled GAX several times thinking that it was a common factor, but have not had any success.

Since my original post I have also installed VS2005 and then reinstalled GAX to see if it made a difference which it didn't.

I have no idea what is causing the problem but it becoming quite vexing.

David

David Ross Robinson  Thursday, April 03, 2008 5:25 PM

Hi David,

when gax or gat is installed it creates a log file which is located in the %temp% folder, that file has the gax- prefix.Can you try install gax again and sendme that log file? If you prefer you can contact meat jes AT clariusconsulting.net.

thanks!

jose.

Jose Escrich  Thursday, April 10, 2008 1:01 PM

Thanks for the information about the log file Jose.

For now I am going to assume that GAX is installed correctly, as it did not 'seem' to have any issues. I tried installing GAT again, and here is the resultant log:

MsiExec.exe Information: 0 : Starting Install phase...
MsiExec.exe Information: 0 : CheckForValidHive...
MsiExec.exe Information: 0 : Running installation using hive: 9.0
MsiExec.exe Information: 0 : Use RANU: False
MsiExec.exe Information: 0 : Trying to open registry key HKLM'SOFTWARE\Microsoft\VisualStudio\9.0'
MsiExec.exe Information: 0 : Checking DevEnv is not running...
MsiExec.exe Information: 0 : Starting InstallPackage C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Microsoft.Practices.RecipeFramework.MetaGuidancePackage.xml ...
MsiExec.exe Information: 0 : Initializing Recipe Framework Installer...
MsiExec.exe Information: 0 : Starting RegisterPackage... - register: True
MsiExec.exe Information: 0 : Base path to use: 'C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008'
MsiExec.exe Information: 0 : Use RANU: False
MsiExec.exe Information: 0 : Starting RegisterTemplates: register = True
MsiExec.exe Warning: 0 : The registry is corrupt, multiple project factories found for language General
MsiExec.exe Warning: 0 : The registry is corrupt, multiple project factories found for language General
MsiExec.exe Information: 0 : Ending RegisterTemplates: register = True
MsiExec.exe Information: 0 : Starting RegisterInternal...
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.VsPackageRegistrationAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.VsPackageRegistrationAttribute'.
MsiExec.exe Error: 0 : System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Guidance_Package_Development.dll' or one of its dependencies. The system cannot find the file specified.
File name: 'file:///C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Guidance_Package_Development.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Microsoft.Practices.RecipeFramework.VisualStudio.Registration.VsPackageRegistrationAttribute.GetVsPackageClass(String assemblyPath, String vsPackageClass)

Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
Running under executable C:\WINDOWS\system32\MsiExec.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = NT AUTHORITY\SYSTEM
LOG: Where-ref bind. Location = C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Guidance_Package_Development.dll
LOG: Appbase = file:///C:/WINDOWS/system32/
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: No application configuration file found.
LOG: Using host configuration file: D:\DOCUME~1\zz6jmk\LOCALS~1\Temp\CFG3E.tmp
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Guidance Automation Toolkit for Visual Studio 2008/Guidance_Package_Development.dll.

MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvidePackageProjectFactoryAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvidePackageProjectFactoryAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideProjectItemAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideProjectItemAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideAutoLoadAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideAutoLoadAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideAutoLoadAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideAutoLoadAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.Registration.ProvideCodeSnippetAttribute'.
MsiExec.exe Information: 0 : Processing attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute'.
MsiExec.exe Information: 0 : Registering attribute 'Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute'.
MsiExec.exe Error: 0 : Exception: Access is denied - at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute.CompileCTO(String& tempCTO)
at Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute.Generate()
at Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute.Register()
at Microsoft.Practices.RecipeFramework.VisualStudio.Registration.GuidancePackageRegistrationAttribute.Register(RegistrationContext context)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.RegisterInternal(RecipeFrameworkRegContext context, Boolean register)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.RegisterPackage(InstallContext installContext, Boolean register, GuidancePackage packageConfig)
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller.Microsoft.Practices.RecipeFramework.IHostInstaller.InstallPackage(InstallContext context, GuidancePackage packageConfig)
at Microsoft.Practices.RecipeFramework.ManifestInstaller.InstallPackage(String configuration) - System
MsiExec.exe Error: 0 : Exception: Access is denied - at Microsoft.Practices.RecipeFramework.ManifestInstaller.InstallPackage(String configuration)
at Microsoft.Practices.RecipeFramework.ManifestInstaller.Install(IDictionary stateSaver) - System

David

David Ross Robinson  Thursday, April 10, 2008 1:24 PM

Hi David,

well, I know where the registration is failing, but I'm trying to find out why... can you give me more information about your box


- did you run the gat installer as administrator?
- did you change the user with the Windows Installer service is running?
- I'm guessing that you're having the same issue with any other guidance package, right?
- It seems that you've installed the Service Factory Feb 2008 there, nevertheless is not properly registered. Did you you used that package with a previous version of GAX?
- please run again the gaxtroubleshooter and check which files you've in D:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\

thanks.
jose.


Jose Escrich  Thursday, April 10, 2008 2:40 PM

Jose,

To answer your questions:

- the gat installer was run by a user with administrator permissions

- the Windows installer service is running under the Local System account

- you are correct in guessing that I am having the same issue with other packages, as I see a similar error when I tried to install Service Factory

- I have only attempted to install Service Factory (it failed). The machine I am installing to had a new copy of VS2008, and had never had GAX, GAT, or any other packages installed prior to this

- the Recipe Famework folder has files RecipeFrameworkX.X.xml for both 8.0 and 9.0 the contents of which are identical and as follows:

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

Here is the result of me running the trouble shooter again:

Dumping OS details...
------------------------------------------------
OS version: Microsoft Windows NT 5.1.2600 Service Pack 2
CLR version: 2.0.50727.1433

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)

Dumping GAX Main Manifest...
------------------------------------------------
WARNING: Unable to find the D:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework.xml specified file.

Dumping GAX info for 8.0 hive.
--------------------------------------------------------------------
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\8.0\RecipeManagerPackage.
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 {488366a4-630c-4a0e-a6a2-b019cee13bea}=0 - (DWord)
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Value {72391CE3-743A-4a55-8927-4217541F6517}=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)
Dumping PublicAssemblies 8.0 folder...
--------------------------------------------------------------------
=====================================================================

Dumping GAX Main Manifest...
------------------------------------------------
WARNING: Unable to find the D:\Documents and Settings\All Users\Application Data\Microsoft\Recipe Framework\RecipeFramework.xml specified file.

Dumping GAX info for 9.0 hive.
--------------------------------------------------------------------
GaxTroubleshooter.exe Information: 0 : Unable to find Software\Microsoft\VisualStudio\9.0\RecipeManagerPackage.
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.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 9.0\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\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\SatelliteDll
Value Path=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies - (String)
Value DllName=Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - (String)
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\{018f05c0-b2d8-4116-8665-41f3db4640ba}
Value LastTemplate=25 - (DWord)
Value PackageName=ServicesGuidancePackage - (String)
Value 1=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Items\DataContractModel.vstemplate - (String)
Value 2=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Items\HostDesignerModel.vstemplate - (String)
Value 3=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Items\ServiceModel.vstemplate - (String)
Value 4=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMX.vstemplate - (String)
Value 5=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCF.vstemplate - (String)
Value 6=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXBusinessEntity\BusinessEntity.vstemplate - (String)
Value 7=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXBusinessLogic\BusinessLogic.vstemplate - (String)
Value 8=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXClient\Client.vstemplate - (String)
Value 9=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXDataAccess\DataAccess.vstemplate - (String)
Value 10=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXDataType\DataType.vstemplate - (String)
Value 11=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXHost\Host.vstemplate - (String)
Value 12=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXServiceContract\ServiceContract.vstemplate - (String)
Value 13=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\ASMXServiceImplementation\ServiceImplementation.vstemplate - (String)
Value 14=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFBusinessEntity\BusinessEntity.vstemplate - (String)
Value 15=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFBusinessLogic\BusinessLogic.vstemplate - (String)
Value 16=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFClient\Client.vstemplate - (String)
Value 17=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFDataAccess\DataAccess.vstemplate - (String)
Value 18=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFDataContract\DataContract.vstemplate - (String)
Value 19=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFFaultContract\FaultContract.vstemplate - (String)
Value 20=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFHost\Host.vstemplate - (String)
Value 21=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFMessageContract\MessageContract.vstemplate - (String)
Value 22=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFServiceContract\ServiceContract.vstemplate - (String)
Value 23=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Projects\WCFServiceImplementation\ServiceImplementation.vstemplate - (String)
Value 24=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Solutions\ServicesGuidancePackage.vstemplate - (String)
Value 25=C:\Program Files\Microsoft Service Factory Feb 2008\Guidance Package\Templates\Solutions\Projects\Model\Model.vstemplate - (String)
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Value LastTemplate=4 - (DWord)
Value PackageName=MetaGuidancePackage - (String)
Value 1=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Templates\Items\Action\Action.vstemplate - (String)
Value 2=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Templates\Solutions\GuidancePackageSolution.vstemplate - (String)
Value 3=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Templates\Solutions\Projects\GuidancePackage\GuidancePackage.vstemplate - (String)
Value 4=C:\Program Files\Microsoft\Guidance Automation Toolkit for Visual Studio 2008\Templates\Solutions\Projects\GuidancePackageInstaller\GuidancePackageInstaller.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\{018f05c0-b2d8-4116-8665-41f3db4640ba}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}\Packages\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}
Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)
Value {72391CE3-743A-4a55-8927-4217541F6517}=0 - (DWord)
Value {815946b0-1c0d-4eab-8226-36ea3c59162a}=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\{018f05c0-b2d8-4116-8665-41f3db4640ba}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}\Packages\{23fc29c9-fafe-47f1-b633-b548e788dddf}
Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}
Value Name=Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorWindow - (String)
Dumping PublicAssemblies 9.0 folder...
--------------------------------------------------------------------
=====================================================================
Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WARNING: Unable to get assembly info: Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
Microsoft.Practices.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.ComponentModel, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Microsoft.Practices.WizardFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
WARNING: Unable to get assembly info: Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)

Thanks for all the help so far.

David

David Ross Robinson  Thursday, April 10, 2008 3:00 PM
Hi David,
where is located your %temp% folder? the log is showing a D:\ location in which seems that you've mapped the document and settings folder, can you give me more information about that.

thanks!
jose.
Jose Escrich  Friday, April 11, 2008 2:44 PM

Hi Jose

My %temp% folder is D:\Documents and Settings\zz6jmk\Local Settings\Temp

On my companies image of XP, the Documents and Settings folder is mapped to the D:\ drive.

Several of my coworkers have installed both GAT and WSSF without any issues, so the mapping itself should not be the root of the issue.

David

David Ross Robinson  Wednesday, April 16, 2008 12:08 PM
I'm having exactly the same issue (on all our machines, as we've just deployed Windows Vista accross the company). We also have (part) of the userprofile on D. I've been able to reproduce this on at least 4 systems without exception.

Windows Vista RTM (no SP1 yet)
Visual studio Team Suite 2008 is installed on d:\program files\*
VS SDK
GAX is installed

UAC is off
running a command line as admin

I'm trying to install GAt to d:\program files\*

The logfile I'm getting is exacly the same as posted by David at donderdag 10 april 2008 15:24:58
  • Edited bytoaom Friday, June 13, 2008 3:08 PMadditional info
  •  
toaom  Friday, June 13, 2008 3:05 PM

You can use google to search for other answers

Custom Search

More Threads

• Newb Question: Where to get started on item template and documentation
• Guidance Package Manager not enabled in VS 2008
• Cannot install GAT or any other guidance package
• Problems installing SCSF source code may 2007
• How to pass parameters to T4 templates using GAX?
• Registering guidance with the experimental hive
• Command Bar to Bound recipe
• Wizard - Field with optional value
• DAL
• creating receipe using short cut