473,465 Members | 1,419 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 6996

"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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.