Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Incorrect Oracle.DataAccess.ddl reference in web site project

Incorrect Oracle.DataAccess.ddl reference in web site project

Scheduled Pinned Locked Moved ASP.NET
questioncsharporacledotnet
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vanikanc
    wrote on last edited by
    #1

    Hello All, I created a new web site. I need to get data from oracle. So, I installed the ODAC components. To add a reference in my web site, I accidentially, added the dll reference from this location - C:\app\\product\11.2.0\client_1\odp.net\bin\4\Oracle.DataAccess.dll I need to get this dll reference from C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess\v4.0_4.112.3.0__89b483f429c47342\Oracle.DataAccess.dll I keep adding this new reference but it is not adding this new reference as well. How can I change this? Thank you!!!

    R Z 2 Replies Last reply
    0
    • V vanikanc

      Hello All, I created a new web site. I need to get data from oracle. So, I installed the ODAC components. To add a reference in my web site, I accidentially, added the dll reference from this location - C:\app\\product\11.2.0\client_1\odp.net\bin\4\Oracle.DataAccess.dll I need to get this dll reference from C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess\v4.0_4.112.3.0__89b483f429c47342\Oracle.DataAccess.dll I keep adding this new reference but it is not adding this new reference as well. How can I change this? Thank you!!!

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      Delete the first reference?

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me me, in pictures

      V 1 Reply Last reply
      0
      • R R Giskard Reventlov

        Delete the first reference?

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me me, in pictures

        V Offline
        V Offline
        vanikanc
        wrote on last edited by
        #3

        Thank you for your reply. Since this is set up as a web site, there is not reference folder. I right click on project, and add a reference. When I select the dll from the correct location, windows folder, it adds this reference in the web.config file. There is not path specified in the config file. Thanks!!

        R 1 Reply Last reply
        0
        • V vanikanc

          Thank you for your reply. Since this is set up as a web site, there is not reference folder. I right click on project, and add a reference. When I select the dll from the correct location, windows folder, it adds this reference in the web.config file. There is not path specified in the config file. Thanks!!

          R Offline
          R Offline
          R Giskard Reventlov
          wrote on last edited by
          #4

          Never used that bastardized version of a web site. However, just delete the reference from Web.config, then.

          "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me me, in pictures

          1 Reply Last reply
          0
          • V vanikanc

            Hello All, I created a new web site. I need to get data from oracle. So, I installed the ODAC components. To add a reference in my web site, I accidentially, added the dll reference from this location - C:\app\\product\11.2.0\client_1\odp.net\bin\4\Oracle.DataAccess.dll I need to get this dll reference from C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess\v4.0_4.112.3.0__89b483f429c47342\Oracle.DataAccess.dll I keep adding this new reference but it is not adding this new reference as well. How can I change this? Thank you!!!

            Z Offline
            Z Offline
            ZurdoDev
            wrote on last edited by
            #5

            Since you want the reference out of the GAC when you go to add Reference it should show up in Assemblies/Extensions. You should not browse to it.

            There are only 10 types of people in the world, those who understand binary and those who don't.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups