[Mono-list] Error running program - mysql - ubuntu
lsuitger
judelandry2002 at gmail.com
Thu Sep 11 15:08:43 EDT 2008
I am in the process of switching from windows to Ubuntu. I am trying to learn
mysql w/ c# with what I have on par with MS-SQL and c#.net
I have the mysql.data.dll referenced and the code compiles. I am getting the
following error when I try to run the code:
System.NotSupportedException: CodePage 1252 not supported
at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000]
at MySql.Data.MySqlClient.Driver..ctor
(MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x00000]
at MySql.Data.MySqlClient.NativeDriver..ctor
(MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x00000]
at MySql.Data.MySqlClient.Driver.Create
(MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x00000]
at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000]
I have no idea what is not supported here. It doesn't have a line number I
have double checked the code to make sure everything with the database was
correct.
I am attaching the source for review.
Thank You!
http://www.nabble.com/file/p19442158/Main.cs Main.cs
--
View this message in context: http://www.nabble.com/Error-running-program---mysql---ubuntu-tp19442158p19442158.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list