DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 26 Jul 2007 21:24:36 -0000,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    unknown


COM object with CLSID {} is either not valid or not registered.   
I am new to the project I am working on and I recently made some
changes to refactor my code and created a new project based on an
existing project to get started.  I renamed some variables and
attempted to run the application.  Upon running the application I have
stumbled upon the following error:

System.Runtime.InteropServices.COMException (0x80040154): COM object
with CLSID {03852C4A-95BF-4BBF-A231-81C67F6FC031} is either not valid
or not registered.

I traced the exception to the following line of code:

Dim c As New dich.CCryptoHandler

Using Reflector I found the following line of code within the assembly
Interop.dich.dll: CLSID
   [ComImport, ClassInterface((short) 0), TypeLibType((short) 2),
Guid("03852C4A-95BF-4BBF-A231-81C67F6FC031")]
    public class CCryptoHandlerClass : _CCryptoHandler, CCryptoHandler

As it turns out the "dich" refers to the assembly Interop.dich.dll.
Honestly, I have no idea was the Interop is all about, but I have read
about every post on web regarding this error and I am still confused.

>From what I gather the Interop.dich.dll is a version of the COM

assembly dich.dll available to the .NET framework.

I have attempted to register the assembly using regsvr32
Interop.dich.dll but I receive the following message:

"Interop.dich.dll was loaded, but the DllRegisterServer entry point
was not found. This file can not be registered."


>From other posts on the web, it sounds like I need to register

Dich.dll; however, prior to my changes everything worked and I did and
still do not have Dich.dll registered on my PC (cannot find this
assembly).  I reverted the code back to the original and I still get
the same error.  Any ideas on this would be greatly appreciated.

Just in case it does not come across in my text, this is DRIVING ME
NUTS.

Thanks for any and all support,

Nathan
Date:Thu, 26 Jul 2007 21:24:36 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us