From: Jay B. <j...@ja...> - 2004-07-25 19:11:21
|
Hello, In trying to use the provider with an embedded Firebird db, I get the following error: I/O error during "CreateFile (open)" operation for file "\DOCUME~1\Jay\LOCALS~1\Temp\tmp1112.fdb" Error while trying to open file The code returning this error is: string filepath = Path.GetTempPath(); string filename = "tmp1112.fdb"; string connection = "Database=" + filepath + filename + ";" + "User=sysdba;" + "Password=masterkey;" + "Dialect=3;" + "ServerType=1;"; conn = new FbConnection(connection); conn.Open(); And the tmp1112.fdb is a new file I'm trying to open to create a database, so it is not an actual firebird database yet. Is this not the correct way to do this? If not, how does one create a new database? Thanks in advance, Jay Baird j...@ja... |