Connector/Net 5.2.3 GA has been released
MySQL Connector/Net 5.2.3, a new version of the all-managed .NET driver for MySQL has been released. This release is of GA quality and is suitable for use in production environments. We strongly urge you to review the change log that is shipped with the product for a thorough review of the changes.
Version 5.2.3 works with all versions of MySQL including MySQL-4.1, MySQL-5.0, MySQL-5.1 beta or the MySQL-6.0 Falcon “Preview”.
It is now available in source and binary form from [http://dev.mysql.com/downloads/connector/net/5.2.html] and mirror sites (note that not all mirror sites may be up to date at this point of time – if you can’t find this version on some mirror, please try again later or choose another download site.)
Changes since 5.2.2
- Increased the speed of MySqlDataReader.GetOrdinal dramatically by using a couple of hashes for lookups
- Fixed problem where some tables that support the web providers used the latin1 character set instead of the database default. (bug #36444)
- Changed how the procedure schema collection is retrieved. If ‘use procedure bodies=true’ then we select on the mysql.proc table directly as this is up to 50x faster than our current IS implementation. If ‘use procedure bodies=false’, then the IS collection is queried. (bug #36694)
- Fixed problem with our GetOrdinal speedup where we would attempt to add an already existing key to a hash when a resultset had more than 1 column with the same name. (bug #37239)
- small fix to how we were allowing in/out and out parameters to slide through parameter serialization. Before we were setting the AllowUserVariables connection setting but that had the unfortunate side effect of setting the value for all connections that shared that connection string. This way we isolate it just to our particular command. This may fix bug #37104
- Fixed documentation surrounding use of ? vs @ for parameters (bug #37349)
- Reduced network traffic for the normal case where the web provider schema is up to date (bug #37469)
- Improved error reporting when a timeout occurs. It no longer uses a message like ‘reading from stream failed’. (bug #38119)
- fixed problem where adding a non-existent user to a role would not auto-create the user record (bug #38243)
- moved string escaping routine from the MySqlString class to the MySqlHelper class and made it public and static. (bug #36205)
- Fixed problem where column metadata was not being read with the correct character set (bug #38721)
- Fixed problem where the uninstall was not cleaning up the state files (bug #38534)
- Added ‘Functions Return String’ connection string option
- Several other fixes merged in from 5.0 and 5.1
-
#2 written by Marvin 3 years ago
-
#4 written by Amre Ellafi 3 years ago
-
#5 written by Darl 3 years ago
Hi Reggie,
Am getting an "Exception: Profile update failed"
Using the ProfileProvider the stack trace is below
[quote]
[Exception: Profile update failed.]
MySql.Web.Profile.MySQLProfileProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection) +619[ProviderException: Profile update failed.]
MySql.Web.Profile.MySQLProfileProvider.SetPropertyValues(SettingsContext context, SettingsPropertyValueCollection collection) +731
System.Configuration.SettingsBase.SaveCore() +379
System.Configuration.SettingsBase.Save() +77
System.Web.Profile.ProfileBase.SaveWithAssert() +31
System.Web.Profile.ProfileBase.Save() +63
System.Web.Profile.ProfileModule.OnLeave(Object source, EventArgs eventArgs) +2397611
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
[quote]Below is the profile section of my web.config
[quote]
<sessionState mode="Off"/>
<anonymousIdentification enabled="true"
cookieName=".ASPXANONYMOUS"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All"
cookieless="UseCookies"/>
<profile defaultProvider="MySQLProfileProvider" enabled="true" >
<providers>
<clear/>
<add connectionStringName="FRCN"
name="MySQLProfileProvider"
type="MySql.Web.Profile.MySQLProfileProvider"
applicationName="/"/>
</providers>
<properties>
<add name="FullName" type="System.String" serializeAs="Xml" allowAnonymous="false" provider="MySQLProfileProvider"/>
</properties>
</profile>
[quote]Am actually trying to implement a shopping cart, at first I supected my shopping cart type, but after removing the type from the profile and left just only the FullName property am still getting the same error.
-
#6 written by Darl 3 years ago
public partial class ShoppingCart : System.Web.UI.Page
{
protected void Page_Load( object sender, EventArgs e )
{
if( !IsPostBack )
{
string itemId = Request.QueryString[ "addItem" ];
if( !string.IsNullOrEmpty( itemId ) )
{
//Product pro = Products.GetProduct( itemId );//CartItem item = new CartItem( pro.ProductGUID, pro.ProductName, 1, pro.OurPrice );
//Dummy just to test error reoccuring
Profile.FullName = "Webmaster";//Profile.ShoppingCart.Add( item );
//Profile.WishList.Add( item );// Redirect to prevent duplictations in the cart if user hits "Refresh"
Response.Redirect( "~/ShoppingCart.aspx", true );
}
}
}protected void Page_PreInit( object sender, EventArgs e )
{}
}Like i said in my prevoius post am doing a shopping cart, all the line commented is because I have removed the wishlist and shopping cart from the profile properties and just added the fullname property to be sure the error is not due to my cart and wishlist type.
-
#7 written by Busby SEO Test 3 years ago
-
#8 written by busby seo test blog tips 3 years ago
-
#9 written by Organic Skin Care 3 years ago
-
#10 written by Online Merchant Account 3 years ago
-
#11 written by Richard 3 years ago
I initially had some MySQL problems when I tried to set up a way to <a href="www.cardaccept.com">accept online payments</a> from my website. Reading your blog helped answer a few of the questions I had and helped me get things sorted out. Thankfully everything is working properly now and I have a bit more knowledge concerning MySQL than I did previously.
Thank you.
-
#12 written by Icon Energy 3 years ago
-
#13 written by alcohol hangover headache cure 3 years ago
"Like i said in my prevoius post am doing a shopping cart, all the line commented is because I have removed the wishlist and shopping cart from the profile properties and just added the fullname property to be sure the error is not due to my cart and wishlist type. "
Good call…this will help weed out problems and help with smoother procedure.
-
#14 written by Google Dance for Busby SEO Test in this Chinese New Year 2009 3 years ago
-
#17 written by revitol stretch mark cream 3 years ago
-
#18 written by direct travel insurance deals 3 years ago
-
#19 written by Yohimbe 3 years ago
-
#20 written by how to make fast money 3 years ago
-
#22 written by Raleigh Movers 3 years ago
-
#23 written by Real Estate in Caesarea 3 years ago
-
#25 written by betclic 3 years ago
-
#28 written by order error nuker software 3 years ago
-
#34 written by architecture firms la 3 years ago
-
#38 written by Dissertation 3 years ago
-
#39 written by cleaning franchises 2 years ago
-
#41 written by child adoption information 2 years ago
-
#44 written by aste al ribasso 2 years ago
-
#45 written by tukang nggame 2 years ago
-
#46 written by Toronto hotels 2 years ago
-
#47 written by free music 2 years ago
-
#53 written by knockoff handbags 2 years ago
-
#55 written by jackmilney 2 years ago
-
#57 written by jackmilney 2 years ago
-
#59 written by tiffany jewellry 2 years ago
-
#60 written by club penguin 2 years ago
-
#61 written by tiffany jewellery 2 years ago
-
#62 written by tiffany rings 2 years ago
-
#63 written by Tiffany Earrings 2 years ago
-
#64 written by my blogging net 2 years ago
-
#65 written by tiffany rings 2 years ago
-
#66 written by hostwaffle09 2 years ago
-
#67 written by tiffany 2 years ago
-
#69 written by hkdedicatedhosting 2 years ago
-
#70 written by classic tiffany 2 years ago
-
#73 written by Marc Ecko 2 years ago
-
#74 written by Travelmaniak 2 years ago
-
#77 written by anxiety cures 2 years ago
-
#79 written by North Raleigh Neighborhoods 2 years ago
-
#80 written by agoraphobia treatment 2 years ago
-
#81 written by panic disorder agoraphobia 2 years ago
-
Comments are closed
- Comment Feed for this Post
Didn't find any related posts :(
Reggie,
I kept getting to following error when attempting to use the 5.2.3 Membership and Role providers in my ASP.Net 2.0 app:
Unable to initialize provider. Missing or incorrect schema. (D:WebFinderNewweb.config line 52)
I had included autogenerateschema="true" on all of my providers, but it did not seem to want to generate the schema. Couldn’t get it to work with the providers installed, or by including them in the Bin directory.
I ended up downloading the source code version and merging the 4 SQL files into one and creating the tables manually (through MySQL Browser). It works now.
Finally, may I recommend adding the MySql.Web dll and the composite SQL script to the binaries zip?