IIS to DSN Oracle using Oracle Instant Client 12.1

Hello

I hope someone here can help me, because it turns out to be a real chore.

I need a web application of .NET in order to connect to an Oracle database.

I use IIS 7.5 on a Web of Windows 2008R2 server 0 x 64 and ASP.NET framework 4.0

I know very little about Oracle, I'm afraid (I'm a dedicated man of SQL Server - sorry!), so I duly donwloaded and installed the 12.1 client instant 0 x 64.

I followed all the instructions, created the environment variables PATH and TNS_ADMIN (located at c:\instantclient_12_1, where are installed the Oracle), I had some problems with a missing 0 x 64 DLL (visual .net distribution mfc100.dll) delivered with the instant client (since this is a production almost Virgin Web server, and I don't want to install anything I don't need) , but I finally managed to make the system ODBC DSN to connect successfully.

The tnsnames.ora file has been provided by the DBA and is as follows;

xxx =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx) (PORT = 1521))

)

(CONNECT_DATA =

(SID = xxxx)

(SERVER = DEDICATED)

)

)

Great, I thought. Now for IIS.

My IIS connection string is of the form;

Dim conn As New Odbc.OdbcConnection("DSN=xxx;) UID = xxx; Pwd = xxx; »)

However, whenever I try to open the said connection, I get the ubiquitous;

"ERROR [08004] [Oracle] [ODBC] [Ora] ORA-12154: TNS: could not resolve the connection identifier specifiedERROR [IM006] [Microsoft] [ODBC Driver Manager] driver's SQLSetConnectAttr failed.

After much research, I came to realize that I'm not the only person with the above error. He seems to be everywhere.

This means that my IIS application is probably not rethink research tnsnames.ora reference?

OK, I thought, let's add all accounts of IIS to the c:\instantclient_12_1 (read and execute). It's IIS do not have access to the tnsnames.ora file permissions, but still no joy.

I also tried to set the identity of the application pool to run under a domain with privalidges account additional IIS, but still the same error.

I tried to play with various permutations of connection string. I tried it;

Dim conn As New Odbc.OdbcConnection ("Driver = {Oracle in instantclient_12_1}; ("Source = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=xx.xx.xx.xx) (PORT = 1521))) (CONNECT_DATA = (SID = xxxx) (SERVER = DEDICATED))); uid = xxx; pwd = xxx") data

and this one...

Dim conn As New Odbc.OdbcConnection ("Driver = {Oracle in instantclient_12_1}; Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=xx.xx.xx.xx) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = xxxx))); uid = xxx; pwd = xxx")

The two caused a completely different error, but all too ubiquitous, it seems;

"ERROR [HY000] [Oracle] [ODBC] [Ora] ORA-12560: TNS:protocol adapter interneErreur [IM006] failedERROR SQLSetConnectAttr in the [Microsoft] [ODBC Driver Manager] [HY000] [Oracle] [ODBC driver] [Ora] ORA-12560: TNS:protocol adapter error.

In order to try the House on it, I tried to write a small VB SCript file to access the DSN using the same connection string, I first tried;

Set adoConnection = CreateObject ("ADODB. Connection")

adoConnection.ConnectionString = "DSN = xxx; UID = xxx; Pwd = xxx; »

It worked a treat, and I was able to connect perfectly. To try to drill down to the problem, I run this file as the domain user, I put IIS to run as, and it worked a treat with IIS authentication information too.

So I'm at the end of my mind. I don't understand why IIS can simply use the system DSN.


Thanks to everyone in advance for their help. It is much appreciated.

Ok. I spent some time on this and managed to get to the bottom of all this.

Here's what the problem was, in the case where everyone faces a similar problem.

By deliberately that gives a bad name DSN (another mistake) and an incorrect password (resulted in the same error), I was able to determine that the problem is really that the tnsnames.ora file is not get referenced. No traffic left the server at all, and so the password was not relevant.

Next step was to check that relax TNS_ADMIN variable has been read by IIS.

I used the command System.Environment.GetEnvironmentVariable ("TNS_ADMIN") to prove it was empty. That explains pretty much everything that. The recently set the environment variable has not been picked up by IIS. It was nothing to do with permissions to the location of the file tnsnames.ora to all. It's a Kipper.

It would seem that, surprisingly, server restart is necessary for the work process IIS pick up new environment variables. Basically this simple problem cost me a lot of time and bother. NOT BELIEVE messages that say the restart of IIS or the application will pick up any changes to the environment variables - IT WILL NOT.

There is a problem more annoying, and it's to make sure that you remove the spaces trrailing on behalf of the Service TNS odbc name box, but it was easier to drill down reletatively for, compared to having to restart the production server.

Thanks ReubenC for your help. I didn't need to go down the road ODP.NET, but thanks for your suggestion. I wish only Oracle would be to write some notes about it, because I'm sure others will hit / have this problem too. It would also be too much to expect Oracle to include all DLLS in the download as well (!)

In any case, I'm glad I'm on the right track.

Tags: Database

Similar Questions

  • Solaris PHP 5.2.12 Oracle Instant Client error

    We test an Oracle Solaris 11 Express Server with the standard installation of Apache and PHP. But we have the Oracle Instant client and module oci8 enabled for applications of our society.

    We did it using the. / pecl install oci8 in usr/php/5.2/bin. We set the LD_LIBRARY_PATH in /etc/apache2/2.2/envvars

    version 32 bit for solaris (x 86) of the Oracle Instant Client 11.2 is installed in/opt/oracle/instantclient_11_2 with the symbolic link.

    envvars:
    LD_LIBRARY_PATH = / opt/oracle/instantclient_11_2
    ORACLE_HOME = / opt/oracle/instantclient_11_2
    ORACLE_BASE = / opt/oracle/instantclient_11_2

    PHP and the oci8 module set the charge.

    phpinfo(); output:

    OCI8
    OCI8 Support enabled
    Version 1.4.6
    Revision $Revision: $313688
    Persistent connections active 0
    Active connections 0
    Oracle Client Run-time Library Version 11.2.0.2.0
    Oracle Instant Client Version 11.2
    A temporary Lob support is enabled

    When we discover everything first a site there is no problem but very random, we get the following error:

    OCIEnvNlsCreate() failed. There is a problem with your system - please check LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries*.

    but when we use echo getenv ("LD_LIBRARY_PATH"); in php, the output is "/ opt/oracle/instantclient_11_2.

    now, the strange, that it's as random as it appears he disappears we can load the web page without a problem and after a few clicks of the error is back. If we wait for a cup of seconds you can reload the page and it loads normally.
    The error seems to be random and we get it over and over again, it comes and goes after a cpl of pages are read. It seems to appear more when there are multiple users browsing the Web site.

    Is there any solution for this? is this a known bug? It seems strange that the instant client works sometimes and fails a second later without a change in the system.
    Hope someone can help us.

    Published by: user10978378 on Sep 3, 2011 04:20

    Action of the host:
    This message has been moved to the Solaris 11 forum the Forum of the OIC for reconciliation of the subject.
    The Solaris forum readers won't have a clue as to the nuances of the OIC.

  • Oracle Instant Client Basic + SDK for AIX (OIC link problem)

    Dear Oracle experts,

    I installed the Oracle Instant Client for AIX, base and the SDK on an AIX server.

    LIBPATH has been export and point to the folder of the Oracle Instant Client. And I successfully build files .o for the program written in c by using OIC.

    However, I met errors when I try to link the .o and oracle files.

    I get the following error message:
    Shell > gcc-L/oracle/instantclient_10.2/-I/oracle/instantclient_10.2/sdk/include/ o someExe main.o someDotOFile.o - lclntsh - lld - lm - lpthreads

    LD: 0711-317 ERROR: Undefined symbol:. OCIInitialize
    LD: 0711-317 ERROR: Undefined symbol:. OCIEnvInit
    LD: 0711-317 ERROR: Undefined symbol:. OCIHandleAlloc
    LD: 0711-317 ERROR: Undefined symbol:. OCILogon
    LD: 0711-317 ERROR: Undefined symbol:. OCIErrorGet
    LD: 0711-317 ERROR: Undefined symbol:. OCILogoff
    LD: 0711-317 ERROR: Undefined symbol:. OCIHandleFree
    LD: 0711-317 ERROR: Undefined symbol:. OCIStmtPrepare
    LD: 0711-317 ERROR: Undefined symbol:. OCIDefineByPos
    LD: 0711-317 ERROR: Undefined symbol:. OCIStmtExecute
    LD: 0711-317 ERROR: Undefined symbol:. OCIStmtFetch
    LD: 0711-345 use - bloadmap or - bnoquiet for more information.
    collect2: ld returned 8 output status
    make: 1254-004 the error code of the last command is 1.

    A few tips on how to solve this problem would be greatly appreciated.

    Thanks in advance

    This error seems to confirm my suspicions, it is due to the fact that main.o (and perhaps someDotOFile.o too) have been compiled for 32-bit.

    You must also add - maix64 when you compile the two objects in source files.

    I mean, I am not sure that the bit incompatibility really is the problem here, but it would at least explain why the linker can't find these symbols in libclntsh.a.

    I guess you made sure that libclntsh.a is in/oracle/instantclient_10.2, right?

    Yours,
    Laurenz Albe

  • not able to connect to the database using the oracle instant client

    Hello

    I am not able to connect to the database using the instant oracle from my local PC client. They use to connect to the database files and sqlnet.ora files LDAP.ora. If I want to test the connection, I found this executable tns wasn't there, so not able to tnsping. So I'm not able to solve this problem.

    Please let me know if a solution for everything

    Client Oracle: oracle 10.2bFAT client 32-bit

    Platform: windows 7 64-bit

    Thank you
    Veera

    There is little that tnsping can do sqlplus can't.

    Instead of
    tnsping mydb.myorg.com
    Try
    sqlplus-s-L /@mydb.myorg.com
    or
    sqlplus-s-L user/[email protected]

    If you get
    ORA-12154: TNS: could not resolve the connect identifier specified
    you know that the customer could not resolve 'mydb.myorg.com '.

    If you get
    ORA-12541: TNS:no listener
    then "mydb.myorg.com" could be resolved, but there is no listener it running.

    If you get
    ORA-12514: TNS:listener is not currently of service requested in connect descriptor
    then "mydb.myorg.com" could be solved, the listener is in place, and the database is out of service.

    If you get
    ORA-01017: name of user and password invalid. connection refused
    you know that 'mydb.myorg.com' has been successfully resolved, and the database is running.

    If you want more details, such as how and what "mydb.myorg.com" is resolved, turn the tracking by adding the following to "sqlnet.ora:
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_DIRECTORY_CLIENT = C:\TEMP (a writable directory)

    Then you will find lines like this in the trace file:

    -THE INFORMATION SOURCE PARAMETER FOLLOWS-
    Attempt to load system pfile source C:\oracle\network\admin\sqlnet.ora
    Source of the setting successfully loaded

    Attempt to load the local pfile source C:\Dokumente und Einstellungen\lanadvall\sqlnet.ora
    The parameter source has not been loaded.

    This shows you which configuration files are read, followed by the settings real read.

    nnfgrne: will read if path adapters
    nnfgrne: switching adapter LDAP

    He's now looking for LDAP name resolution.

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVSSL = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    These are LDAP servers, he is trying.

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    nnfgrne: query fails, the leap to the next map

    Did not work. Try the other adapters:

    nnfgrne: switching adapter EZCONNECT

    snlinGetAddrInfo: name resolution failed for test64.test

    No luck.

    If the resolution is approved, it will look like this:

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVERS = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    niotns: the call to address: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserver.host.myorg.com) (PORT = 1521)) (CONNECT_DATA = (SID = DBNAME) (CID = (PROGRAM = C:\Oracle\ora1020\bin\sqlplus.exe)(HOST=pc247596)(USER=lanadvall)))

    Yours,
    Laurenz Albe

  • SQL Loader for Oracle instant client 11

    I have a problem sqlldr.exe running on a machine having Oralce 11.1.0.6 instant client installed. I already copied all the DLL files it says that he needs and the whole repertoire of a machine with installation complete of RDBMS. This is the error I get:

    + SQL * Loader-704: Internal error: ulconnect: OCIEnvCreate [-1] +.

    I have no problem to connect what either using sqldeveloper. Are there files or the steps I'm missing?

    Thank you
    -Chris

    The add-on only supported for the moment customer is sqlplus, integration of other utilities is not supported. You can just mix DLLs of different software. There are a few documents on workarounds, for example:

    http://www.nyoug.org/presentations/2007/200703_Ji_Instant%20Client.PDF

    But no guarantee that it works and not support of Oracle.

    Werner

  • Using the Instant Client via OIC

    Hello world

    A developer says he has problem to connect to Oracle and I asked how do you connect from his pc. He said that it is "use Instant Client via OIC."

    Is this the normal stuff like Oracle_sid, tnsnames and sqlnet in the pc of the client or something more than that?

    Please enlighten me on this.

    Thank you.

    OIC is the Oracle Call Interface and Instant Client implements this API.

    There is a large painting of OIC and how it fits into the pile of products [url http://download.oracle.com/docs/cd/E11882_01/server.112/e10729/ch7progrunicode.htm#i1005974] Oracle database access.

    Your application can be OIC based, as is the Sql * plus, .net Data provider, thick driver JDBC, etc. etc. (read the description following the figure for more examples).

  • Oracle Instant Client FAQ does not work

    Link to this FAQ work but most of the answers are empty: http://www.oracle.com/technetwork/database/features/oci/ic-faq-094177.html

    Fixed, changes will be out in 30 minutes.

  • Instant client

    Hi friends!
    SQL> select * from v$version
      2  ;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I need to install the Oracle Instant Client in another server to access this database.

    Do I have to install only Instant Client 10.2.0.4 Version or can I use Version 10.2.0.5?

    Please guide me.

    Thanks in advance.

    Nith

    You can install this.

    Check this note MOS * Client / Server / Support of interoperability between different Versions of Oracle [207303.1 ID] *.

  • Instant Client connection problem - Excel 2007 for Oracle 10 g

    Dear users,

    I want help to connect Excel to Oracle.
    I use Excel 2007 (32-bit) on Windows Vista Enterprise 64-bit. I want to connect to a database 10g to Oracle through our local network using ODBC. I need to retrieve data once in an excel sheet.
    There is no firewall or connection between my current computer problems, problems as I can connect to my machine, using SQL developer as a local client to the Oracle database that is located on another machine on the network.
    I tried to make an ODBC connection, but Oracle is not listed as a driver.
    In my view, what ODBC is the best way to do it, but please correct me if I'm wrong.

    It is an Oracle 10 G database.
    I downloaded instantclient-basiclite - 64 - 11.2.0.2.0.zip a windows.x
    I also downloaded the additional ODBC components: * Instant Client Package - ODBC: extra to allow ODBC applications libraries.

    I unzipped in a folder called C:\instantclient_11_2
    The system path include one. I checked after reboot.
    I placed my tnsnames.ora (that I copied from the server) in this folder.
    I got it from the server: D:\Oracle\Ora10gR2DB\network\admin\tnsnames.ora

    I ran the exe "odbc_install" and he told me that the ODBC has been successfully intalled.

    When I went to the Control Panel, administrative tools, ODBC

    On the user dsn tab

    I added a new entry. I chose the Oracle driver (previously it was not in the list)

    Use the following values

    Data Source name: OracleL
    123 description
    The TNS Service name: I chose for my prod environment drop-down list. (There are two entrances with the name of the production, one uppercase and one lowercase)


    UserID: my user name

    I tried the connection Test and got this:

    Unable to connect

    SQlState = S1000
    [Oracle] [ODBC] [Ora] ORA-12545: Connect failed because target host or object does not exist


    Any suggestions please.

    Thnaks in advance.


    A.











    Thanks for all your help in advance.

    Akajohn.

    Published by: user12282521 on May 19, 2011 13:47

    user12282521 wrote:
    I want help to connect Excel to Oracle.

    I use Excel 2007 (32-bit)
    I downloaded instantclient-basiclite - 64 - 11.2.0.2.0.zip a windows.x

    If Excel is 32-bit (2007a) and the Oracle client libraries are 64-bit, it will not work. needs 32-bit 32-bit.
    You should probably remove current ic packages and get the 32-bit instead.
    Start over.

    When I went to the Control Panel, administrative tools, ODBC

    On Windows x 64, to run the 32 - bit ODBC DSN/drivers, we need run the Windows\SysWoW64\odbcad32.exe tool.

  • error in a WPF application using oracle.manageddataaccess.client

    Hello

    We have problems with a WPF MVVM using Oracle.ManagedDataAccess.Client application. We installed oracle.manageddataaccess.dll release 12.1.0.1.0 on a developer machine with 64 bit of Windows 7, Microsoft Visual Studio 2013 and Microsoft .NET Framework 4 OS. Installation seems to be ok and oracle.manageddataaccess.dll results to be registered in .net\assembly\GAC_MSIL c:\windows\microsoft. But when we try to compile the application, the following errors occurs

    Error 175: The ADO.NET provider with invariant name 'Oracle.ManagedDataAccess.Client' not is either not saved in the config machine or the application of the file, or could not be loaded

    errors are caused by the entity data model files (there is an error for each .edmx file).

    Note that the application works on another computer with the same configuration, so I guess that the problem is due to a bad setting on the computer

    any idea?

    Hello

    Finally, we have solved the problem! simply, we uninstalled and reinstalled Visual Studio and Oracle.manageddataaccess in this order. Now it's working. Thank you

  • x 64 application entity Framework using Oracle.DataAccess.Client

    I am trying to build a x 64 application Entity Framework using the current Oracle.DataAccess.Client.  I can launch the application as Any CPU and x 86 using the managed provider, but when I compile for x 64, I get the error below when running. If I change the provider to Oracle.ManagedDataAccess.Client it works with x 86 and x 64 compiler.  Unfortunately, we are unable to use the managed provider until the xml is supported.  I have two clients x 86 and x 64 installed.  Any ideas?

    System.Data.EntityException was not handled

    HResult =-2146233087

    Message = the underlying provider failed to open.

    Source = System.Data.Entity

    StackTrace:

    at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf (Boolean openCondition, storeConnectionToOpen of DbConnection, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean & closeStoreConnectionOnFailure)

    at System.Data.EntityClient.EntityConnection.Open)

    at System.Data.Objects.ObjectContext.EnsureConnection)

    to System.Data.Objects.ObjectContext.SaveChanges (SaveOptions options)

    at System.Data.Entity.Internal.InternalContext.SaveChanges)

    at System.Data.Entity.Internal.LazyInternalContext.SaveChanges)

    at System.Data.Entity.DbContext.SaveChanges)

    at EntityFramework1.EFTest.AddItem (c:\TFS2012\AD). NYSAS. ICPC\DEV\M01\EntityFramework1\EntityFramework1\EFTest.cs:line 21

    at EntityFrameworkConsole.Program.Main (String [] args) in c:\TFS2012\AD. NYSAS. ICPC\DEV\M01\EntityFramework1\EntityFrameworkConsole\Program.cs:line 12

    at System.AppDomain._nExecuteAssembly (RuntimeAssembly assembly, String [] args)

    at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly)

    at System.Threading.ExecutionContext.RunInternal (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

    at System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

    at System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback callback, Object state)

    at System.Threading.ThreadHelper.ThreadStart)

    InnerException: Oracle.DataAccess.Client.OracleException

    HResult =-2147467259

    Message =""

    ErrorCode =-2147467259

    StackTrace:

    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper (Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx * pOpoSqlValCtx, ByVal src, String procedure, Bcheck Boolean, Int32 isRecoverable)

    at Oracle.DataAccess.Client.OracleException.HandleError (Int32 errCode, OracleConnection conn, IntPtr, Object src opsErrCtx)

    at Oracle.DataAccess.Client.OracleConnection.Open)

    at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf (Boolean openCondition, storeConnectionToOpen of DbConnection, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean & closeStoreConnectionOnFailure)

    InnerException:

    Here is my web.config (less sensitive information):

    <? XML version = "1.0" encoding = "utf-8"? >

    < configuration >

    < configSections >

    < section name = "EF" type = "System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, Entity Framework, Version = 5.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089' requirePermission ="false"/ >"

    < / configSections >

    < Entity Framework >

    < defaultConnectionFactory type = "System.Data.Entity.Infrastructure.LocalDbConnectionFactory, Entity Framework" >

    < Parameters >

    < setting = "v11.0" / >

    < / Parameter >

    < / defaultConnectionFactory >

    < / Entity Framework >

    < connectionStrings >

    < add name = 'Entities' connection string connectionString="metadata=res://*/Models.EFEntities.csdl|res://*/Models.EFEntities.ssdl|res://*/Models.EFEntities.msl;provider=Oracle.DataAccess.Client;provider = & quot; data source = DATASOURCE; password = PASSWORD; persist info security = True; user ID = username & quot; "" ProviderName "/ >

    < / connectionStrings >

    < / configuration >

    Alex,

    Finally, we have solved the problem.  It turns out that we had a bad x 64 home path in the PATH variable.  I lost track of what it was originally, but I'm sure the x 64 bin path was correct. I did not notice that it was wrong, until I tried to install the full client and began to see an error indicating that it was missing a dll.  This led me to a post on the forum, in which you indicated that the PATH variable has not been set (ODAC 12 c for xcopy issues).  In our case, it is not missing, just fake.

    This is the behavior that we see if the PATH variable for the home directories and bin is incorrect:

    • Full client: an error of external system (no exceptions).  The error message is that the oraons.dll is missing.
    • XCOPY customer: generates an exception without error message.  The Exception.Message property is empty and there is no inner exception.

    Can the ODP team can add a meaningful message for this exception?  If the exact error cannot be highlighted during execution, a generic name on the path audit would help enormously.  I must have looked at it a dozen times and didn't notice that it was false.  If I had no idea that this could be the cause, it would be discussed more in detail, or had someone else Verify that it was correct.  I hope that we would have solved much earlier.

    Thank you.

  • How to use oracle.jbo.client.remote.ejib. *?

    Hello
    I think that the oracle.jbo.client.remote.ejib. * package to simplify the interface EJB citing, right? But how to use oracle.jbo.client.remote.ejib. *? example of use code is perfect! Thank you!

    Published by: EdwardXiao on September 18, 2011 19:29

    I'm not sure about the question that you asked... but if you are looking for use, see
    http://radio-weblogs.com/0118231/stories/2004/05/07/handcodingDynamicDiscoveryOfEjbdeployedAppmodule.html

  • Oracle.manageddataaccess.client with Silverlight with Ria Services + c#

    Hello guys.

    I have a c# Silverlight + Oracle dashboard with RIA services.

    I published in my computer and it work ok. But in the server it doesn´t run.

    I don't know what to do. It works just before.

    My web.config:

    ---***---***---***---***---***---***---***---***---***---***---***---***

    <? XML version = "1.0"? >

    (<!-copyright ©) Microsoft Corporation.  All rights reserved. ->

    < configuration >

    < configSections >

    "< name =" article oracle.manageddataaccess.client"type =" OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

    < / configSections >

    < system.web >

    < debug compilation = "true" targetFramework = "4.0" / >

    < system.web >

    < system.data >

    < DbProviderFactories >

    < remove invariant = "Oracle.DataAccess.Client" / > "

    < remove invariant = "Oracle.ManagedDataAccess.Client" / > "

    "< add name =" ODP.NET, successful pilot"invariant =" Oracle.DataAccess.Client.

    Description = "Oracle Data Provider for.NET, successful pilot"

    Type = "Oracle.ManagedDataAccess.client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.1.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / > "

    < / DbProviderFactories >

    < system.data >

    < system.serviceModel >

    < links >

    < customBinding >

    < binding name = "Painel.Web.Service.customBinding" >

    < binaryMessageEncoding / >

    < httpTransport / >

    < / binding >

    < / customBinding >

    < / links >

    < serviceHostingEnvironment aspNetCompatibilityEnabled = "true" multipleSiteBindingsEnabled = "true" / >

    < services >

    < name = "Painel.Web.Service service" >

    "< endpoint address =" "binding ="customBinding"bindingConfiguration =" Painel.Web.Service.customBinding "contract =" Painel.Web.Service"/ >"

    < endpoint address = link "mex" = "mexHttpBinding" contract = "IMetadataExchange" / >

    < / service >

    < / services >

    behaviors of <>

    < serviceBehaviors >

    behavior of <>

    < serviceMetadata httpGetEnabled = "True" / >

    < serviceDebug includeExceptionDetailInFaults = "false" / >

    < / behavior >

    < / serviceBehaviors >

    < / behaviours >

    < system.serviceModel >

    < system.webServer >

    < runAllManagedModulesForAllRequests modules = "true" / >

    < system.webServer >

    < oracle.manageddataaccess.client >

    < version number = "4.121.2.0" >

    < Parameters >

    < name of the parameter = value 'TNS_ADMIN"="C:\instantclient"/ >

    < / Parameter >

    < / version >

    < /oracle.manageddataaccess.client >

    < / configuration >

    ---***---***---***---***---***---***---***---***---***---***---***---***

    The message using Server doesn´t:

    ---***---***---***---***---***---***---***---***---***---***---***---***

    Exception information:

    Exception type: ConfigurationErrorsException

    Exception message: Nao faith possible carregar o tipo System.ServiceModel.Activation.HttpModule assembly System.ServiceModel, Version = 3.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089.

    ---***---***---***---***---***---***---***---***---***---***---***---***

    Any help?

    Thanks in advance.

    Luis

    Guys,

    I modify the machine.config to the machine.config.default and everything works.

    Thanks again for your help.

    Luis

  • Oracle.ManagedDataAccess.Client no Oracle client deployment

    Hello

    We are trying to deploy our application on a server that has no Oracle client installed. We use the managed dll dataAccess with entity framework 5. Our web.config file contains the following:

    < connectionStrings >

    < add name = "CroEntities" connection string connectionString="metadata=res://*/CroModel.csdl|res://*/CroModel.ssdl|res://*/CroModel.msl;provider=Oracle.ManagedDataAccess.Client;provider = & quot; DATA SOURCE =oracle; PASSWORD = password; PERSIST SECURITY INFO = True; USER ID = user & quot; "" ProviderName "/ >

    < / connectionStrings >

    < Oracle.ManagedDataAccess.Client >

    < version number = "4.121.1.0" >

    < dataSources >

    "" < alias dataSource = "oracle"descriptor ="(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.bc.ca) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = serviceName.bc.ca)))" / >

    < / dataSources >

    < / version >

    < /Oracle.ManagedDataAccess.Client >

    Oracle.ManagedDataAccess.dll is in our Bin folder.

    At run time, we get the following error: ORA-12541: TNS: no listener.

    The earpiece works very well. My thought is that something is missing in our configuration. When we add some debug information for the value of context. Database.Connection.Database we get empty string that make me think that the information in the configuration file does not in the run-time application.

    Any thought on what might be missed?

    Thank you

    Ken

    The XML tag should be . All lowercase. In your configuration file, you pulled profit some letters in the tag. It's probably why ODP.NET can't read XML.

  • Failure of Oracle.DataAccess.Client on the Prod Server

    Our site Asp.net/Vb.net (.net 4) fails to load when left dev for the production. Works without problems on Dev

    (Dev is Windows 7 32-bit)

    (Production is Server 2008 64-bit)

    Application pool is .NET v4.0, 32-Bit = True, the PipeLine Mode = Integrated

    The site connects to an Oracle 11 g via ODAC 12 c Release 2 (12.1.0.1.2) base the same version has been installed on the Production as well.

    We use TNSNAMES, it has been tested on Production and works.

    What I am doing wrong?

    Below is the error I get.

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Unhandled Execution Error
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Oracle.DataAccess.Client.OracleException:

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

    Stack Trace:


    [OracleException (0x80004005)]
      
    Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck, Int32 isRecoverable) +1601
      
    Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) +61
      
    Oracle.DataAccess.Client.OracleConnection.Open() +5329
      cpsweb
    .com.clsDB.Get_DataTable(String sSQL) in D:\SourceVaultLocal\WebSites\cpsweb.com\CPS_Code\clsDB.vb:42
      cpsweb
    .com.clsSec_Security.isVisible(String sPageName, Object& oObj) in D:\SourceVaultLocal\WebSites\cpsweb.com\CPS_Apps\Sec_WebSite\Code\clsSec_Security.vb:50
      cpsweb
    .com._Default.Page_Load(Object sender, EventArgs e) in D:\SourceVaultLocal\WebSites\cpsweb.com\Default.aspx.vb:20
      
    System.Web.UI.Control.OnLoad(EventArgs e) +91
      
    System.Web.UI.Control.LoadRecursive() +74
      
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

    --------------------------------------------------------------------------------

    If it turns out that.  The drivers do not install correctly.

    I added the following key

    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\

    key = 'NLS_LANG.

    value = "AMERICAN_AMERICA. UTF8.

    do you have an iisreset, and of course the site came right up.

Maybe you are looking for

  • option

    my phone just says 'search' in the top left corner and I can't make phone calls, and I can only text or use internet if I'm on wifi.  I did anything to stop but nothing works

  • Skype crashes just after the start

    As of today, I suddenly have problems with my Skype program. Once I open the program and connect to my Skype account crashes. I tried to find solutions, but there is very little to find on the subject.I run Skype on windows 8.1This is the error log:

  • Why only part of the "basler GIGe scout" cameras are NEITHER taken care of?

    Is the pag web cameras OR update support?

  • failure to activate windows Genuine xp home

    I have windows xp home key but I lost my disc. I used another drive on xp home to install and put my key while activating. I selected activate via the internet and had option your windows message has been activated. Now when I restart my PC it asks o

  • HP C7280 printer all-in-one - it's will work with 802.11n wireless networks?

    currently a hp c7280 printer all-in-one that supports 802.11 networks G, but will it work if I install a new router configured for a 802.11n network? I need to download any new drivers or software if I upgrade the routers? Thank you, Glenn