473,387 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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.

Jul 21 '05 #1
6 6990

"Hema S" <Hema S@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
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.
Jul 21 '05 #2
On Tue, 3 May 2005 23:31:05 -0700, Hema S <Hema S@discussions.microsoft.com> wrote:

¤ 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)
Jul 21 '05 #3
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.
"Hema S" wrote:
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.

Jul 21 '05 #4
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.
"Hema S" wrote:
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.

Jul 21 '05 #5
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.

"Willy Denoyette [MVP]" wrote:

"Hema S" <Hema S@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
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.

Jul 21 '05 #6
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.

"Willy Denoyette [MVP]" wrote:

"Hema S" <Hema S@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
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.

Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Otie | last post by:
I found the following under the GetObject help notes and in the example for GetObject: "This example uses the GetObject function to get a reference to a specific Microsoft Excel worksheet...
17
by: Ange T | last post by:
Hi there, I'm having pain with the VB behind an Access form. The form is used to create reports in Excel based on the details entered in the form. This has always worked without error on my...
0
by: chrisben | last post by:
Hi, Developing Env: .NET Studio in C#, windows 2000 target: a COM object used for excel user (RTD) I have no problem to compile and run the project in my machine. The excel is working great...
9
by: hari krishna | last post by:
hi, I want to send the data from dataset information to Excel through ASP.Net. there will be no XL installed on web server. web server is win 2000 server machine. I am using visual basic code in...
2
by: Praveen K | last post by:
I have a problem in communicating between the C# and the Excel Interop objects. The problem is something as described below. I use Microsoft Office-XP PIA dll’s as these dll’s were been...
4
by: Hema S | last post by:
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...
4
by: mina | last post by:
One of my client want to export data into excel file but he can not installed office just installed excel and want to export file into ..xls format at that time he got error .... Retrieving the...
2
by: Senthil | last post by:
Hi All I need to create an Excel report and create a command button and have to run a macro on the click event that will print all the pages in the Excel workbook. I am able to create the report...
0
by: Bill Fallon | last post by:
I am developing a VB.Net application with VS 2005 that opens an Excel workbook and populates the worksheet with data. I started developing the application with Office 2007 installed on my Vista...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.