[mapguide-users] RE:[mapguide-users] FW: dotnetviewersample does not work!

Jose Ernesto Davila Pantoja josernestodavila at gmail.com
Thu Mar 16 17:53:04 EST 2006


Hi there

I tried to install MapGuide following the step you suggested but I got the
following error:

Error de servidor en la aplicación '/mapguide/dotnetviewersample'.
------------------------------

[DllNotFoundException: No se puede cargar el archivo DLL
'MapGuideUnmanagedApi': No se puede encontrar el módulo especificado.
(Excepción de HRESULT: 0x8007007E)]
   SWIGExceptionHelper.SWIGRegisterCustomExceptionCallbacks_MapGuideApi(SWIGCustomExceptionDelegate
customExceptionDelegate) +0
   SWIGExceptionHelper..cctor() +54

[TypeInitializationException: Se produjo una excepción en el
inicializador de tipo de 'SWIGExceptionHelper'.]
   SWIGExceptionHelper..ctor() +0
   MapGuideApiPINVOKE..cctor() +45

[TypeInitializationException: Se produjo una excepción en el
inicializador de tipo de 'MapGuideApiPINVOKE'.]
   MapGuideApiPINVOKE.InitializeSockets() +0
   MapGuideApi.InitializeSockets() +4
   ASP.ajaxviewersample_aspx.__Render__control1(HtmlTextWriter __w,
Control parameterContainer) +65
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,
ICollection children) +2065851
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
   System.Web.UI.Page.Render(HtmlTextWriter writer) +26
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +25
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter) +121
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22

I tried MapServer Enterprise before and got the same error, why do
this happend and how do I fix it????

Thanks a Lot

José Ernesto Dávila

   System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+1896

System.DllNotFoundException: No se puede cargar el archivo DLL
'MapGuideUnmanagedApi': No se puede encontrar el módulo especificado.
(Excepción de HRESULT: 0x8007007E)

Here is a Stacktrace output:




2006/3/15, Steven J Reed <sjreed at edcomputing.com>:
>
> After installing .Net 2005, assigning IIS to use it for MapGuide, and removing the \ from the end of the Local Path for MapGuide entry, it worked!
>
>
>
> Thanks for your help.
>
>
>
> PS:  The snow is great here!
>
>
>
> …Steve
>
>
>
> From: Andy Morsell <amorsell at spatialgis.com>
>
> Date: Fri, 10 Mar 2006 14:54:03 -0800
>
> Content-Type: multipart/alternative;
>
>       boundary="----=_NextPart_000_0041_01C64452.799AE840"
>
> Subject: [mapguide-users] FW: dotnetviewersample does not work!
>
>
>
> Steven,
>
> Did you see the InstallMapGuideSamples.pdf file on the osgeo web site?  A
>
> few things that might cause your problems:
>
>
>
> *
>
>
>
>       Are you using .NET 2.0?
>
> *
>
>
>
>       Did you create a bin folder and copy the MapGuideDotNetApi.dll and
>
> MapGuideUnmanagedApi.dll from the /mapviewernet/bin folder?
>
> *
>
>
>
>       Did you copy the webconfig.ini file from the /www folder to the
>
> /dotnetviewersample folder?
>
>
>
> You will also find that the sample app is in C# (my preference), rather than
>
> VB, but translation should not be hard.
>
>  You're in Stateline?  I went to college at Nevada - Reno and spent quite a
>
> bit of time in Stateline.  In fact, my wife was born there.  It's a
>
> fantastic area.  For those who haven't been, go see Lake Tahoe.......
>
>
>
> Andy Morsell, P.E.
>
> Spatial Integrators, Inc.
>
> http://www.SpatialGIS.com
>
>
>
>   _____
>
>
>
> From: Steven J Reed [mailto:sjreed at edcomputing.com]
>
> Sent: Friday, March 10, 2006 3:38 PM
>
> Subject: dotnetviewersample does not work!
>
>
>
>
>
> Robert,
>
>
>
>
>
> I have downloaded this file and unzipped it into it's own folder (C:\Program
>
> Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewerasmple).  When
>
> I attempt to execute it via
>
> http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx I
>
> get a Compilation Error telling me the OSGeo.MapGuide namespace could not be
>
> found.
>
>
>
>
>
> Am I missing something???
>
>
>
>
>
> When I downloaded this, I expected to see a complete VS.Net solution.  I
>
> also expected some kind of readme file telling me what I should be doing to
>
> actually run this.  Not seeing any of that, I used the 'Getting Started'
>
> framework as an example of what to do.
>
>
>
>
>
> I am embarking on a major MapGuide development and decided to go with the
>
> 'new' MapGuide instead of continuing with 6.5.  Since I'm planning on using
>
> VB.Net, I figured this example would be a good starting point.
>
>
>
>
>
> Thanks in advanced for your assistance.
>
>
>
>
>
> .Steve
>
>
>
>
>
> _____________________________
>
>
>
> Steven J. Reed
>
>
>
> El Dorado Computing
>
>
>
> P. O. Box 5745
>
>
>
> Stateline, NV   89449-5745
>
>
>
> (775) 589-6850   (916) 226-9065 Fax: (503) 218-7622
>
>
>
>
>
>
>
> _____________________________
>
> Steven J. Reed
>
> *El Dorado** Computing*
>
> P. O. Box 5745
>
> Stateline, NV   89449-5745
>
> (775) 589-6850   (916) 226-9065 Fax: (503) 218-7622
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060316/fe4b97e6/attachment.html


More information about the Mapguide-users mailing list