License error for ESRI.ArcGIS.Controls.AxSceneControl

210
0
01-31-2019 08:34 AM
RicardoChicas
New Contributor

Hello

I am very new to developing with this tool and I am trying to run some examples

I have the esri sdk installed, I have a visual studio 2017 C# (using .Net framework 4.6.1) app and it is failing with the following error

An unhandled exception of type 'System.ComponentModel.LicenseException' occurred in System.Windows.Forms.dll

must have a permission to use this ActiveX control

that happened after these lines

this.axSceneControl1 = new ESRI.ArcGIS.Controls.AxSceneControl();

((System.ComponentModel.ISupportInitialize)(this.axSceneControl1)).BeginInit();

How do I setup that license? what do I need? I am really lost and confuse about how to use this

Thanks

0 Kudos
0 Replies