Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADO Data > MSSQL Server Co...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 4265 of 4320
Post > Topic >>

MSSQL Server Compact Edition 3.5. OleError 0x80040E05 - Object was open during Recordset.Open for certain tables

by "Ender" <linuxmustdie@[EMAIL PROTECTED] > Jul 10, 2008 at 11:43 PM

Hello, all.

Last four hours I fought with very strange error. When I try to open a
table 
through simple query (select * from TableName) ADO (OLEDB) gives to me 
abovementioned error message. Some tables are opened without a problem but

for some tables there is error. I tried to determine what is the
difference 
between these tables and was very surprised. This error happens when table

have nvarchar fields with maximum length more than 127. For example this 
table will be opened without problems:

For this table opening works

create table Projects(
  ID integer identity (0, 1) constraint PK_Projects primary key,
  Name nvarchar (127) not null);

but this table won't open

For this table opening doesn't work

create table Projects(
  ID integer identity (0, 1) constraint PK_Projects primary key,
  Name nvarchar (255) not null);

Both tables perfectly opened through Visual Studio 2008. I suppose it uses

ADO.NET but I use ADO (OLEDB) from program written on Delphi. Could
someone 
direct me to the place in the do***entation where such restriction is 
mentioned? Andy why such non-informative error message?
 




 6 Posts in Topic:
MSSQL Server Compact Edition 3.5. OleError 0x80040E05 - Object w
"Ender" <lin  2008-07-10 23:43:08 
Re: MSSQL Server Compact Edition 3.5. OleError 0x80040E05 - Obje
"Bob Barrows [MVP]&q  2008-07-10 13:55:42 
Re: MSSQL Server Compact Edition 3.5. OleError 0x80040E05 - Obje
"Ender" <lin  2008-07-11 00:13:10 
Re: MSSQL Server Compact Edition 3.5. OleError 0x80040E05 - Obje
"Bob Barrows [MVP]&q  2008-07-10 14:28:46 
Re: MSSQL Server Compact Edition 3.5. OleError 0x80040E05 - Obje
"Ender" <lin  2008-07-11 00:55:41 
Re: MSSQL Server Compact Edition 3.5. OleError 0x80040E05 - Obje
"Bob Barrows [MVP]&q  2008-07-10 17:19:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 13:54:32 CST 2008.