Questions tagged [dllregistration]
169 questions
103
votes
15 answers
How do I register a DLL file on Windows 7 64-bit?
I have tried to use the following code:
cd c:\windows\system32
regsvr32.exe dllname.ax
But this is not working for me. How can I register a DLL file on Windows 7 with a 64-bit processor?
Rajkumar Reddy
- 2,289
- 6
- 21
- 29
83
votes
12 answers
How do I register a .NET DLL file in the GAC?
I have made a .NET .DLL file, which I want to register in the GAC.
I have used this command in Windows Server 2003 Command Prompt:
C:\"Path of dll"\>gacutil /i dllname.dll
'gacutil' is not recognized as an internal or external command,
operable…
Vineet
- 4,251
- 10
- 27
- 34
47
votes
1 answer
How to unregister the assembly registered using regasm
I registered one of my dlls on the development machine using regasm as below (ASP application)
In a cmd prompt, I navigated to
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 and did:
regasm /tlb "xxx.dll"
Now I made some changes in the dll. So I…
Vani
- 1,263
- 4
- 26
- 48
38
votes
4 answers
How to repair COMException error 80040154?
Moving a working C# project from a 64-bit Windows 7 machine to a 32-bit XP machine caused the following error:
Retrieving the COM class factory for component with CLSID {681EF637-F129-4AE9-94BB-618937E3F6B6} failed due to the following error:…
jacknad
- 12,453
- 38
- 115
- 190
35
votes
12 answers
ActiveX component can't create object
I have just installed a third party app on my Windows Server 2008 server
and I get the
ActiveX Component can't create object
message when I try to access using a CreateObject in VBScript.
It is definitely installed and exists under "Programs and…
GordyII
- 6,597
- 16
- 48
- 68
33
votes
1 answer
Error 80040154 (Class not registered exception) when initializing VCProjectEngineObject (Microsoft.VisualStudio.VCProjectEngine.dll)
I'm trying to run this tool in order to convert a Visual C++ project to makefile.
The project I'm trying to convert project is written in VS2008, so I'm using a reference to Microsoft.VisualStudio.VCProjectEngine.dll from version 9.
It fails in this…
rkellerm
- 4,862
- 7
- 49
- 85
29
votes
3 answers
Registration-free COM/DLL?
My program is using the Skype4COM.dll (A wrapper for the Skype API).
I am using Delphi 2010 - is there a way to make sure that my program is ALWAYS using the Skype4COM.dll that I will ship it with? The thing is, there are different versions of…
Jeff
- 11,384
- 12
- 77
- 145
20
votes
4 answers
Hand Install of 64-bit MS Access ODBC drivers when 32-bit Office is present
I want to do a hand install of the MS Access 64 bit odbc drivers. Uninstalling 32 bit Office and installing 64 bit Office is not an option due to the add-ins that our company uses.
I downloaded the AccessDatabaseEngine_x64.exe and using WinRar and…
JMoney
- 281
- 1
- 2
- 6
14
votes
3 answers
How do I unregister COM dlls initially added with RegSvr32 when the /u arg doesn't work?
Right, initially ran:
c:\regsvr32 Amazing.dll
then, (accidentally - I might add) I must have run it again, and (indeed) again when new versions of 'Amazing.dll' were released. Yes - I know now I should've run:
c:\regsvr32 /u Amazing.dll
beforehand…
Charlotte Skardon
- 6,075
- 2
- 28
- 40
12
votes
4 answers
Visual Studio 2010 - Cannot Register Assembly
I am running Visual Studio 2010 on a Windows 7 VM and trying to build a fairly large solution. When I try to do so, I get the error:
Cannot register assembly "C:\Development\ProjectName\Source\bin\Debug\AssemblyName.dll" - access denied. Please…
CosmicComputer
- 1,634
- 1
- 15
- 15
11
votes
7 answers
In .NET, is there a need to register the DLL?
Is it necessary to register a compiled DLL (written in C# .NET) on a target machine.
The target machine will have .NET installed, is it enough to simply drop the DLL onto the target machine?
Helios
- 411
- 1
- 7
- 11
9
votes
3 answers
wrap 32 bit dll for 64 bit operating system to work with regsvr32.exe
We are currently transferring our websites from Windows 2003 (32-bit) to Windows 2008 (64-bit) and have hit a problem.
One of our website use the payment gateway HSBC CPI which requires a DLL to be registered(regsvr32.exe), this DLL is then used…
Tim Jarvis
- 637
- 4
- 8
- 17
8
votes
11 answers
Problem registering a dll - Access Denied
When trying to run regasm in Win2008 Server:
regasm "C:\Program Files\FooProg\Bar.dll" /tlb:"C:\Program Files\FooProg\Bar.tlb"
I get the following error:
RegAsm : error RA0000 : An error occurred while saving the exported
type library: Access is…
Vidar
- 6,067
- 22
- 61
- 93
8
votes
1 answer
What does RegAsm really do? Where are files copied?
We have a plugin for IE based on spicIE, the purpose is to connect to some external devices.
To connect to those external devices, another company developed their token & DLLs. We need to have some ActiveX's and DLL's to do authentication by…
ahmad molaie
- 1,408
- 1
- 21
- 36
7
votes
5 answers
Access a custom .NET DLL in VBScript
I wrote a DLL in .NET and I want to access it in VBScript. I don't want to add it to the assembly directory.
Is there a way to point too the DLL and create an instance of it?
Donny V.
- 19,411
- 13
- 59
- 76