Hello, I'm using the Firebird .NET Provider 2.0 in combination with Firebird Embedded 2.0 in my product. If all of the following conditions apply, Firebird Embedded is unable to open the database (error in CreateFile):
* The database path has umlauts in it, e.g. C:\Jörg\MailStore.fdb * Charset=UNICODE_FSS or Charset=UTF8 * Using Firebird Embedded. I debugged through the provider and found that isc_create_database and isc_attach_database seem to always expect the database name encoded with the default charset, so I solved the problem as follows: FesDatabase.cs public void CreateDatabase(...) { ... byte[] databaseBuffer = Charset.DefaultCharset.GetBytes(database); and public void Attach(...) { ... byte[] databaseBuffer = Charset.DefaultCharset.GetBytes(database); Stefan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider