Select to view content in your preferred language

ArcGIS product not specified error

1099
4
11-16-2011 03:59 AM
Almuatasim_Ahmed_SaidAl-Hinai
Deactivated User
Hi All,

I am editing the .net application available at: http://arcscripts.esri.com/details.asp?dbid=15497 for exporting and importing from xml document to feature class. But I am getting product licensing error as attached.
I am now that experienced with VB.Net but just trying to utilize this application for data conversion.

Any help is highly appreciated.

Asim
0 Kudos
4 Replies
AlexanderGray
Honored Contributor
The error says you need to bind to an ArcGIS product before you try to check out a license.  Did you bind to the product?
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Bind_Method/004600000024...
0 Kudos
Almuatasim_Ahmed_SaidAl-Hinai
Deactivated User
Dear Alexander, Thanks a lot for your reply.

I am not really sure how to bind to the product. My AD skills is very basic. I will be quite glad if you can please check the attached licenseInitilizer file (where I am getting the error) and guide me where to add the code for binding the product.

Thanks a lot

Asim
0 Kudos
AlexanderGray
Honored Contributor
the code does not belong in the license initializer.  It should be added before the call to that.
Since the project you linked to is 9.2 I suggest you read through and go through every step in the migrating to ArcGIS 10 document.
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/How_to_migrate_ArcGIS_9...
0 Kudos
Almuatasim_Ahmed_SaidAl-Hinai
Deactivated User
Thanks Alexander,

I can understand the issue now. I will go through the said migration stages and shall update the thread with the result.

My Regards,

Asim
0 Kudos