Hey,
So, first off, this is a problem with ThinkGeo desktop, even though it involves IIS. We use ThinkGeo desktop to generate tiles for VE. We did this with 2.0 for quite some time with no problem, but we are running into an issue now.
Below is the Event Viewer error. From working with the new API, it seems that projections are quite touchy. The protected memory error, as far as I can tell, occurs when there is an error opening or closing the projection. Perhaps a more meaninful error message would be useful. Anyways, I open the projections, and close them as well. One other thing worth noting is that the Mapsuiteprojection.dll has a constant file lock on it. Even though it's being closed properly, it's like there is something deep in the code that prevents the file lock from being released.
Any ideas what could be causing this?
Over the course of 4 days, this happened twice:
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/201890078/Root/ws/tiles
Process ID: 5868
Exception: System.AccessViolationException
Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
StackTrace: at ThinkGeo.MapSuite.Core.Proj4Projection.pj_free(IntPtr projPJ)
at ThinkGeo.MapSuite.Core.Proj4Projection.CloseCore()
at ThinkGeo.MapSuite.Core.Proj4Projection.Finalize()
EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 mapsuitecore, P5 3.0.0.0, P6 3b, P7 e84, P8 2e, P9 system.accessviolationexception, P10 NIL.