Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > The registry hive containing the path information for the EntLib assemblies can not be found. The repository classes can be crea
 

The registry hive containing the path information for the EntLib assemblies can not be found. The repository classes can be crea

Hi All

I got a Custom Data Access Guidance Package from one of our client. To install that Guidance Package here are the steps

1. Uninstall/Remove the "Data Access Guidance Packge"

2. Install the "Custom Data Access Guidance Package" that was got from Client.

[Note: While installing/unstalling the Visual Studion IDE(devenv) must not run, So I closes the Visual Studion IDE(devenv.exe)

This guidance package is working fine for following things

1. Create business entities from database.

2. Create CRUD stored procedures.

But while creating "Create data repository classes from business entities it giving below information message box window on clicking of "Finish" button.

Information Message Box Window containing this message

"The registry hive containing the path information for the EntLib assemblies can not be found. The repository classes can be created"

Could you please help me out from this issue.

Thank You

Sunil Sinha  Monday, August 20, 2007 10:09 AM
Hi Sunil,

This looks like a custom error message from EntLib, please try the EntLib forums on CodePlex where EntLib team members would be assisting you.

This forums is for general GAX and guidance package development questions for it's not for any particular p&p factory. All of them have their own support forums at CodePlex.

thanks,
-Victor.
vga  Tuesday, August 21, 2007 6:46 PM

Hello Everybody

I got the solution for my problem. Actually problem is presented inreceipe xml file. In one receipe xml file this below code was written.

<Argument Name="EntLibPath" Required="false">

<ValueProvider Type="Microsoft.Practices.RecipeFramework.Extensions.ValueProviders.OS.LocalMachineEntryProvider, Microsoft.Practices.RecipeFramework.Extensions"

RegistryPath="Software\Microsoft\patterns and practices\Service Factory" RegistryEntry="EntlibBinaryPath"/>

</Argument>

and the mentioned path("Software\Microsoft\patterns and practices\Service Factory") is not present in my system registry. So I change this Argument defination with below code

<Argument Name="EntLibPath" Required="false">

<ValueProvider Type="Evaluator" Expression="C:\Program Files\Microsoft Enterprise Library 3.0 - April 2007\Bin\"/>

</Argument>

Now the receipe is running fine.

Regards

Sunil Sinha

Sunil Sinha  Saturday, September 29, 2007 10:19 AM
Hi, if I remenber right Entlib searches for its assemblies in a registry entry (Configuration Set). You will probably find more information in Tom Hollander“s blog and also probably the best place to post this issue should be the Entlib site on Codeplex.

Thanks
-Adrian
Adrian Alonso  Tuesday, August 21, 2007 12:55 AM

Hi Adrian

As per me this is not a problem of Enterprise library installation. The problem might exist in the referencementioned in Guidance package for Enterprise Libraryis wrong.I didn't getrequired information to troubleshoot this issue in Tom Hollander's blog link http://blogs.msdn.com/tomholl/archive/tags/Service+Factory/Software+Factories/default.aspx. Could you please guide further. Thanks in advance

Regards

Sunil Sinha

sunilsinha77@gmail.com

Sunil Sinha  Tuesday, August 21, 2007 10:29 AM
Hi Sunil,

This looks like a custom error message from EntLib, please try the EntLib forums on CodePlex where EntLib team members would be assisting you.

This forums is for general GAX and guidance package development questions for it's not for any particular p&p factory. All of them have their own support forums at CodePlex.

thanks,
-Victor.
vga  Tuesday, August 21, 2007 6:46 PM

Hello Everybody

I got the solution for my problem. Actually problem is presented inreceipe xml file. In one receipe xml file this below code was written.

<Argument Name="EntLibPath" Required="false">

<ValueProvider Type="Microsoft.Practices.RecipeFramework.Extensions.ValueProviders.OS.LocalMachineEntryProvider, Microsoft.Practices.RecipeFramework.Extensions"

RegistryPath="Software\Microsoft\patterns and practices\Service Factory" RegistryEntry="EntlibBinaryPath"/>

</Argument>

and the mentioned path("Software\Microsoft\patterns and practices\Service Factory") is not present in my system registry. So I change this Argument defination with below code

<Argument Name="EntLibPath" Required="false">

<ValueProvider Type="Evaluator" Expression="C:\Program Files\Microsoft Enterprise Library 3.0 - April 2007\Bin\"/>

</Argument>

Now the receipe is running fine.

Regards

Sunil Sinha

Sunil Sinha  Saturday, September 29, 2007 10:19 AM

You can use google to search for other answers

Custom Search

More Threads

• Preselecting wizard items
• Organization of Projects using GAT
• Access is Denied Error when installing Guidance Automation Packages / Guidance Automation Toolkit
• T4 (*.tt) Turn off default autogen file
• Processing T4 in different languages
• Creating unbound reference to project template
• Code samples anywhere ?
• Need the June GAX MSI
• T3 template engine
• Error in running setup