Page 1 of 1

EDM Insert errormessage (update of err more infomaition see

Posted: Tue 21 Oct 2008 12:31
by wangmjj
my oradirect.net version 4.75.43
oracle :9.2.0.6
NLS_LANG:AMERICAN_AMERICA.US7ASCII
code:
QEntities db = new QEntities();
SDS_DM_WSZT dt = SDS_DM_WSZT.CreateSDS_DM_WSZT("98", "王明俊 ", "Y", "Y");
db.AddToSDS_DM_WSZT(dt);
db.SaveChanges();
errorCode:
Ora-01480:
{"ORA-01480: trailing null missing from STR bind value"}
But
List ws=(from wszt in db.SDS_DM_WSZT select wszt).ToList{};
DataView1.DatoSource=ws;
Display China is good!
-----------------
how do i?

Posted: Wed 22 Oct 2008 16:39
by Shalex
Probably, the US7ASCII charset doesn't coincide with the Encoding.Default value.

Try finding the charset for NLS_LANG, that will correspond to the Encoding.Default value.

help me

Posted: Thu 23 Oct 2008 01:07
by wangmjj
Why is the use of the table adapter CURD operation will be no problem in the same environment?
I suspect that the problem is CoreLab.Data.EntityClient.dll

How should I do to avoid such problems? For example, please?

I am your business users.

Add

Posted: Thu 23 Oct 2008 01:31
by wangmjj
Oh! Forgot to say is: It is because you are the company's products in the Chinese and ASCII do not need to convert the area to support (such as the use of OracleTableAdapter for CURD operation of convenience, we have to buy your products, and is ready to buy Mission for the development of the commercial version, but now the company's managers are not satisfied with this, I hope you will be able to solve this problem as soon as possible.
Thanks very much!!!

But Linq to Oracle Beta 1.0.0.2Is also supported by the

Posted: Thu 23 Oct 2008 01:52
by wangmjj
But Linq to Oracle Beta 1.0.0.2 Is also supported by theby the

help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Posted: Mon 27 Oct 2008 04:33
by wangmjj
help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Posted: Tue 28 Oct 2008 13:37
by Shalex
Please send me (alexsh*devart*com) a test project and a script (DDL and DML) that creates database objects and fills them with data.

Also please provide us with "Regional and Language Options" from "Control Panel" of your machine (regional format, location, language of non-Unicode programs).

What are the regional settings of your Oracle database?

We will try to reproduce the problem and notify you about the results.