Great to get it working!<div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br><br><div class="gmail_quote">2011/10/23 GMail <span dir="ltr">&lt;<a href="mailto:itacasoft@gmail.com">itacasoft@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="IT" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Hi Tamas,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">many thanks for your help, you are always very kind. Anyway, it turned out to be an IIS configuration issue. Fortunately, I managed to resolve it quite quickly. For everyone having the same problem, here are the steps I followed:<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">          </span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Tried a WIN32 mapserver application that uses the mapscript.dll </span><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">à</span><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> OK </span><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">à</span><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> depending unmanaged dlls are present<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">          </span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Tried a .NET mapscript application (drawmap.exe, include in the GDAL package), executing from the \bin directory </span><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">à</span><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> OK </span><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">à</span><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"> mapscript_csharp.dll is OK, it must be an IIS configuration problem (as 90% of times)<u></u><u></u></span></p>
<p><u></u><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">          </span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Was lucky, among the hundreds of things to try, the 3<sup>rd</sup> was to check is the server was a 32bit or a 64bit: it was a 64 bit. So, I just went to IIS Manager – Application Pools, selected my application pool, Advanced Settings, set “Enable 32bit applications” to TRUE, and go!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">It is probably better to upload and try the 64 bit version though.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Bye<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt;color:#1F497D">Fabrizio <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">Da:</span></b><span lang="EN-US" style="font-size:10.0pt"> Tamas Szekeres [mailto:<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>] <br>
<b>Inviato:</b> domenica 23 ottobre 2011 11:11<br><b>A:</b> GMail<br><b>Cc:</b> <a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br><b>Oggetto:</b> Re: [mapserver-dev] Problem deploying C# mapscript on Windows 2008<u></u><u></u></span></p>
</div><div><div></div><div class="h5"><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">Fabrizio,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
Did you install all the dependent dll-s, like mapscript.dll, libmap.dll etc into the /bin directory or such folder which is available in the PATH environment?<u></u><u></u></p></div><div><p class="MsoNormal">You may use the process monitoring tool (like <a href="http://technet.microsoft.com/en-us/sysinternals/bb896645" target="_blank">http://technet.microsoft.com/en-us/sysinternals/bb896645</a>) to make sure which dll could not be loaded at run time.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Best regards,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Tamas<u></u><u></u></p></div>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">2011/10/23 GMail &lt;<a href="mailto:itacasoft@gmail.com" target="_blank">itacasoft@gmail.com</a>&gt;<u></u><u></u></p>
<p class="MsoNormal">Hello, I&#39;m having problems installing my <a href="http://ASP.NET" target="_blank">ASP.NET</a> 3.5 application on a<br>Windows 2008 Server R2. The <a href="http://asp.net" target="_blank">asp.net</a> page complains it cannot load<br>
mapscript_csharp.dll, while in my development environment (7 Pro) it works<br>smootly.<br>These are the  steps I took:<br>- published the web application and uploaded it on the server<br>(mapscript_csharp.dll is installed on the \bin folder)<br>
- I used the release from release-1500-gdal-1-8-1-mapserver-6-0-1, installed<br>on a directory that I included in the path.<br>- installed VS2008 C++ redist;<br><br>Nothing works. What can it be?<br>Thanks,<br><br>Fabrizio<br>
<br><br><br>_______________________________________________<br>mapserver-dev mailing list<br><a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote></div><br></div>