odac

Oracle Instant Client and Entity Framework trouble with configuration

落花浮王杯 提交于 2019-12-18 01:06:33
问题 I'm trying to learn and figure out if it is possible to deploy an MVC, EF, ODAC 11.2.0.3 app to a server that has a previous version of ODP.NET installed. Rather than updating the sever ODP.NET (which I can't), I figured I could use the Oracle Instant Client. Is this doable? 1) I added these dlls to my project to support Instant Client -Oracle.DataAccess.dll -oci.dll -ociw32.dll -orannzsbb11.dll -oraociei11.dll -OraOps11w.dll 2) Next I updated web.config for the dbProviderFactories <system

How to insert date in an Oracle relational database using C#

你说的曾经没有我的故事 提交于 2019-12-13 09:39:34
问题 I have Date Var in Oracle, and I try to insert Data from my C# program sql = "insert into Table(MyDate) values (" + convert.todatetime(txt) + ")"; I get an Error, what can i do ? 回答1: cmd.CommandText = "INSERT INTO Table (myDate)VALUES(:dateParam)"; cmd.Parameters.Add(new OracleParameter("dateParam", OracleDbType.Date)) .Value = DateTime.Now; cmd.ExecuteNonQuery(); 回答2: Use parameters. It's going to solve your problem and prevent injection. 回答3: Oracle expects it to be an actual date value,

ODAC & C# - TNS: Connect timeout occurred - Connecting only through VS2005 debugger

情到浓时终转凉″ 提交于 2019-12-12 19:08:01
问题 I am new to Oracle, and there is an issue I am facing. When I run the application from IDE - Visual Studio 2005, The database connection is established smoothly, but when I run an installed version of the app, the DB connection fails and I get a TNS: Connect timeout occurred error. I tried with SQLNET.ORA and similar solutions found online, but I could not resolve the issue. I wonder why this happens, since the application running through the IDE and through an installation is on the same PC.

Oracle OLE DB Provider not Listed in SSIS

血红的双手。 提交于 2019-12-12 12:04:53
问题 I'm having an issue with SSIS and VS2015 CM. I have a package that needs to connetc with Oracle to get some data. I installed the ODAC for Win64 and the Oracle client but I can't see the Oracle provider for OLE DB listed in the providers list. Although I can see the Microsoft OLE DB provider for Oracle it doesn't work when I try to use that provider either. What should I do to get the Oracle OLE DB provider listed? 回答1: You have to download and install the Oracle Data Access Components (ODAC)

oracle 11g r2 - deploying dbmsclr.plb as sysdba after ODAC installation

对着背影说爱祢 提交于 2019-12-12 00:16:07
问题 I just finished installing ODTwithODAC112012 on my system. Now I am trying to deploy dbmsclr.plb But I am getting the error SP2-024 nothing to change. Here is the command window:- C:\>sqlplus /nolog SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 14 22:59:39 2012 Copyright (c) 1982, 2010, Oracle. All rights reserved. SQL> connect sys/Bel29072012 as SYSDBA Connected. SQL> C:\app\thoshiba\product\11.2.0\dbhome_1\RDBMS\ADMIN\dbmsclr.plb SP2-0024: Nothing to change. SQL> select count(*) from

odac setup error ins-50013 Oracle Developer Tools for Visual Studio .NET Error

牧云@^-^@ 提交于 2019-12-11 18:19:29
问题 I move from here Beyond it is the same issue. The problem i am facing is different. I want to install ODAC 122011. I have windows 64 bits.. And i am using Visual Studio 2017/2019 32bits. I intented to install ODAC 64 bits, but, due to my Visual Studio version is 32 bits, i am trying to install ODAC 122011 called ODTwithODAC122011.zip . It is the ODAC 122011 32 bits i found. When i run the setup, I face this problem.. Following this article I installed ODTforVS2017_122011.exe I think it was

Input string was not in a correct format and ORA-01465: invalid hex number

允我心安 提交于 2019-12-11 17:26:46
问题 Development Platform/Tools I use: (OS: XP with SP3 IDE: VS2010 with SP1 / ASP.NET 4.0 ADD-IN: Oracle ODT with ODAC 11.2 Database: Oracle 10.2g This is a continuation of my yesterday's concern (please see How To Insert USERID (Type: Raw, Size: 16) from Ora_aspnet_users to Another Table ). I am now able to insert the Raw datatype if I will use HARDCODED username/userid in DropDownList. However, if I create a Datasource to become DYNAMIC the username/userid, it will thrown error as indicated in

How to uninstall deprecated Oracle Data Provider?

北战南征 提交于 2019-12-11 14:38:40
问题 I am trying to install Oracle Developer Tools for Visual Studio 2015 so that I can connect to a remote 11g database from SSRS/Visual Studio Projects in general, from my dev machine. When I go to the downloads page, I see this: So I went to Visual Studio to determine whether I already had ODT, and found this: However, I don't think I installed this ODP, and it just came with the Visual Studio installation. Is there a way to uninstall this provider, or am I OK to just install the new ODT over

Why is current Oracle ODAC connectability not visible in VS 2013?

我的梦境 提交于 2019-12-11 12:46:15
问题 I'm trying to setup my first Oracle database connection in Visual Studio 2013 and the only option available for the Data Source is a selection "Oracle Database". But that selection says it's deprecated (and it doesn't even allow me to choose the schema as I could do in VS2012, regardless, so it's unusable). I already have an ODAC installed that works great for VS 2012 (11.2.0.3). Is there any way to get VS 2013 to recognize that I already have that installed (tried putting in a reference to

InstallAllOracleASPNETProviders doesn't work correctly

瘦欲@ 提交于 2019-12-11 12:14:30
问题 I am using asp.net mvc 3 and oracle database with ODAC1120240Beta_EntityFramework. I want to do authorization in my site. Database works correctly, I can do everything with Database data, but if I go to ASP.NET Configuration -> Provider I see only AspNetSqlMembershipProvider . InstallAllOracleASPNETProviders doesn't work correctly. All functions, views and packages were created succesully. I do all using this Oracle Guide Here is part of Oracle Database Output after executing this script from