Issue with oracle reference in web.config

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">


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


 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??





4/18/2008 2:51:35 PM 1239 articles. 0 followers. Follow

2 Replies

Similar Articles

[PageSpeed] 1
Get it on Google Play
Get it on Apple App Store

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..

5/7/2008 5:09:07 PM

If the app has any project references, check if any of those DLLs have a reference to System.Data.OracleClient.  You can use Reflector to see what those DLLs are referencing.

 Additionally, if you are running 1.1 and 2.0 apps on the same machine, check this post:

4/10/2009 11:53:47 PM

Similar Artilces:

VS 2005 SP1 + .NET AJAX => automatically adds web.config in nested Web Application Project when opening project or solution
I get a 'Configuration Error' on an aspx page because VS added automatically a web.config to my nested Web Application Project where no web.config file should be. This effect I have noticed since I have installed SP1 and .NET AJAX Extensions. Why is VS 2005 adding the web.config file and how can I disable this behavior? Following is the content of the automatically added web.config file (comments omitted): <?xml version="1.0"?><configuration>    <appSettings/>    <connectionStrings/>    <system.web> &...

Develop in .NET 3.5...Deploy on .NET 3.0...Assembly strong name issue in web.config
Hi. I develop locally using web developer express 2008. I have .NET 3.5 installed on the development machine.I am trying to deploy to a Windows Server 2003 machine running.NET 3.0.Not surprisingly, I get an error about the strong assembly names referenced all over my web.config when I try to access the site on the production server.I don't think any of my code truly relies on .NET 3.5--it should all be compatible with the 3.0 framework.Here's my error message:Parser Error Message: Could not load file or assembly 'System.Core, Version=, Culture=neutral, PublicKeyToken=b77...

WEb Deployment project issue: How do i allow updates to Various sections in web.config in the target server as part of installation ?
1) I've got  a web.config whose sections related to the application be it for SMTP settings and other sections related to the application should be editable while deploying it in the target web server 2) I don't want to use 'Replace Config files' option Is there an existing MSBuild task that can be used to accomplish this?  Or do i have to roll-out a Window application and launch that as part of the task to get this done and put this in the one of the build phases be it "After Build"    3) Also, WebDeployment projects use the F...

Web Deployment Project / Setup Project and editable web.config
I'm working on an installer for a website. The Installer will prompt the user for the web settings such as as various AppSettings. How would you recommend implementing this? Below I describe my initial thoughts but they seem over complicated !!!! My first idea is to created the Web Deployment Project and create a web.config section overwrite file, and then using it in the usual manner to overwrite the web.config appSettings section at installation time.Property Pages->Deployment section to "appsettings=appsettings.config"Then to make this appsettings.config file editable by a Custom ...

References in the vs2005 Web Application Projects
We are having problems keeping our (cross of solution) references straight in a multi-user developer environment. The other three developers on this project work in "Debug" mode.  I on the other hand develop in "Release" mode.  Previously, we could each have different references for our developer environments.  Now it seems that when I do a "Get Latest" from scc, the last setting of the library references overrides my existing settings.  It's like the "Hints" entry of the reference is being used even after the reference has been created.  (It was my understandi...

Web Server Project in VS2005 Issue
I have been working away at my website project for over a year.  This morning when I tried to open the website's solution, I got the following error message: "Unable to open the Web 'http://localhost/MyWebsite'.  Server error: There is no web named "/MyWebsite". If this Web site exists on the server, check to make sure the FrontPage Server Extensions are installed, and that you have permission to access the server".  Well, the webiste does exist because I can access it from IE.  I then created a dummy project and tried to add an existing website from the local IIS....

Web Deployment Project - Config Properties
I'm using a Web Deployment Project to compile my web site. In the Property Pages - Configuration Properties - Deployment section, there is an option to 'Enable Web.config file section replacement'. I have this working to replace certain sections of my web.config for each build config (release/staging/dev). I think this makes sense so other developers do not have to remember to change the web.config file. HOWEVER, this only seems to work when replacing parts of web.config; such as appSettings, connectionString, etc. This would require me to have separate config files for each section and bui...

vs2005 web application with vs2005 web deployment project build failed
We Migrated our faily large ASP.NET project (has several folder hierarchy and our aspx pages refers to usercontrols in parent folders) to a VS2005 Web Application (not web site) project.Migration went well. We can build and run the project successfully.But when we comes to deploy vs 2005 web application project we did not find publish web site option unfortunately.So we added a Web deployment project to our web application project. But we could not complie the web deployment projecteven though we can complie out web application project. We encounter the following error in all of our ascx pag...

Problem when deploying Web Application project over VS2005 Web Site project
Hi,  we ran into this issue yesterday evening when we were trying to deploy new code on production box. It was running previous version of our app that was VS 2005 Web Site project, but the new version was migrated into Web App project. New build was tested on sandbox and even on the same production machine (but under different, non public web site configured there) and was working fine. However, when we deployed on production web site, we got this error:Compiler Error Message: CS0246: The type or namespace name 'ProfileCommon' could not be found (are you missing a using directi...

Is it possible to migrate VS2005 Web Application Project to VS2005 Web Site.
Good afternoon.On my first project using VS2005, it was a brand new project so we didn't have to face the migration issue.  As we were developing right after VS2005 was released, we created the code using File | New | Web Site.I have now moved onto my second project and this one is a migration from a previously existing .NET 1.1 codebase to .NET 2.0.   We are currently investigating the best approach for migrating this code from VS2003 to VS2005.  We are thinking that at least initially, we might convert the code into a VS2005 Web Application Project using the steps located at...

Web References in web.config
When creating a web reference in VS2005, entries are added to the web.config file. Anyone know why this is? I don't recall this behavior in VS2003. Is because there is no .csproj file for web projects anymore? What other practical uses does this have? Mark A. Richman From what I understand that is where they decided to put them since there is no project file anymore...  ...

Web Deployment Project & Web Setup Project source code issue...
I seem to be having an issue using the deployment add-in and the web setup project as it pertains to the source code being included in the msi package... I have website that I have tried to deploy to a remote server where I need to run the msi installer.  it runs just fine, but includes the aspx.vb files for each page.  I have tried to follow the directions on MSDN, but they do not mirror the Visual Studio 2005 Web setup project on my machine.  Anyway, is there an option I am missing somewhere to NOT include the vb source files (code behind)?Warren LaFrance Hi Warren,&nbs...

~/Web.config read from project root but written to ...\Common7\IDE\~\Web.config ??
 Hey all,I'm trying to edit my Web.config in runtime, but I get some weird behaviour. Probably something simple I couldn't find on the net. But I'm new to this, so bear with me.In my code I open the ~/Web.config file and it reads it from the rood of my project folder. When I try to save it to ~/Web.config, it writes it to C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\~\Web.config instead.How can the same relative path point to 2 places? Read from here but write to there ?!? How do I solve this?Here is my sample code:Default.aspx<%@ Page Language="C#" ...

Web reference added to web project , different than reference made from winforms app ?
I had someone ask me why they couldnt browse the members of the web service they added a reference to from their web project.  They had a solution open that included both a winforms app and a web application, both of which had a web reference.  The reference made from the winforms app allowed him to browse the members of the web service, while the ref added via the web project did not. why ? I didnt have a good answer, so I just used wsdl.exe and created a proxy class and added it to the web project.  What should I have looked at ?   Hello BitShift,&nbs...

Web resources about - Issue with oracle reference in web.config -

Wikipedia talk:Reference desk/Guidelines/Medical advice - Wikipedia, the free encyclopedia
I disagree with this implication that this section of the guideline represents the consensus. If you look at the last few years of discussion ...

Microsoft dismisses iPad Pro as “a companion device” and references old Steve Jobs stylus quote
... to be a companion device.” Laycock also said that “at one point in time, Apple declared that if there’s a stylus, that’s failure” – a reference ...

New York Times Removes Reference to President Obama and Cable News
... — Noah Rothman (@NoahCRothman) December 18, 2015 The Times story was published Thursday, but by Friday morning, the reference to cable news ...

Can you spot these classic film references hidden in Pixar movies?
The animators at Pixar definitely love to throw in allusions to some of their favorite movies in their own films. Vimeo user Jorge Luengo Ruiz ...

10 hidden references to classic films in your favorite Pixar movies
... Madrid, told BuzzFeed that he noticed a ton of allusions in "Toy Story 3" and was inspired to make a video highlighting the cinematic references ...

See The Classic Movie References Found In Pixar's Greatest Films
... all well aware of just how clever Pixar movies are. These emotionally engaging stories are full of intricate themes and crammed with references ...

Zootopia Trailer Adds a Godfather Reference to Disney Film - Collider
Watch a new trailer for the Disney animated movie Zootopia, which takes place in a world inhabited by talking animals and features Jason Bateman ...

Hillary Clinton Ends Democratic Debate With A Star Wars Reference
The other day, President Obama ended his White House press conference with a reference to The [...]

Review: Klipsch X20i Reference In-Ear Headphones
These Klipsch X20i Reference In-Ear Headphones are pretty darn fantastic, and worth every penny.`

The Force Is Strong With This Sportscaster Who Drops ‘Star Wars’ References Like A Jedi
The Force Is Strong With This Sportscaster Who Drops ‘Star Wars’ References Like A Jedi

Resources last updated: 1/19/2016 7:34:07 AM