Hello Folks,
I using both IIS7 from Win7 SP1 and IIS Express from Studio 2015 Community.
I also need to use an Oracle database back-end with unmanageable (legacy code) driver.
Oracle driver is Oracle.DataAccess.dll, registered in GAC through process of standard installation.
Under Win7SP1 it's located in C:\Windows\Microsoft.NET\assembly\GAC_32\Oracle.DataAccess\v4.0_4.121.1.0__89b483f429c47342
DLL "looks healty" - do work in multiple application. Or I have to say - did work.
Recently I do install an Azure for Studio 2010 and Azure for Studio 2015 and all latest updates from Microsoft updates.
Since this installation system start having trouble.
First - Oracle.DataAccess.dll not longer loadable. Not by IIS7/Express, not with other applications.
I do trace a loading using SysInternals PM.
Code for assembly loading:
Assembly assembly = Assembly.Load("Oracle.DataAccess, Version=2.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342");
Trace:
17:52:57.5261189 Tester.vshost.exe 2248 CreateFile C:\windows\Microsoft.Net\assembly\GAC_64\Oracle.DataAccess\v4.0_2.121.1.0__89b483f429c47342\Oracle.DataAccess.dll PATH NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse
Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
17:52:57.5261997 Tester.vshost.exe 2248 CreateFile C:\windows\Microsoft.Net\assembly\GAC_MSIL\Oracle.DataAccess\v4.0_2.121.1.0__89b483f429c47342\Oracle.DataAccess.dll PATH NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
17:52:57.5262766 Tester.vshost.exe 2248 CreateFile C:\windows\Microsoft.Net\assembly\GAC\Oracle.DataAccess\v4.0_2.121.1.0__89b483f429c47342\Oracle.DataAccess.dll PATH NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
17:52:57.5264829 Tester.vshost.exe 2248 CreateFile C:\windows\assembly\GAC_64\Oracle.DataAccess\2.121.1.0__89b483f429c47342\Oracle.DataAccess.dll PATH NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a,
ShareMode: Read, Write, Delete, AllocationSize: n/a
17:52:57.5265709 Tester.vshost.exe 2248 CreateFile C:\windows\assembly\GAC_MSIL\Oracle.DataAccess\2.121.1.0__89b483f429c47342\Oracle.DataAccess.dll PATH NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a,
ShareMode: Read, Write, Delete, AllocationSize: n/a
17:52:57.5266393 Tester.vshost.exe 2248 CreateFile C:\windows\assembly\GAC\Oracle.DataAccess\2.121.1.0__89b483f429c47342\Oracle.DataAccess.dll PATH NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode:
Read, Write, Delete, AllocationSize: n/a
Problem is that for now assembly loader looking for DLL in
C:\windows\Microsoft.Net\assembly\GAC\
but not in
C:\windows\Microsoft.Net\assembly\GAC_32\
where it's are located.
Did anybody known where is a root of the problem and how to fix this?
Second problem is that any Click on the web-form (pure ASP.NET, not MVC) buttons cause double entering into OnClick-handler. I do mentioned this here as this problem starts together and will ask question about this (second) problem on Azhure forum.