Select to view content in your preferred language

CodedValueDomain Error

522
0
04-20-2010 08:14 AM
deleted-user-VeZur_n9o0OZ
Deactivated User
Hi,

I have a feeling this is closely related to a thread I posted very recently...
http://forums.arcgis.com/threads/2931-Close-SDE-connection

But in case it's not...

When adding new values to a coded value domain, I am sometimes given the following error...
Exception from HRESULT: 0x80041763

An example coded value I am attempting to add is (35568, 001 31-MAR-03 <YE>)

I have found very little info about this error on the web. I believe it's tied into existing connections to the SDE workspace containing the domains but can't prove it! Can anyone throw any light on this? Interestingly, I am able to delete all values in the domain without any hassle. It's just adding new ones that is sometimes an issue. In most cases, the domain updates fine.

Code throwing error:

Dim objValue As Object = row.Value(0)
CVDomain.AddCode(objValue, CStr(row.Value(1)))

Much appreciated!
0 Kudos
0 Replies