[mapguide-users] [MapguideOpenSource] Error dotnetviewersample

champingfor champingfor at 163.com
Fri Mar 16 09:01:09 EDT 2007


Copy the all the *.dll from C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\bin  into you sample application's bin directory.
It should be OK!



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070316/30601eea/attachment-0001.html


More information about the mapguide-users mailing list