Error when generating. Could not find template

Posts   
 
    
Posts: 35
Joined: 07-Jun-2016
# Posted on: 21-Dec-2020 19:09:16   

Using LLBLGen 2.6 Final.

I'm getting this error when trying to generate the domain layer for one of our projects

Task: SD.Tasks.Generic.PersistenceInfoProviderClassGenerator Could not find template 'SD_PersistenceInfoProviderAdapterTemplate'. It is not defined in the used templatebindings or is empty. It can be it's not defined for the current database (e.g. stored procedure templates for SqlServer CE)

The template group is set as "Adapter"

I'm not sure what files I would need to share in order for you to assist, but please let me know, thanks!

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 21-Dec-2020 20:33:44   

That's an out of support version.

Nevertheless, which .NET version are you targeting, and which database are you using? Hint: not all databases are supported in all .NET versions, as explained in the error message.

Posts: 35
Joined: 07-Jun-2016
# Posted on: 21-Dec-2020 20:38:25   

Thanks, I appreciate any assistance.

The project's target language is VB.NET and target platform is .NET 3.5

The data is coming from DB2

This is an application that we've had for a long time so it worked in the past, i was just asked to add a couple new fields to it.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39749
Joined: 17-Aug-2003
# Posted on: 22-Dec-2020 08:37:56   

That template should be installed and included in the default install, so it's odd it can't find it. You're using a default preset or a custom one?

Frans Bouma | Lead developer LLBLGen Pro
Posts: 35
Joined: 07-Jun-2016
# Posted on: 22-Dec-2020 15:52:19   

It looks like a default one. it's set to SD.Preset.Adapter.General2008

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 22-Dec-2020 16:06:14   

Could you please re-install LLBLGen Pro Designer, and try again?

Posts: 35
Joined: 07-Jun-2016
# Posted on: 22-Dec-2020 16:29:53   

I reinstalled it and it appears the error went away. Thanks for the suggestion, i'm not sure why the default install would have gotten modified.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 23-Dec-2020 06:58:19   

MattSeaboard wrote:

I reinstalled it and it appears the error went away. Thanks for the suggestion, i'm not sure why the default install would have gotten modified.

Good to know that it's working now simple_smile

David Elizondo | LLBLGen Support Team