More pre-apologies for the 101 type questions I&#39;m asking here. Thanks for the replies. You were all right, I just had to check all the dll dependencies and copy those into my bin folder (32 dlls in all). Now I am one inch further down the road. I can create the mapfile (text shown below), but how to I get from mapfile to hosted WMS? I will break down the question into the parts I can see so far (please add or subtract if I&#39;m off):<br>

<ol><li>Do I need to create the mapfile in a specific folder for MapServer to &#39;see&#39; it?</li><li>Are there any other configuration files that need to be created or edited for MapServer to expose my map via WMS?</li>

<li>Can the files in (2) be created/edited via MapScript?</li><li>What would be the base URL of the WMS once it&#39;s running?</li></ol>Thanks again for your patience in holding my hand for these baby steps!<br><br>Mapfile currently being created at R:\Temp\A091002122006.map:<br>

<br><b style="font-family: courier new,monospace;">MAP<br>  EXTENT -1 -1 -1 -1<br>  IMAGECOLOR 255 255 255<br>  IMAGETYPE gif<br>  SIZE -1 -1<br>  STATUS ON<br>  UNITS METERS<br>  NAME &quot;MS&quot;<br><br>  OUTPUTFORMAT<br>

    NAME &quot;gif&quot;<br>    MIMETYPE &quot;image/gif&quot;<br>    DRIVER &quot;GD/GIF&quot;<br>    EXTENSION &quot;gif&quot;<br>    IMAGEMODE &quot;PC256&quot;<br>    TRANSPARENT FALSE<br>  END<br><br>  LEGEND<br>    IMAGECOLOR 255 255 255<br>

    KEYSIZE 20 10<br>    KEYSPACING 5 5<br>    LABEL<br>      SIZE MEDIUM<br>      TYPE BITMAP<br>      BUFFER 0<br>      COLOR 0 0 0<br>      FORCE FALSE<br>      MINDISTANCE -1<br>      MINFEATURESIZE -1<br>      OFFSET 0 0<br>

      PARTIALS TRUE<br>    END<br>    POSITION LL<br>    STATUS OFF<br>  END<br><br>  QUERYMAP<br>    COLOR 255 255 0<br>    SIZE -1 -1<br>    STATUS OFF<br>    STYLE HILITE<br>  END<br><br>  SCALEBAR<br>    ALIGN CENTER<br>

    COLOR 0 0 0<br>    IMAGECOLOR 255 255 255<br>    INTERVALS 4<br>    LABEL<br>      SIZE MEDIUM<br>      TYPE BITMAP<br>      BUFFER 0<br>      COLOR 0 0 0<br>      FORCE FALSE<br>      MINDISTANCE -1<br>      MINFEATURESIZE -1<br>

      OFFSET 0 0<br>      PARTIALS TRUE<br>    END<br>    POSITION LL<br>    SIZE 200 3<br>    STATUS OFF<br>    STYLE 0<br>    UNITS MILES<br>  END<br><br>  WEB<br>    IMAGEPATH &quot;&quot;<br>    IMAGEURL &quot;&quot;<br>

    QUERYFORMAT text/html<br>    LEGENDFORMAT text/html<br>    BROWSEFORMAT text/html<br>  END<br><br>  LAYER<br>    DATA &quot;R:\Temp\A091002122006_output\A091002122006_PROCESS_RESULTS\AOI_1_S5_MIS_10m_20080706_EV30004214_Ortho_Basin_Indians_NIR.tif&quot;<br>

    NAME &quot;AOI_1_S5_MIS_10M_20080706_EV30004214_ORTHO_BASIN_INDIANS_NIR&quot;<br>    STATUS ON<br>    TYPE RASTER<br>    UNITS METERS<br>  END<br><br>  LAYER<br>    DATA &quot;R:\Temp\A091002122006_output\A091002122006_PROCESS_RESULTS\AOI_1_S5_MIS_10m_20080706_EV30004214_Ortho_Basin_Indians_RATIO.tif&quot;<br>

    NAME &quot;AOI_1_S5_MIS_10M_20080706_EV30004214_ORTHO_BASIN_INDIANS_RATIO&quot;<br>    STATUS ON<br>    TYPE RASTER<br>    UNITS METERS<br>  END<br><br>  LAYER<br>    DATA &quot;R:\Temp\A091002122006_output\A091002122006_PROCESS_RESULTS\AOI_1_S5_MIS_10m_20080706_EV30004214_Ortho_Basin_Indians_SWIR.tif&quot;<br>

    NAME &quot;AOI_1_S5_MIS_10M_20080706_EV30004214_ORTHO_BASIN_INDIANS_SWIR&quot;<br>    STATUS ON<br>    TYPE RASTER<br>    UNITS METERS<br>  END<br><br>  LAYER<br>    DATA &quot;R:\Temp\A091002122006_output\A091002122006_PROCESS_RESULTS\AOI_1_S5_MIS_10m_20080706_EV30004214_Ortho_Basin_Indians_Hot_Spots.tif&quot;<br>

    NAME &quot;AOI_1_S5_MIS_10M_20080706_EV30004214_ORTHO_BASIN_INDIANS_HOT_SPOTS&quot;<br>    STATUS ON<br>    TYPE RASTER<br>    UNITS METERS<br>  END<br><br>  LAYER<br>    DATA &quot;R:\Temp\A091002122006_output\A091002122006_PROCESS_RESULTS\AOI_1_S5_MIS_10m_20080706_EV30004214_Ortho_Basin_Indians_FIRE_HIGHLIGHT.tif&quot;<br>

    NAME &quot;AOI_1_S5_MIS_10M_20080706_EV30004214_ORTHO_BASIN_INDIANS_FIRE_HIGHLIGHT&quot;<br>    STATUS ON<br>    TYPE RASTER<br>    UNITS METERS<br>  END<br><br>END</b><br><br><br>
<br><br><br><div class="gmail_quote">
On Fri, Oct 2, 2009 at 10:12 AM, Tamas Szekeres <span dir="ltr">&lt;<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



2009/10/2 Daniel Walton &lt;<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>&gt;:<br>
<div>&gt; Hey guys,<br>
&gt;<br>
&gt; I&#39;m new to MS, and using the MS4W distribution. It was the only Windows<br>
&gt; binary dist. I found that had C# MapScript set up.<br>
<br>
</div>Daniel,<br>
<br>
That&#39;s not exactly the case, you could also use the binaries available<br>
at this location:<br>
<a href="http://vbkto.dyndns.org/sdk/" target="_blank">http://vbkto.dyndns.org/sdk/</a><br>
<br>
FWTools (<a href="http://fwtools.maptools.org/" target="_blank">http://fwtools.maptools.org/</a>) should also have the C#<br>
bindings included.<br>
<div><br>
<br>
Anyway, I get the<br>
&gt; following exception when I try to construct a mapObj:<br>
&gt;<br>
&gt; The type initializer for &#39;OSGeo.MapServer.mapscriptPINVOKE&#39; threw an<br>
&gt; exception.<br>
&gt;<br>
&gt; Anyone else out there seen this?<br>
&gt;<br>
&gt;<br>
&gt; I have referenced mapscript_csharp.dll compiled by the MS4W folks, and here<br>
&gt; is the properties pane in VS2008:<br>
&gt;<br>
<br>
</div>Yes, most of the users have ever seen that, which would normally mean<br>
that not all of the dll-s are available to load when your application<br>
is running.<br>
Make sure all of the required dependecies (like mapscript.dll,<br>
libmap.dll, gdal geos dll-s etc.) are available in your executing<br>
directory.<br>
You may also use a file monitoring tool (like Sysinternals filemon) to<br>
identify the expected location of the files at run-time.<br>
<br>
<br>
<br>
<br>
Best regards,<br>
<font color="#888888"><br>
Tamas<br>
</font></blockquote></div><br>