Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

Connector 6.3.5 and MS Enterprise Library (no replies)

$
0
0
I have in production an app that uses .Net Connector 5.2.3 and MS Enterprise Library for the data access. MS Enterprise library does an adapter.fill() on a Dataset. For the database we're using MySQL 5.0.5.

I want to upgrade our connector to 6.3.5 to improve handling of the MySQL connections, however I do not want to upgrade to a newer version of the MySQL database. To do this I've simply swapped the MySQL.Data.dll to version 6.3.5.

Everything builds fine, however I'm running into 2 issues:
1. I'm getting really bad performance results. Loading a single row with about 15 columns used to take .3 seconds but now takes 6.8 seconds.

2. I'm getting some weird errors when I try to update the row:
OUT or INOUT argument 3 for routine zwarenunit.spCategoryTableUpdate is not a variable or NEW pseudo-variable in BEFORE trigger)
----> MySql.Data.MySqlClient.MySqlException : OUT or INOUT argument 3 for routine zwarenunit.spCategoryTableUpdate is not a variable or NEW pseudo-variable in BEFORE trigger

We haven't coded anything that uses Triggers.

Everything worked with Connector 5.2.3 and performance was fine. When switching to Connector 6.3.5 we have the 2 issues above.

Is anyone using Connector 6.3.5 and MS Enterprise Library? Have you seen these types of problems before? Any suggestions as to how to work around them?

Unfortunately at this point we're tied to MS Enterprise Library and MySQL Server 5.0.

Thanks,
Dave

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>