[Mono-dev] Method not found: 'System.Data.Common.DbConnection.EnlistTransaction' in System.Data Version 184.108.40.206
bosak.tomas at gmail.com
Thu Sep 2 09:45:30 EDT 2010
I have mono git master branch source from 30. August. I just added
those symbols to mentioned class and build it with ./autogen
--prefix=/usr/local/ , make, make install. I'm using mono parallel
environments. I have not made any other changes to the source besides
those in DbConnection class.
On 2 September 2010 15:37, Rafael Teixeira <monoman at gmail.com> wrote:
> I think Robert asked how you've built Mono if you are saying you've
> made source changes, or which packaged version of Mono you are using.
> Rafael "Monoman" Teixeira
> "We live in a world operated by science and technology. We have also
> arranged things so that almost no one understands science and
> technology. This is a prescription for disaster. We might get away
> with it for a while, but sooner or later this combustible mixture of
> ignorance and power is going to blow up in our faces."
> -Carl Sagan
> On Thu, Sep 2, 2010 at 10:28 AM, Tomi <bosak.tomas at gmail.com> wrote:
>> Application is ASP.NET MVC 2 targeted to .NET 4.0 and I develop it
>> using Visual Studio 2010. Web app is deployed simply by copying files
>> to my linux machine. It dies when I try to connect to the database
>> (only on mono, MS.NET works). ASP.NET MVC 2 targeted to .NET 3.5 works
>> without problems on mono. I use Apache with mod_mono and it's set to
>> mod-mono-server4. To be clear I did not try to change NET_2_0 symbol
>> to NET_4_0, I just add or (||) operator and add NET_4_0.
>> On 2 September 2010 13:30, Robert Jordan <robertj at gmx.net> wrote:
>>> On 02.09.2010 13:09, Tomi wrote:
>>>> I have tried to do this by myself, but I can't get it to work. The
>>>> problem is probably in DbConnection.cs class
>>>> because EnlistTransaction method (among others) have NET_2_0 symbols.
>>>> This method is overriden by mysql .net connector, but .net 4.0 profile
>>>> System.Data assembly version 220.127.116.11 doesn't have this method probably
>>>> because of that symbol. I added NET_4_0 symbols to directives, but
>>>> none of my combinations worked. Any ideas or hints?
>>> NET_4_0 implies NET_2_0, so the code is correct. My System.Data.dll
>>> (built from git master) *does* contain this method.
>>> How are you building your app?
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list