EDM Insert errormessage (update of err more infomaition see

EDM Insert errormessage (update of err more infomaition see

Postby wangmjj » Tue 21 Oct 2008 12:31

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?
wangmjj
 
Posts: 22
Joined: Tue 03 Jun 2008 12:25

Postby Shalex » Wed 22 Oct 2008 16:39

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.
Shalex
Devart Team
 
Posts: 7705
Joined: Thu 14 Aug 2008 12:44

help me

Postby wangmjj » Thu 23 Oct 2008 01:07

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.
wangmjj
 
Posts: 22
Joined: Tue 03 Jun 2008 12:25

Add

Postby wangmjj » Thu 23 Oct 2008 01:31

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!!!
wangmjj
 
Posts: 22
Joined: Tue 03 Jun 2008 12:25

But Linq to Oracle Beta 1.0.0.2Is also supported by the

Postby wangmjj » Thu 23 Oct 2008 01:52

But Linq to Oracle Beta 1.0.0.2 Is also supported by theby the
wangmjj
 
Posts: 22
Joined: Tue 03 Jun 2008 12:25

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

Postby wangmjj » Mon 27 Oct 2008 04:33

help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
wangmjj
 
Posts: 22
Joined: Tue 03 Jun 2008 12:25

Postby Shalex » Tue 28 Oct 2008 13:37

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.
Shalex
Devart Team
 
Posts: 7705
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle