What faults will MySQL Connector encounter during upgrade?

Source: Internet
Author: User

This article mainly tells you about the faults that often occur during MySQL ctor upgrade. Asp is used in the past. NET + MySQL to build the system platform, using MySQL Database Connector 5.22, found that the implementation of Membership has a Bug.

Sometimes an exception is thrown, causing the website service to stop for unknown reasons.

Log on to the official MySQL website again and find that MySQL Connector has been upgraded to 6.22. Then download and upgrade the system, hoping to fix the above Bug.

As a result, the 6.22 version throws another exception, and the system that runs well cannot run.

User code does not process System. FormatException

Message = "GUID should contain 32 digits with four dashes (xxxxxxxx-xxxx-xxxxxxxxxxxx ). "

Source = "mscorlib"

StackTrace:

In System. Guid .. ctor (String g)

In MySql. Data. Types. MySqlGuid. MySql. Data. Types. IMySqlValue. ReadValue (MySqlPacket packet, Int64 length, Boolean nullVal)

In MySql. Data. MySqlClient. NativeDriver. ReadColumnValue (Int32 index, MySqlField field, IMySqlValue valObject)

In MySql. Data. MySqlClient. ResultSet. get_Item (Int32 index)

In MySql. Data. MySqlClient. MySqlDataReader. GetFieldValue (Int32 index, Boolean checkNull)

In MySql. Data. MySqlClient. MySqlDataReader. GetValue (Int32 I)

In MySql. Data. MySqlClient. MySqlDataReader. GetValues (Object [] values)

In System. Data. ProviderBase. DataReaderContainer. CommonLanguageSubsetDataReader. GetValues (Object [] values)

In System. Data. ProviderBase. SchemaMapping. LoadDataRow ()

In System. Data. Common. DataAdapter. FillLoadDataRow (SchemaMapping mapping)

In System. Data. Common. DataAdapter. FillFromReader (DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)

In System. Data. Common. DataAdapter. Fill (DataTable [] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)

In System. Data. Common. DbDataAdapter. FillInternal (DataSet dataset, DataTable [] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

In System. Data. Common. DbDataAdapter. Fill (DataTable [] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)

In System. Data. Common. DbDataAdapter. Fill (DataTable dataTable)

......

The above content is an introduction to the faults caused by MySQL ctor upgrade. I hope you will have some gains.

Original article title: faults caused by MySQL Connector upgrade

Connection: http://www.cnblogs.com/chinaontology/archive/2010/03/09/1681938.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.