UnauthorizedAccessException during Installation

Add-in Express™ Support Service
That's what is more important than anything else

UnauthorizedAccessException during Installation
 
Thomas Reinberger




Posts: 7
Joined: 2005-03-15
Hi,

any time I install an outlook addin with the installer (using vs2005) I get the following exception:

Detailed technical information follows:
---
Date and Time: 19.02.2006 16:01:56
Machine Name: mymachine
IP Address: <mymachine-ipaddress>
Current User: <don'ttellya :-)>

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Programme/<companyname>/<mytool>/AddinExpress.Install.dll
Assembly Full Name: AddinExpress.Install, Version=2.2.1752.2, Culture=neutral, PublicKeyToken=null
Assembly Version: 2.2.1752.2
Assembly Build Date: 18.10.2004 00:00:04

Exception Source: AddinExpress.Install
Exception Type: System.ApplicationException
Exception Message: Error Converting assembly: System.UnauthorizedAccessException: Zugriff verweigert (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at AddinExpress.Install.UCOMICreateITypeLib.SaveAllChanges()
at AddinExpress.Install.TypelibExporter.ExportAssembly(Assembly asm)
Exception Target Site: ExportAssembly

---- Stack Trace ----
AddinExpress.Install.TypelibExporter.ExportAssembly(asm As Assembly)
AddinExpress.Install.dll: N 0197 (0xC5) IL
AddinExpress.Install.ADXProjectInstaller.InstallAddin(addinFullName As String, adxAssemblyName As String)
AddinExpress.Install.dll: N 0087 (0x57) IL

However, if I to regasm /tlb after the installation in the application folder, the addin is loaded. Could you please tell me what's wrong with my addin or fix the bug?

Thank you
Thomas
Posted 19 Feb, 2006 09:37:37 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Thomas.

Don't you use the Remote Desktop to install the add-in?
Does this error appear on other PCs?
Posted 20 Feb, 2006 07:12:52 Top