I checked. I have ASP 2.0 on all virtual folders and default authentication "Windows" I get this error also if I try to compile C# project including OSGeo namespace.
Error 2 The type or namespace name 'OSGeo' could not be found (are you missing a using directive or an assembly reference?) C:\mapguide\DOTNETVIEWERSAMPLE\UTILITYFUNCTIONS.ASPX 21 Jackie Ng wrote: > > Are the "mapviewernet" and "mapviewerajax" virtual directories set as > applications and using ASP.net 2.0? > > - Jackie > > > ales6 wrote: >> >> Having problem with MGOS OSGeo libraray. >> >> - I have fresh & clean MapGuide installation v1.2 >> >> ERR: OSGeo could not be found. >> >> Server Error in '/mapguide' Application. >> Compilation Error >> Description: An error occurred during the compilation of a resource >> required to service this request. Please review the following specific >> error details and modify your source code appropriately. >> >> Compiler Error Message: CS0246: The type or namespace name 'OSGeo' could >> not be found (are you missing a using directive or an assembly >> reference?) >> >> Source Error: >> >> Line 21: < %@ Import Namespace="System.Text" % > >> Line 22: < %@ Import Namespace="System.Globalization" % > >> Line 23: < %@ Import Namespace="OSGeo.MapGuide" % > >> Line 24: >> Line 25: < script runat="server" > >> >> ..can anyone help me solve this problem !? >> >> thx >> > > -- View this message in context: http://www.nabble.com/OSGeo-could-not-be-found.-ERROR-tf4547999s16610.html#a12994129 Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
