473,378 Members | 1,394 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,378 software developers and data experts.

Registering DLL on server

Hi,

How do i register a DLL(like OWC) on the server...will just running
regsvr32 work....any syntax issues...??

Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #1
13 3766
Run regsvr32.exe from the command line. Text (or a pop-up) will appear
instructing you what the command line arguments are for this utility which
is to be used for COM type DLLs only.
--
Peter O'Reilly
Nov 18 '05 #2

Hi,
I ran regsvr32 path\dllname on cmd n it gave me ddl succesfully
registered prompt, however i still get the error "CLSID is not valid or
not registered when i access the application and export to excel(which
is where i use OWC).I also tried placing the DLL in the bin
directory(not sure if this is a neccesity) and still the same.....is
there anything else i need to do, should i restart the server after
registering.....?...
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3

Hi,
I ran regsvr32 path\dllname on cmd n it gave me ddl succesfully
registered prompt, however i still get the error "CLSID is not valid or
not registered when i access the application and export to excel(which
is where i use OWC).I also tried placing the DLL in the bin
directory(not sure if this is a neccesity) and still the same.....is
there anything else i need to do, should i restart the server after
registering.....?...
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #4
What is OWC? OWC.DLL? As in Microsoft Office Web Components? If so, those
components are already registered when you install Microsoft Office. There
should be no need for you to register them (again).

Moving the DLL to the bin directory after it's been registered is a problem
to. If not moving after, then reregistering it in a different location,
without 1st unregistering it may cause problems.
More information needs to be provided to troubleshoot your problem.
--
Peter O'Reilly
Nov 18 '05 #5
What is OWC? OWC.DLL? As in Microsoft Office Web Components? If so, those
components are already registered when you install Microsoft Office. There
should be no need for you to register them (again).

Moving the DLL to the bin directory after it's been registered is a problem
to. If not moving after, then reregistering it in a different location,
without 1st unregistering it may cause problems.
More information needs to be provided to troubleshoot your problem.
--
Peter O'Reilly
Nov 18 '05 #6

Thanks Peter !
By OWC, i mean Office Web Components....the server does not have
MSoffice installed which is why i would like to add just this dll(to the
appropriate folder,with the OWC on the development server) ....

Everytime i have experimented with different locations for the dll, i
have unregistered the dll and registered it again from the new location,
so this should not be a problem....

Where should this OWC10.DLL be placed....the server runs on windows
2000....

What about MSOWC.DLL...is this same as OWC(for office 2000, as OWC10 is
for XP?)..i have referenced OWC in my code,so should i add MSOWC.DLL or
OWC10 will do the job....

I hope you can help me with this, been stuck with it for a while now....

Thanks for your time.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #7

Thanks Peter !
By OWC, i mean Office Web Components....the server does not have
MSoffice installed which is why i would like to add just this dll(to the
appropriate folder,with the OWC on the development server) ....

Everytime i have experimented with different locations for the dll, i
have unregistered the dll and registered it again from the new location,
so this should not be a problem....

Where should this OWC10.DLL be placed....the server runs on windows
2000....

What about MSOWC.DLL...is this same as OWC(for office 2000, as OWC10 is
for XP?)..i have referenced OWC in my code,so should i add MSOWC.DLL or
OWC10 will do the job....

I hope you can help me with this, been stuck with it for a while now....

Thanks for your time.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #8
I believe that in order to use Office COM objects on the server, you would
have to install a licensed copy of Office on the server, in which case all
of the COM DLLs for Office would be where they ought to be.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"anon" <an*******@devdex.com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...

Thanks Peter !
By OWC, i mean Office Web Components....the server does not have
MSoffice installed which is why i would like to add just this dll(to the
appropriate folder,with the OWC on the development server) ....

Everytime i have experimented with different locations for the dll, i
have unregistered the dll and registered it again from the new location,
so this should not be a problem....

Where should this OWC10.DLL be placed....the server runs on windows
2000....

What about MSOWC.DLL...is this same as OWC(for office 2000, as OWC10 is
for XP?)..i have referenced OWC in my code,so should i add MSOWC.DLL or
OWC10 will do the job....

I hope you can help me with this, been stuck with it for a while now....

Thanks for your time.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #9
I believe that in order to use Office COM objects on the server, you would
have to install a licensed copy of Office on the server, in which case all
of the COM DLLs for Office would be where they ought to be.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"anon" <an*******@devdex.com> wrote in message
news:ei**************@TK2MSFTNGP12.phx.gbl...

Thanks Peter !
By OWC, i mean Office Web Components....the server does not have
MSoffice installed which is why i would like to add just this dll(to the
appropriate folder,with the OWC on the development server) ....

Everytime i have experimented with different locations for the dll, i
have unregistered the dll and registered it again from the new location,
so this should not be a problem....

Where should this OWC10.DLL be placed....the server runs on windows
2000....

What about MSOWC.DLL...is this same as OWC(for office 2000, as OWC10 is
for XP?)..i have referenced OWC in my code,so should i add MSOWC.DLL or
OWC10 will do the job....

I hope you can help me with this, been stuck with it for a while now....

Thanks for your time.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #10

Thanks all for responding...solved the problem....
needed to use MSOWC.DLL...
For all those havign similar problems, i will try to add a step by step
procedure here:
1.Copy the MSOWC.DLL from your development machine(where the code works)
into C:\WINNT\system32 folder of your production server
2.run regsvr32 <filepath> (which will be as above mentioned).
3. you should get a popup box saying dllregistered succesfully or
something to that effect...
4.and u r all set....

Note: MSOWC.DLL is the dll name for the refernce OWC.....
OWC10.DLL is the dll name for the reference OWC10...

Cheers !

Ben
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #11

Thanks all for responding...solved the problem....
needed to use MSOWC.DLL...
For all those havign similar problems, i will try to add a step by step
procedure here:
1.Copy the MSOWC.DLL from your development machine(where the code works)
into C:\WINNT\system32 folder of your production server
2.run regsvr32 <filepath> (which will be as above mentioned).
3. you should get a popup box saying dllregistered succesfully or
something to that effect...
4.and u r all set....

Note: MSOWC.DLL is the dll name for the refernce OWC.....
OWC10.DLL is the dll name for the reference OWC10...

Cheers !

Ben
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #12
You may run into a problem in that the dlls you mention may be dependent on
other DLLS, of type COM and otherwise. If you have Visual Studio 6, there
are included utilities ("Tools") to tell you if this is true. Dependency is
one thing, Office Web Components may consist of more than one independent
DLL file.

If time is not a factor, then give it a try. Otherwise, the best bet is to
install MS Office. Actually, you may install only one Office product, say
Access 2000 to have
Office Web Components installed on your machine. Also note, your end users
must also have MS Office/OWC installed on their local (web client) machines
to use your application.

--
Peter O'Reilly
Nov 18 '05 #13
You may run into a problem in that the dlls you mention may be dependent on
other DLLS, of type COM and otherwise. If you have Visual Studio 6, there
are included utilities ("Tools") to tell you if this is true. Dependency is
one thing, Office Web Components may consist of more than one independent
DLL file.

If time is not a factor, then give it a try. Otherwise, the best bet is to
install MS Office. Actually, you may install only one Office product, say
Access 2000 to have
Office Web Components installed on your machine. Also note, your end users
must also have MS Office/OWC installed on their local (web client) machines
to use your application.

--
Peter O'Reilly
Nov 18 '05 #14

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

Similar topics

3
by: Stangonline.com | last post by:
Ok, im familiar with typical troubleshooting of this type on problem, but I do not do any programming myself. Im hoping you guys can help me with an install problem that I am having. I have an...
3
by: Ellen K | last post by:
Hi all, We have standardized on Hyperion as our reporting tool. So far I have only set up a couple of Access databases as data sources for it. Now there is a request to report off our eOn...
6
by: ian | last post by:
Hi All I have a DLL (nahd.dll) that has been supplied to me will a PBX phone system. According to the documentation it is to allow developers to write there own applications to monitor the...
2
by: glenn | last post by:
I have written a COM Server in C# and its working perfectly. I am not ready to deploy to client computers to begin the real testing and am now wondering how to perform. The part that confuses me...
2
by: Helen | last post by:
I've got some clientside script that runs when the selected index of a select box changes. Now I need to swap my selectbox with an ASP.NET radiobuttonlist (to solve some layout issues). I still...
3
by: InteropNut | last post by:
Hi, My ASP.NET application uses the MSOWCF.dll COM component (ms office functions) and it works fine on my computer with MS Office installed. But I am trying to upload the application to my web...
3
by: gaschurman | last post by:
I have a DLL (imagemagick) that I need to use in my site , but the web hosting does not allow me to register the DLL. is there any way to use that DLL refiring to the Path without registering ?...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
1
by: shivkumar2004 | last post by:
Hi!, I am developing a chat system using vb.net in vs 2005. I am getting the following error while registering the events. error details: System.InvalidOperationException was unhandled...
0
by: shivkumar2004 | last post by:
Hi, I m getting the following error while registering the events on client appl. error: "An error occurred creating the form. See Exception.InnerException for details. The error is: Exception...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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...
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...

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.