<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV>Copy the all the *.dll from
C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\bin
into you sample application's bin directory.</DIV>
<DIV>It should be OK!</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Hi Shane,</DIV>
<DIV> </DIV>
<DIV>All my directories under IIS with mapguide work with ASP.net 2.0.</DIV>
<DIV> </DIV>
<DIV>How add you a reference to the OSGEO.MapGuide assembly in my project ?</DIV>
<DIV>Create a directory bin with the dll in </DIV>
<DIV>C:\Program Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\bin ?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks for your response</DIV>
<DIV> </DIV>
<DIV>-----Message d'origine-----</DIV>
<DIV>De? mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] De la part de Buscher, Shane</DIV>
<DIV>Envoyé : vendredi 16 mars 2007 13:44</DIV>
<DIV>À : MapGuide Users Mail List</DIV>
<DIV>Objet? RE: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample</DIV>
<DIV> </DIV>
<DIV>Lionel,</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>Also, make sure you add a reference to the OSGEO.MapGuide assembly in your project. </DIV>
<DIV> </DIV>
<DIV>-shane </DIV>
<DIV> </DIV>
<DIV>-----Original Message-----</DIV>
<DIV>From: mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] On Behalf Of Lionel Goubet</DIV>
<DIV>Sent: Friday, March 16, 2007 6:02 AM</DIV>
<DIV>To: MapGuide Users Mail List</DIV>
<DIV>Subject: RE: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample</DIV>
<DIV> </DIV>
<DIV>Yes I use IIS</DIV>
<DIV>I use ASP.NET 2.0.50727 on a virtual directory 'mapguide'</DIV>
<DIV> </DIV>
<DIV>I don't understand ...</DIV>
<DIV> </DIV>
<DIV>Lionel</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-----Message d'origine-----</DIV>
<DIV>De? mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] De la part de Jackie Ng</DIV>
<DIV>Envoyé : vendredi 16 mars 2007 11:58</DIV>
<DIV>À : mapguide-users@lists.osgeo.org</DIV>
<DIV>Objet? Re: [mapguide-users] [MapguideOpenSource] Error dotnetviewersample</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Hi Lionel,</DIV>
<DIV> </DIV>
<DIV>Is dotnetviewersample an application in IIS?</DIV>
<DIV> </DIV>
<DIV>If so, it is set to use ASP.NET 2.0 and not 1.1?</DIV>
<DIV> </DIV>
<DIV>- Jackie </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Lionel Goubet wrote:</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> Hi,</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> I installed web server extensions with .net and I Installed</DIV>
<DIV>> dotnetviewersample under C:\Program</DIV>
<DIV>> Files\MapGuideOpenSource\WebServerExtensions\www</DIV>
<DIV>> </DIV>
<DIV>> but I have this error:</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> Erreur de compilation </DIV>
<DIV>> </DIV>
<DIV>> Description : Une erreur s'est produite lors de la compilation d'une</DIV>
<DIV>> ressource requise pour répondre ?cette demande. Veuillez consulter</DIV>
<DIV>> ci-dessous les détails relatifs ?l'erreur en question, puis modifier</DIV>
<DIV>> votre code source de manière appropriée. </DIV>
<DIV>> </DIV>
<DIV>> Message d'erreur du compilateur: CS0246: Le type ou le nom d'espace de</DIV>
<DIV>> noms 'OSGeo' est introuvable (une directive using ou une référence</DIV>
<DIV>> d'assembly est-elle manquante ?)</DIV>
<DIV>> </DIV>
<DIV>> Erreur source:</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> Ligne 17 :
<%@ Import Namespace="System.Collections" % ></DIV>
<DIV>> </DIV>
<DIV>> Ligne 18 :
<%@ Import Namespace="System.IO" % ></DIV>
<DIV>> </DIV>
<DIV>> Ligne 19 :
<%@ Import Namespace="OSGeo.MapGuide" % ></DIV>
<DIV>> </DIV>
<DIV>> Ligne 20 :
<script language="c#" runat="server" ></DIV>
<DIV>> </DIV>
<DIV>> Ligne 21 : </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> Fichier source: c:\Program Files\Map</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> WGuideOpenSource\WebServerExtensions\www\dotnetviewersample\utilityfunctions.aspx </DIV>
<DIV>> Ligne: 19</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> What's this error ?</DIV>
<DIV>> </DIV>
<DIV>> I add the bin directory but the problem persist</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> Thanks .</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> _______________________________________________</DIV>
<DIV>> mapguide-users mailing list</DIV>
<DIV>> mapguide-users@lists.osgeo.org</DIV>
<DIV>> <A
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A></DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV> </DIV>
<DIV>-- </DIV>
<DIV>View this message in context: <A
href="http://www.nabble.com/-MapguideOpenSource--Error-dotnetviewersample-tf3413674s16610.html#a9512345">http://www.nabble.com/-MapguideOpenSource--Error-dotnetviewersample-tf3413674s16610.html#a9512345</A></DIV>
<DIV>Sent from the MapGuide Users mailing list archive at Nabble.com.</DIV>
<DIV> </DIV>
<DIV>_______________________________________________</DIV>
<DIV>mapguide-users mailing list</DIV>
<DIV>mapguide-users@lists.osgeo.org</DIV>
<DIV><A
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A></DIV>
<DIV>_______________________________________________</DIV>
<DIV>mapguide-users mailing list</DIV>
<DIV>mapguide-users@lists.osgeo.org</DIV>
<DIV><A
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A></DIV>
<DIV>_______________________________________________</DIV>
<DIV>mapguide-users mailing list</DIV>
<DIV>mapguide-users@lists.osgeo.org</DIV>
<DIV><A
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A></DIV></BODY></HTML>