Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle.dataAccess Error in machine.config

Status
Not open for further replies.

mrathi

Technical User
Oct 27, 2003
115
US
Hi, I am trying to understand why I am getting this error. Any help would be appreciated. The first time I got this error, I just deleted the folder on the server and then put back the old saved folder. After I made some changes and tried to run, I am again getting this error.

Thanks.

Configuration Error
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: Access is denied: 'Oracle.DataAccess'.

Source Error:


Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="*"/>
Line 199: </assemblies>
Line 200: </compilation>


Source File: c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 198

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Oracle.DataAccess' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = Oracle.DataAccess
(Partial)
LOG: Appbase = file:///E:/PracticeSite/TestFees
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: Oracle.DataAccess
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/mahesh_testfees/db097559/beae805b/Oracle.DataAccess.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/testfees/db097559/beae805b/Oracle.DataAccess/Oracle.DataAccess.DLL.
LOG: Attempting download of new URL file:///E:/PracticeSite/TestFees/bin/Oracle.DataAccess.DLL.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Oracle.DataAccess, Version=9.2.0.401, Culture=neutral, PublicKeyToken=89b483f429c47342




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

 
It looks as though it is a permissions error between .NET and oracle hence the "Access Denied" error.

Have you checked that your ASPNET account has access to the oracle client folder?

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
My concern was why it gives the error sometimes, and sometimes not. If its an access error, then I should get it always, is that correct?

Thanks
 
Thanks for the info. I will save the article and try it when I get the error again. So far my pages are working right again.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top