Cannot register assembly - Visual Studio

Hi there,

We have a user that is trying to configure a Windows Server 2012 R2 server so that they can use this and get rid of their old Windows Server 2003 server.  The user has installed Visual Studio 2008 and 2010 but when he tries to register an assembly, he gets this error:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3912,5): error MSB3216: Cannot register assembly "D:\Development\Automated Build\Builds\WellManager\rep_develop\sourcecode\NPD\bin\Release\LineMergeConfirmSave.dll" - access denied. Please make sure you're running the application as administrator. Access to the registry key 'HKEY_CLASSES_ROOT\LineMergeConfirmSave.ConfirmSave' is denied.

He is already running VS as an administrator but he's still getting permission issues.  Any ideas/suggestions would be great!

Thanks,
- Christian
Christian PalaciosSenior IT Systems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
Hi Christian,
so his account is in the local admin group AND he explicitely starts Visual Studio with right-click -> Run as administrator?
HTH
Rainer
0
sarabandeCommented:
you may try to unregister the existing assembly by

regasm /u <full_quoted_path_to_assembly>

from a command window which you also started 'as administrator'. note, it is not sufficient to have logged in as administrator (see also comment of Rainer).

Sara
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Christian PalaciosSenior IT Systems AdministratorAuthor Commented:
Hi there,

Yes, the user is a local administrator and is running VS with "Run as administrator".  

Sara:  I'll see if there is an existing assembly.  This is a brand new VM, which he is configuring VS and his code on so I don't know if there is already an assembly.  

Thanks!
- Christian
0
Christian PalaciosSenior IT Systems AdministratorAuthor Commented:
Thank you for your replies.  The developer who is taking care of this is currently busy and can't try this for another week or so.  I'll send an update when he has tested it.

- Christian
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.