Search found 6 matches

by andyscott12
Wed 22 Aug 2012 13:28
Forum: dotConnect for MySQL
Topic: Unhandled Exception: System.InvalidOperationException: Pushing object second time.
Replies: 9
Views: 3145

Re: Unhandled Exception: System.InvalidOperationException: Pushing object second time.

Hi,

Unfortunately it's a bit hard to send a test project because its part of a larger project. I think maybe when I was importing a flat file the CPU load was too high OR was not enough memory (and so this caused big pressure on the Garbage Collector) and so DevArt hit a bug where it didn't know exactly what to do ?

The flat file had a few million lines of data and hit it mid way through - so im a bit unsure what exactly caused it and the log only spat out the error i've pasted.
by andyscott12
Wed 22 Aug 2012 04:09
Forum: dotConnect for MySQL
Topic: Unhandled Exception: System.InvalidOperationException: Pushing object second time.
Replies: 9
Views: 3145

Unhandled Exception: System.InvalidOperationException: Pushing object second time.

Hi,

I am importing a bunch of flat files into MySQL using dotConnect for MySQL and I seem to hit this error ? It doesn't seem to be anything in my code but rather something in dotConnect ? I am using v7.1.40.0

Code: Select all

Unhandled Exception: System.InvalidOperationException: Pushing object second time.
at Devart.Common.DbConnectionInternal.d(Object A_0)
at Devart.Common.DbConnectionPoolGroup.a(DbConnectionPool A_0)
at Devart.Common.DbConnectionPoolGroup.a(Object A_0)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()
by andyscott12
Wed 13 Jul 2011 03:30
Forum: dotConnect for MySQL
Topic: CSV Import ?
Replies: 1
Views: 2855

CSV Import ?

Hi,

I am using DevArt for MySQL and I am trying to import a large CSV file [>1,000,000 rows]

I'm a little unsure the best way to do this using DevArt and was wondering whether you were able to point me in the best direction ?

Thanks
by andyscott12
Mon 25 Apr 2011 13:52
Forum: dotConnect for MySQL
Topic: EF4.1 Code First Error
Replies: 3
Views: 3331

EF4.1 Code First Error

Hi There,

I am following this guide: http://www.asp.net/entity-framework/tut ... pplication

So that is MVC3 with EF Code First and I am trying to use MySQL instead of SQLSERVER.

So far I have downloaded the Devart dotConnect and also tried the MySQL Connector. In my web.config I have added the following under
Next, I found out that the following also has to be added to the web.config. I don't know why though.

Code: Select all

  
  
I have a simple POCO model for a post called Post. I am under the impression that when this compiles, and the lazy loading kicks in, the entity framework should create a table for me that's called 'post' (or 'posts').

However, when this runs, I get the following error: "Table 'project.posts' doesn't exist" indicating that the EF does NOT create this for me.

When I use the dotConnect instead, I get the another error: "Unknown database 'dbo'".

Does anyone have some insight as to what's going on? I did find this post [ http://social.msdn.microsoft.com/Forums ... 5d522aac4b ] but not sure whether it provides much insight ?

Why doesn't DevArt work ?
by andyscott12
Tue 08 Feb 2011 14:49
Forum: dotConnect for MySQL
Topic: dotConnect Devart with ADO.NET CTP5 ?
Replies: 4
Views: 1372

Hi,

Thanks for the response.

Does this support the Code First Approach ? i.e. because I was having some difficulties getting it working due to errors ?

Are you able to test / confirm on your end ?

Thanks

http://blogs.msdn.com/b/adonet/archive/ ... rough.aspx

http://blogs.msdn.com/b/adonet/archive/ ... ntext.aspx
by andyscott12
Sun 06 Feb 2011 04:08
Forum: dotConnect for MySQL
Topic: dotConnect Devart with ADO.NET CTP5 ?
Replies: 4
Views: 1372

dotConnect Devart with ADO.NET CTP5 ?

Hi Guys,

Trying to get devart connector working with ADO.NET CPT5 and it doesn't seem to be working ?

i.e. I am using ADO.NET Code first approach ?

Thanks