473,406 Members | 2,312 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,406 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 3770
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...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
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
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...

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.