"Class not registered" error

24 views
Skip to first unread message

niltz0

unread,
Sep 8, 2008, 3:29:33 PM9/8/08
to TestDriven.NET Users
Hi,

I installed TestDriven.NET (2.14.2190 Personal) on my machine (Vista,
VS2008) and when I try to start the add-in I get a class not
registered error. Does anyone know why I get this?

Jamie Cansdale

unread,
Sep 10, 2008, 12:47:23 PM9/10/08
to TestDri...@googlegroups.com
> I installed TestDriven.NET (2.14.2190 Personal) on my machine (Vista,
> VS2008) and when I try to start the add-in I get a class not
> registered error. Does anyone know why I get this?
>
Here's what I think might be happening:

When TestDriven.Net is installed, the following registry keys are
installed with an unknown/corrupted 'Owner':
HKEY_CLASSES_ROOT\TestDriven.NET
HKEY_CLASSES_ROOT\CLSID\{AC6E3A22-167D-37D5-85D6-ECD3E0542D0B}

Could you navigate to the above keys using Regedit. Please let me know
if they are visible, or if you get a warning dialog.

Regards,
Jamie.

--
http://www.testdriven.net
http://weblogs.asp.net/nunitaddin

niltz0

unread,
Sep 10, 2008, 2:58:57 PM9/10/08
to TestDriven.NET Users
Hi,

for "HKEY_CLASSES_ROOT\TestDriven.NET", I can see the key listed, but
when I click on it I get the following error:

TestDriven.NET cannot be opened.
An Error is preventing this key from being opened.
Details: Access is denied.

for "HKEY_CLASSES_ROOT\CLSID\{AC6E3A22-167D-37D5-85D6-ECD3E0542D0B} ",
I can see the key, click on it, expand it, etc. I don't get any
warnings for this key.

On Sep 10, 12:47 pm, "Jamie Cansdale" <jcansd...@gmail.com> wrote:
> > I installed TestDriven.NET (2.14.2190 Personal) on my machine (Vista,
> > VS2008) and when I try to start the add-in I get a class not
> > registered error.  Does anyone know why I get this?
>
> Here's what I think might be happening:
>
> When TestDriven.Net is installed, the following registry keys are
> installed with an unknown/corrupted 'Owner':
> HKEY_CLASSES_ROOT\TestDriven.NET
> HKEY_CLASSES_ROOT\CLSID\{AC6E3A22-167D-37D5-85D6-ECD3E0542D0B}
>
> Could you navigate to the above keys using Regedit. Please let me know
> if they are visible, or if you get a warning dialog.
>
> Regards,
> Jamie.
>
> --http://www.testdriven.nethttp://weblogs.asp.net/nunitaddin

Jamie Cansdale

unread,
Sep 11, 2008, 8:19:30 AM9/11/08
to TestDri...@googlegroups.com
> for "HKEY_CLASSES_ROOT\TestDriven.NET", I can see the key listed, but
> when I click on it I get the following error:
>
> TestDriven.NET cannot be opened.
> An Error is preventing this key from being opened.
> Details: Access is denied.
>
Can you try changing the permissions for this key so that they're
exactly the same as the key that seems to be working. You may need to
run Regedit as the Administrator user to do this. Once you've done
this, try reinstalling TestDriven.Net and see if the key is installed
correctly.

Unfortunately I'm unable to repro this issue on my machine so I can't
give you exact instructions. Please let me know how you get on.

Regards,
Jamie.

niltz0

unread,
Sep 11, 2008, 5:10:37 PM9/11/08
to TestDriven.NET Users
Thanks for your help. I wasn't able to make the permissions exactly
like the other key, but I was able to get itworking non-the-less. As
a side note, before I could change the permissions I had to take
ownership of the key.

On Sep 11, 8:19 am, "Jamie Cansdale" <jcansd...@gmail.com> wrote:
> > for "HKEY_CLASSES_ROOT\TestDriven.NET", I can see the key listed, but
> > when I click on it I get the following error:
>
> >    TestDriven.NET cannot be opened.
> >    An Error is preventing this key from being opened.
> >    Details: Access is denied.
>
> Can you try changing the permissions for this key so that they're
> exactly the same as the key that seems to be working. You may need to
> run Regedit as the Administrator user to do this. Once you've done
> this, try reinstalling TestDriven.Net and see if the key is installed
> correctly.
>
> Unfortunately I'm unable to repro this issue on my machine so I can't
> give you exact instructions. Please let me know how you get on.
>
> Regards,
> Jamie.
>
> --http://www.testdriven.nethttp://weblogs.asp.net/nunitaddin

Jamie Cansdale

unread,
Sep 12, 2008, 4:59:55 AM9/12/08
to TestDri...@googlegroups.com
I'm glad it's now working. Thanks for letting me know.

Could you give me a little more detail about what fixed it? What
permissions did you change/add? Did it require a reinstall of
TestDriven.Net?

Regards,
Jamie.

niltz0

unread,
Sep 29, 2008, 2:59:35 PM9/29/08
to TestDriven.NET Users
Hi,

I did not uninstall/reinstall anything, all I did was the following:

for "HKEY_CLASSES_ROOT\CLSID\{AC6E3A22-167D-37D5-85D6-ECD3E0542D0B} ",
It's owner is "SYSTEM", and I did not change this as it was working
fine.

for "HKEY_CLASSES_ROOT\TestDriven.NET", I can't remember what the
original owner was (unkown, installer, or something else) so I tried
to set the owner to SYSTEM like the key above but I wasn't allowed to
do that. So I just ended up setting the owner to be the local
administrators group (which my account is a member of) and made sure
that local administrators had read/write access to that key. I also
had to do the same thing for the sub CLSID key. Once I did that
everything worked.



On Sep 12, 4:59 am, "Jamie Cansdale" <jcansd...@gmail.com> wrote:
> I'm glad it's now working. Thanks for letting me know.
>
> Could you give me a little more detail about what fixed it? What
> permissions did you change/add? Did it require a reinstall of
> TestDriven.Net?
>
> Regards,
> Jamie.
>
> --http://www.testdriven.nethttp://weblogs.asp.net/nunitaddin
Reply all
Reply to author
Forward
0 new messages