i am using arcgis server 10 and visual studio with vb.net to build web mapping application. inside my code i have the following line:
Dim RasterCal As ESRI.ArcGIS.SpatialAnalyst.IMathOp = _
New ESRI.ArcGIS.SpatialAnalyst.RasterMathOpsClass
or even if i do it this way
Dim RasterCal As ESRI.ArcGIS.SpatialAnalyst.IMathOp = _
New ESRI.ArcGIS.SpatialAnalyst.RasterMapAlgebraOp
in both cases i get initialization error which says:
The runtime application type must be specified before license
initialization.
plz can you tell me what is wrong with the above examples of lines? thanks!