At https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d3cfab4d-4b2b-43b8-a4da-6e46e91cd99b/uccapidll-not-registered?forum=ucclientsdk there is a question about the uccapi.dll delivered by Microsoft where there is a error:
Retrieving the COM class factory for component with CLSID {201D2DCD-AF4F-484E-9793-56CAC5EC0C16} failed due to the following error: 80040154.
Uccapi.dll is already registered. Microsoft.Office.Interop.Uccapi is also included in reference. Specifically this error is raising at,
UccUriManager uriManager = new UccUriManager();
I receive the exception that the COM-classfactory is NOT REGISTERED.
The confirmed solution is to add a manifest file to the C# project where I use VB.NET so I added a manifest file (Think it was there already) but the solution is as follows:
Make sure the project has a manifest file, if not the following should work:
manifestVersion="1.0">
version="1.1.0.0"
processorArchitecture="x86"
name="IMVoIPSample.exe"
type="win32"
/>
type="win32"
name="Microsoft.VC80.CRT"
version="8.0.50727.762"
processorArchitecture="x86"
publicKeyToken="1fc8b3b9a1e18e3b"
/>
version="2.0.0.0"
processorArchitecture="x86"
name="UCCAPI"
type="win32"
/>
Just replace the assembly name with the one appropriate to your project. Also, make sure that the new manifest has been selected within the project properties.
Mark
I edited the manifest file with the above but the uccapi.DLL still seems not to be registered
do I need to do the following?: "Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"
I have 64 bit
User contributions licensed under CC BY-SA 3.0