[Mono-list] COM Refference Error

Mohammad Abul Khayer akhayer at cegisbd.com
Sun Dec 24 02:09:53 EST 2006


hi there,
i am developping a project with ASP.NET and C#. i get problem when i host
the project in XSP2. I used a Activex COM Component(MapWinGis.ocx) in my
project which i used refferencing by a class module. My project Run well in
IIS but got following Error in XSP2..


Server Error in '/' Application
Compilation Error
Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Error message:
/usr/lib/xsp/test/com/Default.aspx.cs(13,5) : error CS0246: The type or
namespace name `clsLibSICT' could not be found. Are you missing a using
directive or an assembly reference?

File name: /usr/lib/xsp/test/com/Default.aspx

Source File: /usr/lib/xsp/test/com/Default.aspx.cs

Line 1:
// ------------------------------------------------------------------------ 
------
Line 2: //  <autogenerated>
Line 3: // This code was generated by a tool.
Line 4: // Mono Runtime Version: 2.0.50727.42
Line 5: //
Line 6: // Changes to this file may cause incorrect behavior and will be
lost if
Line 7: // the code is regenerated.
Line 8: //  </autogenerated>
Line 9:
// ------------------------------------------------------------------------ 
------
Line 10:
Line 11: using System;
Line 12: using System.Collections;
Line 13: using System.Collections.Specialized;


I test my XSP2 and it can run all sample program in test folder..
What is my fault??
Is Mono Support COM ??

i install all the latest stable version of Mono in Linux Enterprise Edittion
4.


Mohammad Abul Khayer
Programmer
Center for Environmental and Geographic Information Services (CEGIS)
www.cegisbd.com



More information about the Mono-list mailing list