odac

Oracle Universal Installer is stuck on step 7 out of 10

让人想犯罪 __ 提交于 2020-03-05 01:37:13
问题 I have a previous laptop where my c# code is connected to oracle database and had no problem when I installed there the Oracle Universal Installer. But then it crashes and now I am transferring my project to a different laptop. Now when I tried to run my codes on the new laptop, it has now error such as below: System.TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception. ---> Oracle.DataAccess.Client.oracleException: The provider

How To Insert USERID (Type: Raw, Size: 16) from Ora_aspnet_users to Another Table

好久不见. 提交于 2020-01-16 19:15:32
问题 Sorry I cannot upload the screenshot due to the limited number of my reputation since I am a newbie here. ora_aspnet_user table with column name userid with datatype of Raw(16) link to Instruct Table with userid with datatype of Raw (16) - Other columns is ID (Auto Trigger No), Command (Varchar2 = 256) MY INLINE ASPX CODE: <form id="form1" runat="server"> <div> <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataSourceID="SqlDataSource1" DefaultMode="Insert" Height=

SSMA unable to find specified provider

橙三吉。 提交于 2020-01-03 05:58:07
问题 i've installed the full oracle client 12.2.0 and i'm trying to migrate some db from oracle to sql server with SSMA, but when i try to connect to oracle i get the folowing error: Unable to find specified provider. Compatible Oracle Data Access Connectivity libraries were not found on the machine. I've already set the environment's variables HOME_ORACLE and the PATH was set by default during the installation, so i exclude that the problem is there. I've also searched about the ODAC, and all

Oracle ODP.Net With Entity Framework 6 - Entity framework database compatible provider could not be found

拜拜、爱过 提交于 2019-12-29 11:46:17
问题 I am trying to build an MVC 5 Web application with Entity Framework 6 that works on Oracle Database , am trying to use ODAC 12c Release 3 which includes support for Entity Framework 6 Code First and Code First Migrations; NuGet, .NET Framework 4.5.2; and ODP.NET, Managed Driver XML DB. As per http://www.oracle.com/technetwork/topics/dotnet/whatsnew/index.html I have VS 2013 Community Edition update 4 . Am trying to add Model using ADO.Net Entity Data Model , With Code First. I have the

Split Entity mapping producing unexpected results with oracle database

不羁的心 提交于 2019-12-25 03:48:07
问题 i am currently using the following mapping to map a split entity and is producing unexpeted results it is trying to map a table public class TestResultMap : EntityTypeConfiguration { public TestResultMap() { #region Property => Column Mapping //test table Property(e => e.Id) .HasColumnName("TEST_NUMBER"); Property(e => e.Analysis) .HasColumnName("ANALYSIS"); Property(e => e.ComponentList) .HasColumnName("COMPONENT_LIST"); Property(e => e.Status) .HasColumnName("STATUS"); //result table

Assertion failure in DBAccess.pas

谁说胖子不能爱 提交于 2019-12-25 01:59:50
问题 I am interested in upgrading a suite of software from ODAC v5 to v8.2.8. One app in particular is causing problems. This application loads one of a set of secondary applications implemented as dlls. LibHandle := LoadLibrary(PChar(dllname)); if LibHandle <> 0 then begin @showForm := GetProcAddress(LibHandle,'ShowMainDllForm'); if (@showForm <> nil) then begin try ShowForm(Application.Handle, @FGlobalVars, 1); The launcher is fine - it has its own database connection, and I can step through the

ODAC seems to be caching table schema?

爷,独闯天下 提交于 2019-12-23 02:47:12
问题 I'm using Oracle's ODAC.NET for a .NET 3.5 project against an Oracle 11 Express database, and I'm seeing behavior that I can't explain (and can't seem to work around). ODAC should be the latest, I just pulled it 3 days ago, but the versions are as follows: Oracle.DataAccess.dll version 2.112.3.0 (release 5) oci.dll (instant client) version 11.2.0.1 I have a Table, People, that has 3 columns: ID FirstName LastName In code I run an ALTER TABLE command, using OracleCommand.ExecuteNonQuery , to

Get value of Oracle OUT parameter from a stored procedure call using Dapper.NET

折月煮酒 提交于 2019-12-19 05:51:17
问题 Edit: Using the Execute method instead of the Query / QueryMultiple methods, my OUT_SUCCESS parameter now has an AttachedParam with with an OracleParameter that has the returned value. So this would work if, for instance, I only needed to retrieve non-cursors parameters. Then I could use Execute for procedures with all non-cursor output parameters and Query / QueryMultiple for procedures with only cursor output parameters. But what if I need to call a stored procedure that has both cursor and

Get value of Oracle OUT parameter from a stored procedure call using Dapper.NET

大憨熊 提交于 2019-12-19 05:50:30
问题 Edit: Using the Execute method instead of the Query / QueryMultiple methods, my OUT_SUCCESS parameter now has an AttachedParam with with an OracleParameter that has the returned value. So this would work if, for instance, I only needed to retrieve non-cursors parameters. Then I could use Execute for procedures with all non-cursor output parameters and Query / QueryMultiple for procedures with only cursor output parameters. But what if I need to call a stored procedure that has both cursor and

OracleConnection is throwing empty exception

人盡茶涼 提交于 2019-12-18 07:07:09
问题 I'm trying to connect to my Oracle Database from my new PC. I've just installed Visual Studio and the ODAC. But when I try to do a simple connect Im getting an exception with an empty message, empty source, empty number, just with the error code which is -2147467259 . OracleConnection Prueba; Prueba = new OracleConnection("Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=XXX.XXX.XXX.XXX)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XXXX)));User Id=XXX;Password