|                                 David R.                				   
 
 
 Posts: 55
 Joined: 2010-07-22
 
 | 
                | I downloaded ADX_IE_Shared_Memory C# version, it works well with administrator permission, but it doesn't without it. 
 It says "Access is denied"
 
 Should I always launch IE with administrator permission?
 
 
 Detailed technical information follows:
 ---
 (Inner Exception)
 Date and Time:         6/28/2017 4:43:58 PM
 Machine Name:          HGDEV4
 IP Address:            fe80::6921:d072:4dda:9003%13
 Current User:          HGC\jhan
 
 Application Domain:    C:\Users\jhan\Desktop\adx-ie-shared-memory-cs\ADX_IE_Shared_Memory_CS\bin\Debug\
 Assembly Codebase:     file:///C:/Windows/assembly/GAC_MSIL/AddinExpress.IE/9.4.6126.0__4416dd98f0861965/AddinExpress.IE.dll
 Assembly Full Name:    AddinExpress.IE, Version=9.4.6126.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
 Assembly Version:      9.4.6126.0
 
 Exception Source:      AddinExpress.IE
 Exception Type:        System.ComponentModel.Win32Exception
 Exception Message:     Access is denied
 Exception Target Site: .ctor
 
 ---- Stack Trace ----
 AddinExpress.IE.ADXIESharedMemory..ctor(pageName As String, maxValueSize As UInt32, count As UInt32)
 AddinExpress.IE.dll: N 0581 (0x245) IL
 ADX_IE_Shared_Memory_CS.MySharedData..ctor(pageName As String, maxValueSizeInBytes As UInt32, valueCount As UInt32)
 MySharedData.cs: line 0020, col 06, IL 0009 (0x9)
 ADX_IE_Shared_Memory_CS.GlobalData..ctor()
 GlobalData.cs: line 0033, col 04, IL 0083 (0x53)
 ADX_IE_Shared_Memory_CS.GlobalData.get_Instance()
 GlobalData.cs: line 0063, col 21, IL 0018 (0x12)
 ADX_IE_Shared_Memory_CS.IEBarModule.IEBarModule_OnSendMessage(e As ADXIESendMessageEventArgs)
 IEBarModule.cs: line 0284, col 08, IL 0027 (0x1B)
 AddinExpress.IE.ADXIEBarModule.DoOnSendMessage(msg As Message)
 AddinExpress.IE.dll: N 0047 (0x2F) IL
 
 
 
 (Outer Exception)
 Date and Time:         6/28/2017 4:43:58 PM
 Machine Name:          HGDEV4
 IP Address:            fe80::6921:d072:4dda:9003%13
 Current User:          HGC\jhan
 
 Application Domain:    C:\Users\jhan\Desktop\adx-ie-shared-memory-cs\ADX_IE_Shared_Memory_CS\bin\Debug\
 Assembly Codebase:     file:///C:/Windows/assembly/GAC_MSIL/AddinExpress.IE/9.4.6126.0__4416dd98f0861965/AddinExpress.IE.dll
 Assembly Full Name:    AddinExpress.IE, Version=9.4.6126.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
 Assembly Version:      9.4.6126.0
 
 Exception Source:
 Exception Type:        AddinExpress.IE.ADXIEExternalException
 Exception Message:     An error has occurred in the code of the extension.
 
 ---- Stack Trace ----
 | 
 | 
  
        |                                 Andrei Smolin                				   
 Add-in Express team
 
 
 Posts: 19177
 Joined: 2006-05-11
 
 | 
                | Hello David, 
 In GlobalData.cas, replace the code line below
 
 
 string outputPath = Path.Combine(
	Environment.GetFolderPath(Environment.SpecialFolder.InternetCache), "Low");
 
 with this one:
 
 
 string outputPath = Path.Combine(
    Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Low");
 
 This location is allowed by Protected Mode; see https://msdn.microsoft.com/en-us/library/bb250462(v=vs.85).aspx.
 
 Note however that if Enhancing Protected Mode is enabled, this approach won't work.
 
 
 Andrei Smolin
 Add-in Express Team Leader
 | 
 |