[mapguide-users] [MapguideOpenSource] Error dotnetviewersample

Lionel Goubet lgoubet at GEOMAPGIS.com
Fri Mar 16 09:46:43 EDT 2007


Yes, It work .
I have created a virtual directory dotnetviewersample with ASP.net 2.0 in IIS

But I have this message: 

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


Is it normal ?

Thanks

-----Message d'origine-----
De : mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] De la part de Lionel Goubet
Envoyé : vendredi 16 mars 2007 14:12
À : MapGuide Users Mail List
Objet : RE: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample

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épondre à cette demande. Veuillez consulter
> ci-dessous les détails relatifs à l'erreur en question, puis modifier
> votre code source de manière appropriée. 
> 
> Message d'erreur du compilateur: CS0246: Le type ou le nom d'espace de
> noms 'OSGeo' est introuvable (une directive using ou une référence
> 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


More information about the mapguide-users mailing list