OLE DB ERROR occured. Code 40EDAh

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tom0201
Posts: 5
Joined: Wed 17 Jan 2007 17:20

OLE DB ERROR occured. Code 40EDAh

Post by tom0201 » Thu 18 Jan 2007 11:45

Hi,

i have changed 4 of 37 tables to SDAC.
when i will start my project from the IDE, i get this Debugger-Exception.

When i start the project outside the ide, everything is correct.

what is to do?

regards
tom

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Thu 18 Jan 2007 15:11

It is possible that you are using an old SDAC version and working with SQL Server 2005 new data types (varchar(max), varbinary(max) etc.).
Please download the last SDAC version and try again.

tom0201
Posts: 5
Joined: Wed 17 Jan 2007 17:20

OLE DB ERROR occured. Code 40EDAh

Post by tom0201 » Thu 18 Jan 2007 16:21

EvgeniyM wrote:It is possible that you are using an old SDAC version and working with SQL Server 2005 new data types (varchar(max), varbinary(max) etc.).
Please download the last SDAC version and try again.
i'm using SDAC 3.80.0.35 for Delphi 7 and SQL Server 2007

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Fri 19 Jan 2007 08:18

We couldn't reproduce the problem.
Please send us (evgeniym*crlab*com) a complete small test project to reproduce the problem; include definition of your database objects; don't use third party components. Also specify exact version of Microsoft SQL Server and OLE DB provider you use. You can see it in the Info sheet of TMSConnection Editor.

tom0201
Posts: 5
Joined: Wed 17 Jan 2007 17:20

Post by tom0201 » Fri 19 Jan 2007 10:23

EvgeniyM wrote:We couldn't reproduce the problem.
Please send us (evgeniym*crlab*com) a complete small test project to reproduce the problem; include definition of your database objects; don't use third party components. Also specify exact version of Microsoft SQL Server and OLE DB provider you use. You can see it in the Info sheet of TMSConnection Editor.
i am sorry. Every new project starts correct from the IDE.
The problem is only at the existing project, that i have changed to SDAC.

Version info:
SQL Server 2005
Microsoft SQL Server: 09.00.1399
Microsoft SQL Native Client: 9.00.1399.06

no third party tools, it is a basic Delphi installation

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Tue 23 Jan 2007 07:57

We still can not reproduce the problem.
Unfortunately we will not be able to help you if we do not have an example that demonstrates the problem.

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Thu 25 Jan 2007 09:26

Thank you for information.
We have reproduced the problem and fixed it.
This fix will be included in the next SDAC build.
Please watch for announcements at the forum.

Post Reply