<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Good afternoon I’m trying to set up x64 MapServer on Windows 2012 server.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I’ve been partially successful in that the MapServer dll’s are all there but when I run my .map file through shp2img.exe<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The process is failing on a .map file that worked previously.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">This is what the map file looks like …<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">MAP<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> NAME USA1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> SYMBOLSET "e:\arcgisserver\basedata\symbols.txt"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> FONTSET "e:\arcgisserver\basedata\fonts.txt"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> STATUS ON<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> IMAGETYPE PNG8<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> RESOLUTION 72<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> IMAGECOLOR 255 255 255<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> SHAPEPATH "e:\arcgisserver\basedata"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> UNITS METERS<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> PROJECTION "proj=lcc" "lat_1=20" "lat_2=60" "lat_0=40" "lon_0=-112.52116185" "x_0=0" "y_0=0" "ellps=GRS80" "units=m" "datum=NAD83" END<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> SIZE 1500 1500<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> EXTENT -45292.7219576058 780481.616003812 45290.5126012127 871065.05991903<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> LAYER<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> STATUS DEFAULT <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CONNECTIONTYPE PLUGIN CONNECTION "server=Left Blank on purpose, I’ve tested the connection with a .udl file on the server"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> PLUGIN "msplugin_mssql2008.dll"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> DATA "shape(geography) from FARMMAPS.GIS.STATE USING INDEX S7_idx USING UNIQUE OBJECTID USING SRID=4269"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> NAME "States"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> TYPE POLYGON<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> STATUS DEFAULT<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> PROJECTION "proj=longlat" "ellps=GRS80" "datum=NAD83" "no_defs" END<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> LABELITEM "state"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> CLASS<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> NAME "States"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> STYLE<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> SYMBOL 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> WIDTH 2 OUTLINECOLOR 255 0 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> END<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> LABEL TYPE truetype<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> FONT arial<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> PRIORITY 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> ALIGN center<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> SIZE 10<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> COLOR 255 0 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> OUTLINECOLOR 255 255 255<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> OUTLINEWIDTH 2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> MINDISTANCE 300<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> ANGLE AUTO<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> WRAP "~"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> END<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> END<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> END<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">END<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I have tested the SQL connection string with a .udl file on the server and it is working.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The out put of shp2img.exe looks like this…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">PS E:\rcis\web\MapServerDlls> ./shp2img.exe -m E:\RCIS\Web\MapServerDlls\MapServerTest\map4.map -o E:\RCIS\Web\MapServer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Dlls\MapServerTest\image1.png -all_debug 5<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">msLoadMap(): 0.000s<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">msDrawMap(): rendering using outputformat named png8 (AGG/PNG8).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">msDrawMap(): WMS/WFS set-up and query, 0.000s<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">msDrawMap(): Image handling error. Failed to draw layer named 'States'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">msDrawMap(): Image handling error. Failed to draw layer named 'States'. <br><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">msFreeMap(): freeing map at 00000067B88C2DE0.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Any help is greatly appreciated!!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thank you so much!!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-Bob<o:p></o:p></span></p>
</div>
</body>
</html>