[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-dev
Subject:    [mapserver-dev] mapscript c# Memory access AccessViolationException
From:       sabu varghese <sabuvk () gmail ! com>
Date:       2015-07-25 15:06:31
Message-ID: CAJS08Kh11erbUxuk_M0vapCL7=VAnmkuDvVnuuXtrfxUpf36Cg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
    we have been using Mapserver ( mapsciptc#)  for creating dynamic maps
in our asp.net website for the last 5 years.we have used the 32 bit windows
server 2008 and .net framework 2.0 ,  it was working fine without any issue
. But recently we have changed our server to 64 bit machine (*Windows
Server 2008 , 64 bit*) and the website now running in .*net 4.0 version*,except
mapserver everything is  working. I am getting the error as follows when
trying to load map,


"Attempted to read or write protected memory. This is often an indication
that other memory is corrupt.

AccessViolationException: Attempted to read or write protected memory. This
is often an indication that other memory is corrupt.]
   OSGeo.MapServer.mapscriptPINVOKE.mapObj_drawQuery(HandleRef jarg1) +0
   OSGeo.MapServer.mapObj.drawQuery() +17
   Utility.RefreshImage(ImageButton imgMap)....."

I have updated mapscript C# files to the latest version available in the
site (MS4W 3.0.6) , and copied other dll files available in 'cgi-bin' to
website's Bin folder. Modified .map file and symbolset files to work with
the new version.

we are using mapinfo application to create maps and imported  as .TAB
files(also.ID,.DAT,.MAP)  and using in the mapserver  application
(CONNECTIONTYPE OGR).

Attached the .map file and symbolset file for your reference

Can anyone help me to solve this issue.

Thanking you ,
Sam

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div>      we have been using Mapserver ( mapsciptc#)   for \
creating dynamic maps in our <a href="http://asp.net" target="_blank">asp.net</a> \
website for the last 5 years.we have used the 32 bit windows server 2008 and .net \
framework 2.0 ,   it was working fine without any issue . But recently we have \
changed our server to 64 bit machine (<span \
style="font-family:verdana,geneva;font-size:10pt"><u>Windows Server 2008 , 64 \
bit</u>)  </span>and the website now running in .<u>net 4.0 version</u>,except \
mapserver everything is   working. I am getting the error as follows when trying to \
load map,</div><div><br></div><div><div><br></div><div>&quot;Attempted to read or \
write protected memory. This is often an indication that other memory is \
corrupt.</div></div><div><br></div><div><div>AccessViolationException: Attempted to \
read or write protected memory. This is often an indication that other memory is \
corrupt.]</div><div>     OSGeo.MapServer.mapscriptPINVOKE.mapObj_drawQuery(HandleRef \
jarg1) +0</div><div>     OSGeo.MapServer.mapObj.drawQuery() +17</div><div>     \
Utility.RefreshImage(ImageButton imgMap).....&quot;</div></div><div><br></div><div>I \
have updated mapscript C# files to the latest version available in the site (MS4W \
3.0.6) , and copied other dll files available in &#39;cgi-bin&#39; to website&#39;s \
Bin folder. Modified .map file and symbolset files to work with the new \
version.</div><div><br></div><div>we are using mapinfo application to create maps and \
imported   as .TAB files(also.ID,.DAT,.MAP)   and using in the mapserver   \
application (CONNECTIONTYPE OGR).</div><div><br></div><div>Attached the .map file and \
symbolset file for your reference</div><div><br></div><div>Can anyone help me to \
solve this issue.</div><div><br></div><div>Thanking you \
,</div><div>Sam</div><div><br></div><div><br></div><div>  </div></div>

--089e0158bece383a1d051bb47778--


["MapInfo_map_file.map" (application/octet-stream)]
["symbolsSet.sym" (application/octet-stream)]

_______________________________________________
mapserver-dev mailing list
mapserver-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic