Converter types appears twice in drop down

Posts   
 
    
yowl
User
Posts: 266
Joined: 11-Feb-2008
# Posted on: 14-Jan-2016 15:31:59   

Hi,

Using VS2015 SP1 with LLBLGen designer VS addin 4.2 Final July 21st, 2015.

Sometimes when I open the llblgen project file I get this error:

Message type: Error Message text: The mapping of sub-element 'DocType' of entity 'Document.DocHeader' for the target database with the driver 'SQL Server 2000/2005/2008/2008R2/2012/Express Driver (SqlClient)' has the following errors: - TypeConverterToUse: The type converter 'SD.LLBLGen.Pro.ApplicationCore.GeneralDataStructures.TypeConverterDefinition' doesn't have the .NET type 'TheHub.Enums.DocTypes' of the mapped field 'DocType' as its core type. Source: Document.DocHeader mapping Created on: 14 January 2016 09:22 Corrections/suggestions Choice 1: Open containing element 'Document.DocHeader' in its editor and manually correct the errors.

So I go to the edit entity then the Fields tab and in the drop down for the Type Column the type appears to be loaded twice (pic attached). In the project settings I have in the Additional type converter folder ".\Enums\bin\Debug" and in that folder there is only 1 dll. Is there any logging I can turn on to try to find out why it appears to be loading the type twice?

Edit: Should add that if I then open the same project in the standalone designer, the error is gone and I can code gen without problem. Thanks,

Attachments
Filename File size Added on Approval
typetwice.png 13,762 14-Jan-2016 15:32.17 Approved
Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 14-Jan-2016 18:31:21   

Please open a helpdesk thread and attach the project file as well as all typeConverters used.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39588
Joined: 17-Aug-2003
# Posted on: 15-Jan-2016 13:11:32   

Under 'tools' in the designer if you open 'view loaded external types' is the type converter shown twice?

Frans Bouma | Lead developer LLBLGen Pro
yowl
User
Posts: 266
Joined: 11-Feb-2008
# Posted on: 15-Jan-2016 13:40:54   

Hi, Will this here and in the helpdesk thread:

Couldn't reproduce this morning when opening VS and straight to opening the llblgen project and going to "Refresh Relational Model from Database" which is where it normally happens. Sp closed VS, reopened and ran the solution in debug mode (F5). Stopped debugging, and opened the llblgen project and went to Refresh and the error appeared. Under tools -> Loaded external types, it appears once. Screenshot attached.

Thanks,

Attachments
Filename File size Added on Approval
loadedtypes.png 102,692 15-Jan-2016 13:41.46 Approved