Firebird 错误:“操作系统指令 CreateFile 失败”
有人看到这个错误吗?
我正在使用 Firebird 2.1,数据库创建语句在 v.first 存储过程执行时失败。
错误信息:
[869] : There was a problem creating a DBProvider with the following parameters: StoredProcedureName:sel_NextObjectID 2. operating system directive CreateFile failed 3. operating system directive CreateFile failed Stack Trace 2.at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut() at FirebirdSql.Data.FirebirdClient.FbConnection.Open() at FirebirdDBProvider.NewProvider_Internal(String commandText, String connectionString, CommandType commandType) 3 at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut() at FirebirdSql.Data.FirebirdClient.FbConnection.Open() at FirebirdDBProvider.NewProvider_Internal(String commandText, String connectionString, CommandType commandType)
Did any one see this error ??
I'm using Firebird 2.1 and database create statement is getting failed on v.first stored procedure execution.
Error Message:
[869] : There was a problem creating a DBProvider with the following parameters: StoredProcedureName:sel_NextObjectID 2. operating system directive CreateFile failed 3. operating system directive CreateFile failed Stack Trace 2.at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut() at FirebirdSql.Data.FirebirdClient.FbConnection.Open() at FirebirdDBProvider.NewProvider_Internal(String commandText, String connectionString, CommandType commandType) 3 at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create() at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut() at FirebirdSql.Data.FirebirdClient.FbConnection.Open() at FirebirdDBProvider.NewProvider_Internal(String commandText, String connectionString, CommandType commandType)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
好吧,删除所有临时文件修复了这个问题。在firebird上也发现了同样的问题。
1) 确保您的应用程序(您遇到此问题的应用程序)没有运行。
2) 一个运行对话框 (Window + R) 并输入“%temp%”,然后单击“确定”
3)在打开的文件夹中删除所有文件(可以删除)。
4) 启动应用程序。
Well, deleting all temp file fixed this thing. Found the same issue on firebird too.
1) Make sure your application (on which you're facing this issue) is not running.
2) One Run dialog (Window + R) and type in “%temp%” and click “ok”
3) In the opened folder delete all the files (which can be deleted).
4) Start the application.
刚刚遇到了同样的问题,原因是系统驱动器上没有可用空间。
Just had same issue, the reason was no free space available on the system drive.
当您尝试连接到尚不存在的数据库时,可能会出现此错误。
从您的帖子中并不完全清楚“数据库创建语句在 v.first 存储过程执行时失败”的含义,但我假设您正在尝试创建数据库然后执行 DDL。
要连接到数据库,您首先需要创建它。要创建数据库,您需要使用 创建数据库 首先。
You can get this error when you are attempting to connect to a database which does not yet exist.
It is not entirely clear from your post what you mean with 'database create statement is getting failed on v.first stored procedure execution', but I assume you are attempting to create a database and then execute DDL.
To connect to a database, you first need to create it. To create a database you need to use createDatabase first.