Firebird 错误:“操作系统指令 CreateFile 失败”

发布于 2024-12-14 14:13:21 字数 1082 浏览 4 评论 0原文

有人看到这个错误吗?

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

温折酒 2024-12-21 14:13:22

好吧,删除所有临时文件修复了这个问题。在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.

柏林苍穹下 2024-12-21 14:13:22

刚刚遇到了同样的问题,原因是系统驱动器上没有可用空间。

Just had same issue, the reason was no free space available on the system drive.

青萝楚歌 2024-12-21 14:13:22

当您尝试连接到尚不存在的数据库时,可能会出现此错误。

从您的帖子中并不完全清楚“数据库创建语句在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文