Unable to call COM dll's from application in ASP .NET 2.0 on IIS 6.0

A

adnaan.khalid

Hi,
I have an web site application developed in ASP .NET 2.0. This
application consumes a COM dll (which needs to be registered in the
server- regsvr32 utility) for a functionality. The whole setup works
fine in the test system running Windows 2000 and IIS 5.0 with .NET
Framework 2.0 (Obvious enuf!!! )

Although the whole setup fails in the production system which is
running Windows 2003 server with IIS 6.0.

On the ASPX page where the COM dll methods are invoked, this is the
error i get thru log4Net:

ERROR/31 Aug 2006 12:12:02,578/LaBu/PagePrint/0:The server threw an
exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
ERROR/31 Aug 2006
12:12:02,593/CalliHelper/EventArgFunctionCaller/0:BusinessException:
at PDF_Image_RCW.HelloClass.Create2dImage(String str, String filename1,
String filename2)
at MyComp.MS.DataAccessLayer.LaDa.PrintPage(Customer oneMore)
StackTrace: at MyComp.MS.DataAccessLayer.LaDa.PrintPage(Customer
oneMore)
at MyComp.MS.BusinessLayer.LaBu.PrintPage(Customer oneMore)
at PagePrint.Page_Load(Object sender, EventArgs e) in
c:\Inetpub\wwwroot\MSWeb\PagePrint.aspx.cs:line 48

It seems like IIS 6.0 isnt allowing the call to the COM dll complete.
Any comments wud be of great help,
& any help would be highly appreciated ! :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top