Converted v2.6 -> v4.1 - TransactionComPlus.cs errors on build

Posts   
 
    
larkydoo
User
Posts: 45
Joined: 30-Jun-2008
# Posted on: 25-Jul-2014 16:34:04   

I just converted a project from v2.6 to v4.1. The new project file works fine and loads and generates source code in LLBLGen 4.1. I am using selfservicing 2-classes. When I try to compile in VS 2012 I get 4 errors, each of which reference the TransactionComPlus helper class. The errors are:

Error 1 'SD.LLBLGen.Pro.ORMSupportClasses.TransactionComPlusBase' is obsolete: 'This class is marked obsolete, starting with v3.5. Use System.Transactions instead of COM+ based transactions for distributed transactions.' C:\websites\OTAdmin\LLBLGen\HelperClasses\TransactionComPlus.cs 26 23 edu.umn.cffm.fptrain Error 2 'edu.umn.cffm.fptrain.HelperClasses.TransactionComPlus.CreateConnection()': no suitable method found to override C:\websites\OTAdmin\LLBLGen\HelperClasses\TransactionComPlus.cs 42 48 edu.umn.cffm.fptrain Error 3 'edu.umn.cffm.fptrain.HelperClasses.TransactionComPlus.CreateConnection(string)': no suitable method found to override C:\websites\OTAdmin\LLBLGen\HelperClasses\TransactionComPlus.cs 55 48 edu.umn.cffm.fptrain Error 4 'edu.umn.cffm.fptrain.HelperClasses.TransactionComPlus.CreatePhysicalTransaction()': no suitable method found to override C:\websites\OTAdmin\LLBLGen\HelperClasses\TransactionComPlus.cs 67 49 edu.umn.cffm.fptrain

I tried simply removing the TransactionComPlus.cs file and rebuilding (per instructions on http://www.llblgen.com/documentation/4.1/LLBLGen%20Pro%20RTF/migratingcode.htm) but this causes the error

Error 1 Source file 'HelperClasses\TransactionComPlus.cs' could not be found C:\websites\OTAdmin\LLBLGen\CSC edu.umn.cffm.fptrain

Please help!

Thanks!

Laurie

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 25-Jul-2014 17:10:52   

I tried simply removing the TransactionComPlus.cs file and rebuilding (per instructions on http://www.llblgen.com/documentation/4.1/LLBLGen%20Pro%20RTF/migratingcode.htm) but this causes the error

Quote: Error 1 Source file 'HelperClasses\TransactionComPlus.cs' could not be found C:\websites\OTAdmin\LLBLGen\CSC edu.umn.cffm.fptrain

Please help!

Please search the solution for references of this class, I doubt you can find any. !

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 25-Jul-2014 17:23:14   

I think the issue is that the file was removed from disk but you left it in the vs.net project?

Frans Bouma | Lead developer LLBLGen Pro