<div>Hi All</div>
<div>&nbsp;</div>
<div>I've got an issue with ArcSde and MapServer running in a windows environment.&nbsp;I've copied the arcsde 9.1 libmap.dll and ogr_sde.dll into the MS directory.</div>
<div>&nbsp;</div>
<div>&nbsp;I have an ArcSDE 9.1 media pack client library installed on the mapserver box and a remote server with ArcSde 8.3.&nbsp; I can connect - as when I have invalid credentials I get valid errors return from MS -&nbsp;and I can find the sde layers - if I have the wrong TYPE for the layer then I get an error message from MS - all correct.
</div>
<div>&nbsp;</div>
<div>The issue arises that when I have the correct connection string and the correct layer name I get an application error dialog box appearing with a memory read error.&nbsp; I can't seem to get any debug messages via the ms.log
 and also the mapserv -v via the command prompt says I have input type SDE.</div>
<div>&nbsp;</div>
<div>I'm sure it will be a little tweak but am starting to lose it a bit - also I am on a client site so can't debug etc through the night.</div>
<div>&nbsp;</div>
<div>&nbsp;LAYER<br>&nbsp;&nbsp;NAME Landline <br>&nbsp;&nbsp;TYPE POLYGON<br>&nbsp;&nbsp;STATUS default<br>&nbsp;&nbsp;CONNECTION &quot;<a href="http://192.168.62.27">192.168.62.27</a>,port:5156,UNI7,sde,sde&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;CONNECTIONTYPE SDE<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;DATA &quot;UNISDELIVE.UFRM_BCPLOT_POLY
,SHAPE,SDE.DEFAULT&quot;<br>&nbsp;&nbsp;CLASS<br>&nbsp;&nbsp;END<br>&nbsp;END</div>
<div>&nbsp;</div>
<div>Has anyone come across this before?&nbsp; </div>
<div>&nbsp;</div>
<div>Thanks in advance</div>
<div>Mike</div>