TDC
3/20/2007 11:54:00 AM
Are you creating it on the same windows account that you registered
it?
On Mar 19, 12:46 pm, "Magnus" <mag...@gmail.com> wrote:
> I have a .net assembly that is COM visible which works fine to call
> CreateInstance() on in XP.
> In Vista however CreateInstance() fails with class not registered for
> some reason.
> I register it with RegAsm /codebase and if i look in the registry it
> is there.
> Still CreateInstance() fails and i have no clue to why.
>
> To make things even stranger the darn thing did work the first time i
> registered it.
> Then i made some modifications to the .net class and after that no
> matter what i do i cannot create an instance of it.
>
> I have tried reverting the changes, changing guids, changing assembly
> version, creating a new assembly identical to the first working one
> etc, still CreateInstance() keeps failing.
> Anyon how a clue to where the problem might be?
>
> /Magnus