Mono, unix - No access to the given key
Posted: Mon 17 Jan 2011 19:09
Hi!
Mono 2.6.7, ASP web application over XSP2, osx 10.6.6, oracle instant client 10.2.
System.Data.OracleClient works on the machine, but dotConnect EXPRESS fails on OracleConnection::Open() with following stack trace:
There is dll.licenses in web application's project resources, it's compiled on a winbox where dotConnect EXPRESS installed:
No more thoughts I have...
Mono 2.6.7, ASP web application over XSP2, osx 10.6.6, oracle instant client 10.2.
System.Data.OracleClient works on the machine, but dotConnect EXPRESS fails on OracleConnection::Open() with following stack trace:
Code: Select all
System.Security.SecurityException: No access to the given key
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in :0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in :0
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000] in :0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000] in :0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000] in :0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string)
at Devart.Data.Oracle.OracleHomeCollection.a () [0x00000] in :0
at Devart.Data.Oracle.ak..ctor (Devart.Data.Oracle.aj A_0, Devart.Data.Oracle.ak A_1) [0x00000] in :0
Code: Select all
C:\Program Files\Devart\dotConnect\Oracle>"C:\Program Files\Microsoft SDKs\Windo
ws\v7.0A\bin\lc.exe" /target:webapp.dll /complist:licenses.licx /i:Devart.Data.O
racle.dll /v
Microsoft (R) .NET License Compiler
[Microsoft .Net Framework, Version 2.0.50727.3615]
Copyright (c) Microsoft Corporation. All rights reserved.
Processing complist 'licenses.licx'...
licenses.licx (1) : info LC0001 : Processing component entry 'Devart.Data.Oracle
.OracleConnection, Devart.Data.Oracle'
licenses.licx (1) : info LC0002 : Resolved entry to 'Devart.Data.Oracle.OracleCo
nnection, Devart.Data.Oracle, Version=6.0.86.0, Culture=neutral, PublicKeyToken=
09af7300eec23701'
Creating Licenses file webapp.dll.licenses...