Hi. I have been developing arcgis desktop applications for a long time. İ was using arcgis 9.3 for my applications. We upgraded to arcgis 10.3.1 now. But i have an error on my web service(.asmx). When i do any kind of geometric process i get the following iis error.
"iis express worker process has stopped working". error occurs on exTopoEngine.dll
Even this very simple code as below throws this error on topologicOperator.Simplify(); if i skip simplfy, it throws the same iis error on IPolygon polygon = topologicalOperator.Buffer(1) as IPolygon;.
AoInitialize init = new AoInitialize();
if (init.IsProductCodeAvailable(esriLicenseProductCode.esriLicenseProductCodeArcServer) == esriLicenseStatus.esriLicenseAvailable)
throw new Exception("ESRI ArcGIS Server License is unavailable or has failed");
IPoint points = new IPoint;
for (int i = 0; i < points.Length; i++)
points[i] = new PointClass();
IPointCollection4 pointCollection = new PolygonClass();
IGeometryBridge geometryBride = new GeometryEnvironmentClass();
geometryBride.AddPoints(pointCollection, ref points);
IArea area = pointCollection as IArea;
ITopologicalOperator topologicalOperator = pointCollection as ITopologicalOperator;
IPolygon polygon = topologicalOperator.Buffer(1) as IPolygon;
area = polygon as IArea;