February 28th, 2011, 04:02 PM
Creating Databases with the .Net 2.5.2 Provider
I'm trying to create an embedded database with the Firebird .net Provider 18.104.22.168. I'm copying these files to the output directory:
I also created a simple method to create a database:
However, I get an error saying that the server type is invalid when I call the FbCreateDatabase.CreateDatabase method. Is there something that I'm missing from the connection string?
public void CreateDatabase()
string connString = "servertype=1;database=FbSample.fdb;";
FbConnection conn = new FbConnection(connString);