Last post Dec 07, 2019 09:16 PM by safemark
Dec 06, 2019 08:16 PM|safemark|LINK
I am deploying an ASP.NET/Oracle web application (that I did not write). I have successfully deployed it on two Win 7 laptops and one Win 10 laptop about 6 months ago. However, deploying it now I get the error below. I noticed my other installations have
Oracle.Web.dll version 220.127.116.11 while this latest one has 18.104.22.168 (perhaps Oracle's ODAC has changed?).
I read other posts with similar problems but they haven't solved my issue. I should mention that I know little about ASP.NET and Oracle. Do I need to get this version of Oracle.Web.dll registered in the GAC? is there another solution? I've looked at the
machine.config file and "OraAspNetConString" is set to blanks (just like all my other installations that work). Any suggestions on what to try will be appreciated - thanks.
Server Error in '/' Application.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'Oracle.Web, Version=22.214.171.124, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
Line 274: <healthMonitoring>
Line 275: <providers>
Line 276: <add name="OracleWebEventProvider" type="Oracle.Web.Management.OracleWebEventProvider, Oracle.Web, Version=126.96.36.199, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" buffer="true" bufferMode="OracleNotification"
Line 277: </providers>
Line 278: </healthMonitoring>
Source File: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config Line: 276
Dec 06, 2019 09:03 PM|mgebhard|LINK
The file does not exist in the application's bin directory on the server. Copy the file.
Dec 07, 2019 09:16 PM|safemark|LINK
Yes, I tried that, but then things didn't work at all. I got the error message "Hmmm can't seem to find that site" or something like that from IIS when I entered the URL in the browser. I think perhaps it needs to be registered in the .NET GAC (Assembly)
?? -- not really sure why it didn't work. (thanks for the suggestion though)
I do have a solution though -- one that has been expressed in other posts but not always with enough details.
The solution that worked for me was:
1. Re-install (or install) ODAC 64bit (or 32 bit I guess if you have a 32 bit machine)
2. But be sure it is the matching version of the error message. In my case 188.8.131.52 is ODAC Release 4 and there are many download options on Oracle's website. Release 3 is 184.108.40.206 and that did not work for me.
3. Also be sure to specify the CORRECT Oracle Home Path and CORRECT Oracle Home Name!
Very important! I did it wrong the first time and could have saved myself a lot of aggravation if I got it correct the first time.
Thanks to all.