[mapserver-dev] Problem deploying C# mapscript on Windows 2008

Tamas Szekeres szekerest at gmail.com
Sun Oct 23 13:36:59 EDT 2011


Great to get it working!

Best regards,

Tamas



2011/10/23 GMail <itacasoft at gmail.com>

> Hi Tamas,****
>
> 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:****
>
> **-          **Tried a WIN32 mapserver application that uses the
> mapscript.dll à OK à depending unmanaged dlls are present****
>
> **-          **Tried a .NET mapscript application (drawmap.exe, include in
> the GDAL package), executing from the \bin directory à OK àmapscript_csharp.dll is OK, it must be an IIS configuration problem (as 90%
> of times)****
>
> **-          **Was lucky, among the hundreds of things to try, the 3rd 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!****
>
> ** **
>
> It is probably better to upload and try the 64 bit version though.****
>
> Bye****
>
> ** **
>
> Fabrizio ****
>
> ** **
>
> ** **
>
> ** **
>
> *Da:* Tamas Szekeres [mailto:szekerest at gmail.com]
> *Inviato:* domenica 23 ottobre 2011 11:11
> *A:* GMail
> *Cc:* mapserver-dev at lists.osgeo.org
> *Oggetto:* Re: [mapserver-dev] Problem deploying C# mapscript on Windows
> 2008****
>
> ** **
>
> Fabrizio,****
>
> ** **
>
> 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?****
>
> You may use the process monitoring tool (like
> http://technet.microsoft.com/en-us/sysinternals/bb896645) to make sure
> which dll could not be loaded at run time.****
>
> ** **
>
> Best regards,****
>
> ** **
>
> Tamas****
>
> ** **
>
> ** **
>
> 2011/10/23 GMail <itacasoft at gmail.com>****
>
> Hello, I'm having problems installing my ASP.NET 3.5 application on a
> Windows 2008 Server R2. The asp.net page complains it cannot load
> mapscript_csharp.dll, while in my development environment (7 Pro) it works
> smootly.
> These are the  steps I took:
> - published the web application and uploaded it on the server
> (mapscript_csharp.dll is installed on the \bin folder)
> - I used the release from release-1500-gdal-1-8-1-mapserver-6-0-1,
> installed
> on a directory that I included in the path.
> - installed VS2008 C++ redist;
>
> Nothing works. What can it be?
> Thanks,
>
> Fabrizio
>
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20111023/95cd7db2/attachment.html


More information about the mapserver-dev mailing list