[mapguide-users] AW: Error - DWF Viewer Sample Application

annabelle fullrest at gmail.com
Tue Mar 28 16:34:37 EST 2006


Even though I checked the following suggestions, I didn't fix the compilation
error. How can I solve this problem? Please give me some advice. Thank you.

# Are you using .NET 2.0?
# Did you create a bin folder and copy the MapGuideDotNetApi.dll and
MapGuideUnmanagedApi.dll from the /mapviewernet/bin folder?
# Did you copy the webconfig.ini file from the /www folder to the
/dotnetviewersample folder? 

=============================================================
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 17: <%@ Import Namespace="System.Collections" %>
Line 18: <%@ Import Namespace="System.IO" %>
Line 19: <%@ Import Namespace="OSGeo.MapGuide" %>
Line 20: <script language="c#" runat="server">
Line 21: 


Source File: c:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\utilityfunctions.aspx   
Line: 19

--
View this message in context: http://www.nabble.com/AW%3A-Error---DWF-Viewer-Sample-Application-t1317823.html#a3638550
Sent from the OSGeo MapGuide forum at Nabble.com.





More information about the Mapguide_users mailing list