CSharp Mapscript in WebForm (ASP.NET 2.0)

David Lowther dlowther at COORDINATESOLUTIONS.COM
Mon Jul 31 20:15:21 PDT 2006


Sorry to post before fully reviewing archive.

 

It seems there has been some discussion of this issue. Suggestions included
placing all DLLs in the bin directory of application, in windows/system32 -
I've tried all of this and still get the same error.

 

If I modify the reference to mapscript_csharp.dll the first time I run the
application I get an error from the MS VC++ Runtime Library that says "R6034
An application has made an attempt to load the C runtime library
incorrectly."

 

Even if I do get it working it appears that I am fighting an uphill battle
against the thread safety issues. I've reviewed Sean's write up of this
(http://ms.gis.umn.edu/docs/faq/thread_safety) situation and had a few
questions.

 

-          What exactly does unsafe, but locked mean vs. unsafe?

-          Map config file loading - is this opening a Mapfile from disk? If
so, would building the Mapfile dynamically remove the issue?

-          WMS/WFS - is it fixable? What is the level of effort (hours /
$$$)?

 

Thanks in advance for your assistance.

 

David Lowther

  _____  

From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of David Lowther
Sent: Monday, July 31, 2006 8:03 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] CSharp Mapscript in WebForm (ASP.NET 2.0)

 

Hi List, 

 

Has anyone successfully used CSharp Mapscript in a ASP.NET 2.0 Webform?
I've gotten things working in Winforms (with a bit of help from Tamas -
thanks!) but can't seem to make Webform work. I suspect that the issue is
related to the fact that I cannot set a reference to the VC.manifest file. 

 

I get an error (can't load mapscript.dll) when I try to instantiate a
mapObj.

 

Thank for any help, if I can provide more detail or a sample app please let
me know.

 

David Lowther 

 

Coordinate Solutions, Inc.

501 N.E. 15th Street

Oklahoma City, OK 73104

405.246.9396 (Voice)

405.227.0781 (Fax)

www.coordinatesolutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060731/729a7061/attachment.htm>


More information about the MapServer-users mailing list