<div>So you added the new line to:</div><div> </div><div>       try<br>        {<br>            MgMap map = new MgMap();<br>    </div><div> <font color="#ff0000">map.Create(resourceService, newMap, &quot;MAPNAME&quot;);<br>

</font>      </div><div>            map.Open(resourceService, mapName);<br>Is that correct?  Or was it somewhere else in the code?</div><div> </div><div>Jonathon<br></div><div class="gmail_quote">On Tue, Dec 20, 2011 at 11:04 AM, SteveS <span dir="ltr">&lt;<a href="mailto:steve.calpoly@gmail.com">steve.calpoly@gmail.com</a>&gt;</span> wrote:<br>

<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">all I needed was an additional line to create the map, where newMap pointed<br>


to the resource identifier for that map.<br>
<br>
map.Create(resourceService, newMap, &quot;MAPNAME&quot;);<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Creating-batch-process-to-produce-DWF-s-code-bombing-out-tp7102657p7112948.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Creating-batch-process-to-produce-DWF-s-code-bombing-out-tp7102657p7112948.html</a><br>


</font></span><div class="HOEnZb"><div class="h5">Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br>