[mapserver-users] MapServer and .NET?

Nelson Soto nellyfromma at gmail.com
Mon Aug 25 12:09:15 PDT 2008


I figured out my problem... the examples seem to not include all necessary
files and eventually i just became engulfed in dll hell. storm the bin
folder with the most up to date dll's seems to suffice, no matter how ugly
it is. Thanks for the help guys.

On Mon, Aug 25, 2008 at 2:19 PM, Nelson Soto <nellyfromma at gmail.com> wrote:

> If I am missing Sun's Java, will this cause this... the only evident
> dependency I can see missing is MSJAVA.dll and I'd rather not locate an old
> MSJAVA.
>
>
> On Mon, Aug 25, 2008 at 12:35 PM, Nelson Soto <nellyfromma at gmail.com>wrote:
>
>>  I didn't realize you may have been asking for the VB.NET<http://vb.net/>application project example that I have. This file contains a project that
>> looks to me as though it would compile into a program but I receive the same
>> errors regardless of the type of project. Here you go:
>>
>>
>>
>> On Mon, Aug 25, 2008 at 12:28 PM, Nelson Soto <nellyfromma at gmail.com>wrote:
>>
>>>  When running ProcMon directly on the server as opposed to on the
>>> development machine, I am noticing it is looking in the wrong places for
>>> some files... I am pretty sure my PATH is set correctly though...
>>>
>>> Here is the original file I downloaded. This file contains, I assume, all
>>> the files necessary to run in its bin folder and ideally this type of setup
>>> would work for me to.
>>>
>>> I am starting fresh against with the same file I am sending you for the
>>> sake of making things less complicated.
>>>
>>> Edit: I tried to email the zip but it insists there is an executable and
>>> blocks the ability for me to send it to you. If you don't mind, I may have
>>> to send it to you from my work e-mail account: nsoto at plotplans.com. I
>>> have renamed the file but it is a zip.
>>>   On Mon, Aug 25, 2008 at 12:09 PM, Tamas Szekeres <szekerest at gmail.com>wrote:
>>>
>>>> If you send me your vb.net example then I could do a test with it.
>>>>
>>>> Best regards,
>>>>
>>>> Tamas
>>>>
>>>>
>>>>
>>>> 2008/8/25 Nelson Soto <nellyfromma at gmail.com>:
>>>> > I am using the ProcMon but unfortunately when I run up to the
>>>> exception, I
>>>> > receive nothing useful at all... nothing that clearly point to any
>>>> files not
>>>> > being loaded correctly. I am filtering for WebDev.WebServer.EXE
>>>> because this
>>>> > seems to be the local ASP.NET <http://asp.net/> process that runs
>>>> when I run the page. Also, I
>>>> > tried running ProcMon against a compiled vb.net application and
>>>> likewise am
>>>> > not seeing and inidcation of what can be wrong... Should the Resul I
>>>> am
>>>> > looking for be 'NAME NOT FOUND'.
>>>> >
>>>> > I appreciate the help by the way and realize this is up to me to
>>>> figure out.
>>>> > Thanks for your time.
>>>> >
>>>> > On Mon, Aug 25, 2008 at 11:16 AM, Tamas Szekeres <szekerest at gmail.com
>>>> >
>>>> > wrote:
>>>> >>
>>>> >> 2008/8/25 Nelson Soto <nellyfromma at gmail.com>:
>>>> >> > Tamas, I may very well be using your Mapserver vbproject as one of
>>>> my
>>>> >> > references... at least, the Folder is labelled
>>>> MapserverTestVB_Tamas...
>>>> >> > anyways,
>>>> >> >
>>>> >> > I've just read the supplied link and after compiling the vb project
>>>> into
>>>> >> > an
>>>> >> > exe it crashes with the same error. The way I read the information,
>>>> this
>>>> >> > leads me to believe it isn't necessarily a rights issue.
>>>> >> > Also, I would beleive the demo project would have been configured
>>>> >> > correctly
>>>> >> > if others are using it as an example. I have just downloaded
>>>> dependancy
>>>> >> > walker but I'm sort of new to it. I opened the MapserverTestVB.exe
>>>> >> > program
>>>> >> > from dependancy walker.
>>>> >> >
>>>> >> > It opens up shlwapi.dll and ieframe.dll's with hour glasses and the
>>>> >> > error
>>>> >> > below says:
>>>> >> >
>>>> >>
>>>> >> You should start by examining the unmanaged dlls, 'mapscript.dll'
>>>> >> would be a good candidate to choose. Since you've already copied all
>>>> >> of the dll-s into the same folder you should see all of the
>>>> >> dependencies available.
>>>> >>
>>>> >>
>>>> >> >
>>>> >> > Warning: At least one module has an unresolved import due to a
>>>> missing
>>>> >> > export function in a delay-load dependent module.
>>>> >> >
>>>> >> > It's worth noting that whether I run a c#, vb.net, or asp.netproject
>>>> >> > example, I receive the same exception in Visual Studio:
>>>> >> >
>>>> >> >  {"Unable to load DLL 'mapscript': The specified module could not
>>>> be
>>>> >> > found. (Exception from HRESULT: 0x8007007E)"}
>>>> >> >
>>>> >>
>>>> >>
>>>> >> You should inspect the execution by using the SysInternals FileMon or
>>>> >> ProcMon can be downloaded from here:
>>>> >> http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
>>>> >>
>>>> >> By setting up and exclude filter by excluding all of the processes
>>>> >> (except for yours) in the debug output would help to reduce the
>>>> amount
>>>> >> of rows appearing in the list. (For the ASP.NET <http://asp.net/>applications your app
>>>> >> is probably running under the context of the aspnet_wp.exe or
>>>> w3wp.exe
>>>> >> depending on your platform.) Then make sure about which dll-s
>>>> couldn't
>>>> >> be loaded at run-time.
>>>> >>
>>>> >>
>>>> >>
>>>> >> Best regards,
>>>> >>
>>>> >> Tamas
>>>> >
>>>> >
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080825/028abde1/attachment.htm>


More information about the MapServer-users mailing list