I am trying to create an excel file with 3 work sheets. I get the data from an ASP File and pass it on to my vb dll which has a function to receive these arguments.

When I try to execute the codefrom Win NT Server(IIS),

Set ExcelApp = CreateObject("Excel.Application")
ExcelApp.Application.Visible = True
Set ExcelBook = ExcelApp.Workbooks.Add

I am getting following error.

VBScript Runtime Error: '800a01ad'
ActiveX component Can't create object

Can any one help please