Issue with oracle reference in web.config

Last post 05-07-2008 1:09 PM by Jeff Haluska. 1 replies.

Sort Posts:

  • Issue with oracle reference in web.config

    04-18-2008, 10:51 AM
    • Loading...
    • jjs123
    • Joined on 05-20-2006, 1:23 PM
    • Posts 25

    Hello Everyone:

      Has anyone ever had an issue where the VS 2005 compiler keeps inserting a reference to oracle in your web.config when you're not using oracle???

    I have the following in my web.config:

    <compilation debug="true" strict="false" explicit="true">

    <assemblies>

    <add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies>

    </compilation>

     I am not using oracle, nor do I have any explicit references to oracle in the project at all.  I do reference System.Data and System.Data.SqlClient. 

    If I remove the oracle reference, the compiler puts it right back in.

    Anyone have any ideas why this is happening??

     

    Thanks,

    Joe

     

  • Re: Issue with oracle reference in web.config

    05-07-2008, 1:09 PM

    Make sure that System.Data is referenced correctly.... If not for some reason, be sure to add the reference... This problem doesn't seem to occur for me when i try it...  Sorry..

Page 1 of 1 (2 items)