COM Exception using GeoDBDataTransfer

3138
3
Jump to solution
07-06-2015 08:46 AM
MarkMcCall1
New Contributor

I am receiving COM Exception 0x80040220 from the GenerateNameMapping method prior to copying features from one workspace to another.  I haven't been able to find any documentation to help identify this specific exception.  Any help is appreciated.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
YuanLiu
Occasional Contributor

Following steps in ArcObjects Help for .NET developers​, I converted that error code to 10-digit decimal value: -2147220960.

Then based on the error code ranges table in the same page, I got this:

FDO_E_NO_SCHEMA_LICENSE           -2147220960      The application is not licensed to create or modify schema for this type of data.

(from ArcObjects Help for .NET developers)

If this is not helpful, could you please share some code?

View solution in original post

3 Replies
thejuskambi
Occasional Contributor III

Can you share some code?

0 Kudos
YuanLiu
Occasional Contributor

Following steps in ArcObjects Help for .NET developers​, I converted that error code to 10-digit decimal value: -2147220960.

Then based on the error code ranges table in the same page, I got this:

FDO_E_NO_SCHEMA_LICENSE           -2147220960      The application is not licensed to create or modify schema for this type of data.

(from ArcObjects Help for .NET developers)

If this is not helpful, could you please share some code?

MarkMcCall1
New Contributor

Thank you! I had converted to decimal incorrectly and was looking up outside the defined range.

0 Kudos