[mapguide-users] [MapguideOpenSource] Error dotnetviewersample

Lionel Goubet lgoubet at GEOMAPGIS.com
Fri Mar 16 09:53:47 EDT 2007


Now I have this message with the user Administrator/admin in a dialog connection :

 

An unclassified exception occurred.
An unclassified exception occurred. Exception occurred in method new_MgResourceIdentifier at line 681 in file .\MgApi_wrap.cpp

 

I

 

 

 

De : mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] De la part de champingfor
Envoyé : vendredi 16 mars 2007 14:48
À : MapGuide Users Mail List
Objet : Re: RE: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample

 

Copy the webconfig.ini from C:\Program Files\MapGuideOpenSource\WebServerExtensions\www to you application directory.

 

 

Hi,

 

I have copied all the dll of 

C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\mapviewernet\bin

in the directory

C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\bin

 

The dll are:

ACE.dll

MapGuideDotNetApi.dll

MapGuideUnmanagedApi.dll

MgCoordinateSystem.dll

MgFoundation.dll

MgGeometry.dll

MgHttpHandler.dll

MgMapGuideCommon.dll

MgMdfModel.dll

MgMdfParser.dll

MgPlatformBase.dll

MgWebApp.dll

proj.dll

xerces-c_2_7.dll

 

I launch the page : http://localhost/mapguide/dotnetviewersample/ajaxviewersample.aspx

 

It doesn't work, it don't find OSGeo.MapGuide

 

 

Help ....

 

 

 

 

-----Message d'origine-----

De? mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] De la part de Walt Welton-Lair

Envoy闋: vendredi 16 mars 2007 14:01

罓: MapGuide Users Mail List

Objet? RE: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample

 

Yes, you need to make sure you have a copy of the DLLs in ...\www\dotnetviewersample\bin.  Same as what's in ...\www\mapviewernet\bin.

 

Walt

 

-----Original Message-----

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Lionel Goubet

Sent: Friday, March 16, 2007 1:57 PM

To: MapGuide Users Mail List

Subject: RE: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample

 

Hi Shane,

 

All my directories under IIS with mapguide work with ASP.net 2.0.

 

How add you a reference to the OSGEO.MapGuide assembly in my project ?

Create a directory bin with the dll in 

C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\bin ?

 

 

Thanks for your response

 

-----Message d'origine-----

De? mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] De la part de Buscher, Shane

Envoy闋: vendredi 16 mars 2007 13:44

罓: MapGuide Users Mail List

Objet? RE: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample

 

Lionel,

 

Check your IIS settings to make sure all of your virtual directories dealing with mapguide are set to aspnet 2.0 by going to properties-- >ASP.NET.

 

Also, make sure you add a reference to the OSGEO.MapGuide assembly in your project.  

 

-shane 

 

-----Original Message-----

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Lionel Goubet

Sent: Friday, March 16, 2007 6:02 AM

To: MapGuide Users Mail List

Subject: RE: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample

 

Yes I use IIS

I use ASP.NET 2.0.50727 on a virtual directory 'mapguide'

 

I don't understand ...

 

Lionel

 

 

-----Message d'origine-----

De? mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] De la part de Jackie Ng

Envoy闋: vendredi 16 mars 2007 11:58

罓: mapguide-users at lists.osgeo.org

Objet? Re: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample

 

 

Hi Lionel,

 

Is dotnetviewersample an application in IIS?

 

If so, it is set to use ASP.NET 2.0 and not 1.1?

 

- Jackie 

 

 

Lionel Goubet wrote:

> 

>  

> 

> Hi,

> 

>  

> 

> I installed web server extensions with .net and I Installed

> dotnetviewersample under  C:\Program

> Files\MapGuideOpenSource\WebServerExtensions\www

> 

> but I have this error:

> 

>  

> 

> Erreur de compilation 

> 

> Description : Une erreur s'est produite lors de la compilation d'une

> ressource requise pour r閜ondre ?cette demande. Veuillez consulter

> ci-dessous les d閠ails relatifs ?l'erreur en question, puis modifier

> votre code source de mani鑢e appropri閑. 

> 

> Message d'erreur du compilateur: CS0246: Le type ou le nom d'espace de

> noms 'OSGeo' est introuvable (une directive using ou une r閒閞ence

> d'assembly est-elle manquante ?)

> 

> Erreur source:

> 

>  

>  

> 

> Ligne 17 :  <%@ Import Namespace="System.Collections" % >

> 

> Ligne 18 :  <%@ Import Namespace="System.IO" % >

> 

> Ligne 19 :  <%@ Import Namespace="OSGeo.MapGuide" % >

> 

> Ligne 20 :  <script language="c#" runat="server" >

> 

> Ligne 21 : 

> 

> 

> Fichier source: c:\Program Files\Map

> 

>  

> 

> WGuideOpenSource\WebServerExtensions\www\dotnetviewersample\utilityfunctions.aspx   

> Ligne: 19

> 

>  

> 

>  

> 

> What's this error ?

> 

> I add the bin directory but the problem persist

> 

>  

> 

> Thanks .

> 

>     

>   

> 

>     

>     

>  

> 

>     

>  

> 

>  

> 

>  

> 

>  

> 

>  

> 

>  

> 

>  

> 

> 

> _______________________________________________

> mapguide-users mailing list

> mapguide-users at lists.osgeo.org

> http://lists.osgeo.org/mailman/listinfo/mapguide-users

> 

> 

 

-- 

View this message in context: http://www.nabble.com/-MapguideOpenSource--Error-dotnetviewersample-tf3413674s16610.html#a9512345

Sent from the MapGuide Users mailing list archive at Nabble.com.

 

_______________________________________________

mapguide-users mailing list

mapguide-users at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________

mapguide-users mailing list

mapguide-users at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________

mapguide-users mailing list

mapguide-users at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapguide-users

 

_______________________________________________

mapguide-users mailing list

mapguide-users at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________

mapguide-users mailing list

mapguide-users at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/mapguide-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070316/9946862f/attachment-0001.html


More information about the mapguide-users mailing list