Link to home
Start Free TrialLog in
Avatar of Christian Palacios
Christian PalaciosFlag for Canada

asked on

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
SOLUTION
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Christian Palacios

ASKER

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
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