Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Visual Studio 2010 Corrupt after uninstall of Office 2010

Hi

I have an Excel add-in project in Visual Studio 2010. When I try to debug it I get the following error. I just uninstalled my Office 2013 Trial a minute ago and am sure that this
has caused the issue. How do I resolve this. I can't run a repair on my Visual Studio 2010 software as  the disc that I have is damaged


Error      1      The "ResolveComReference" task failed unexpectedly.
System.Security.Cryptography.CryptographicException: The specified network password is not correct.

   at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr)
   at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx)
   at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate.Import(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
   at System.Security.Cryptography.X509Certificates.X509Certificate2.Import(Byte[] rawData, String password, X509KeyStorageFlags keyStorageFlags)
   at Microsoft.VisualStudio.Tools.Applications.Project.CertificateFactory.CreateCertificate(Byte[] rawData, String password)
   at Microsoft.VisualStudio.Tools.Applications.Project.CertificateContainerFactory.OpenCertificateContainer(String fullPath, String password)
   at Microsoft.VisualStudio.Tools.Applications.Project.ProjectFacade.EnableClickOnceManifestsSigning()
   at Microsoft.VisualStudio.Tools.Applications.Project.DeploymentHelper.ExecutePrebuildActions(Project project)
   at Microsoft.VisualStudio.Tools.Applications.Project.Project.Microsoft.VisualStudio.Tools.Applications.Project.Interop.IVstoManagedProjectHelper.ExecutePrebuildActions(Object dteProjectUnk)
   at Microsoft.Build.Tasks.NativeMethods.QueryPathOfRegTypeLib(Guid& clsid, Int16 majorVersion, Int16 minorVersion, Int32 lcid)
   at Microsoft.Build.Tasks.ComReference.GetPathOfTypeLib(TaskLoggingHelper log, Boolean silent, TYPELIBATTR& typeLibAttr, String& typeLibPath)
   at Microsoft.Build.Tasks.ResolveComReference.ConvertAttrReferencesToComReferenceInfo(List`1 projectRefs, ITaskItem[] typeLibAttrs)
   at Microsoft.Build.Tasks.ResolveComReference.Execute()
   at Microsoft.Build.Framework.ITask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()      Elements
ASKER CERTIFIED SOLUTION
Avatar of regmigrant
regmigrant
Flag of United Kingdom of Great Britain and Northern Ireland 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
You could try downloading and installing the service pack for VS 2010 - that *might* repair the damage done.
Avatar of Murray Brown

ASKER

thanks very much