How to register excel object in asp.net without installing excel

G

Guest

Hi,

I want to use excel object in my asp.net application.

When excel application is installed its working fine. When i uninstal the
excel application and refer the relevant dll explicitly... i am getting
excel9.olb class id not found. How to register this excel9.olb library.

Thanks in advance.
 
W

Willy Denoyette [MVP]

Hema S said:
Hi,

I want to use excel object in my asp.net application.

When excel application is installed its working fine. When i uninstal the
excel application and refer the relevant dll explicitly... i am getting
excel9.olb class id not found. How to register this excel9.olb library.

Thanks in advance.

And what do you think you can do with the dll but without Excel?
You can't use Excel if Excel is not installed, is this so difficult to
understand?


Willy.
 
P

Paul Clement

¤ Hi,
¤
¤ I want to use excel object in my asp.net application.
¤
¤ When excel application is installed its working fine. When i uninstal the
¤ excel application and refer the relevant dll explicitly... i am getting
¤ excel9.olb class id not found. How to register this excel9.olb library.

Excel must be installed if you are using automation.


Paul
~~~~
Microsoft MVP (Visual Basic)
 
G

Guest

Hi,

My requirement is like i need to find the no of sheets available and sheet
name from the excel file in a specified path and do import to sqlserver using
DTS.

For that i feel installing excel in my server is not required. Y can t we
use the Excel object also as a normal com object by registering the dll alone.

or is there any other method other than using excel object to find the no of
sheets and sheet name in excel file. please advice.
 
G

Guest

Hi,

My requirement is like i need to find the number of sheets available and
sheet
name from the excel file in a specified path and do import to sqlserver using
DTS.

For that i feel installing excel in my server is not required. Y can t i
use the Excel object also as a normal com object by registering the dll alone.

or is there any other method other than using excel object to find the
number of
sheets and sheet name in excel file. please advice.
 

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

Top