[mapguide-users] [MapguideOpenSource] Error dotnetviewersample

Walt Welton-Lair walt.welton-lair at autodesk.com
Fri Mar 16 09:01:29 EDT 2007


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



More information about the mapguide-users mailing list