MySQLTalk.org Forum Index MySQLTalk.org
MYSQL discussions groups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

issue with reservedwords resource

 
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> MySQL and .NET
View previous topic :: View next topic  
Author Message
Julien Boulay
Guest





PostPosted: Mon Apr 16, 2007 6:13 pm    Post subject: issue with reservedwords resource Reply with quote



Hi,

I use the last version of the connector .net and when I execute the
command "CREATE DATABASE "nameOfMyBase" that throw a NullArgumentException.
After looking into the source, the problem seems to come from the method
"SchemaProvider.GetReservedWords()". this method can't get the
ReservedWords.txt file so "str" is null.

Stream str = Assembly.GetExecutingAssembly().GetManifestResourceStream(
"MySql.Data.MySqlClient.ReservedWords.txt");
StreamReader sr = new StreamReader(str);

Under reflector the resource is named
"MySql.Data.MySqlClient*.Source.*ReservedWords.txt"

please advise

regards

Julien Boulay
Back to top
Display posts from previous:   
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> MySQL and .NET All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.