See IKVM-generated DLLs from ASP

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown See IKVM-generated DLLs from ASP

by David Wallace-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I have been asked to do some work on a Classic ASP (not .NET) site.  I want to use FOP 0.95, and have been through the steps of using ikvmc to convert it to DLLs.  However, when I try to run regsvr32 on the DLLs, so that IIS can see them, I get the message about the DllRegisterServer entry point not being found.  

 

How can I make the IKVM-generated DLLs visible to the ASP pages?  Also, is it safe to ignore all the "class not found" warnings that ikvmc produces?

 

Thanks,
David Wallace.

 

 

 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers

Re: See IKVM-generated DLLs from ASP

by Jeroen Frijters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Wallace wrote:
> I have been asked to do some work on a Classic ASP (not .NET) site.  I
> want to use FOP 0.95, and have been through the steps of using ikvmc to
> convert it to DLLs.  However, when I try to run regsvr32 on the DLLs,
> so that IIS can see them, I get the message about the DllRegisterServer
> entry point not being found.
>
> How can I make the IKVM-generated DLLs visible to the ASP pages?

This is not really an IKVM question. You cannot use regsvr32 with a .NET assembly, it only works for native COM libraries. There are ways to use .NET components via interop COM from classic ASP, but that's really outside the scope of this list.
 
> Also, is it safe to ignore all the "class not found" warnings that ikvmc
> produces?

That depends. They simply mean that the code you are compiling references some other code that you are not compiling and have not referenced. If that code is only used by codepaths that aren't used, then everything is fine, if they are used, you'll get a NoClassDefFoundError at runtime.

Regards,
Jeroen


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ikvm-developers mailing list
Ikvm-developers@...
https://lists.sourceforge.net/lists/listinfo/ikvm-developers