Using Oracle.Data.DLL vs. built in tools in VStudio2008

hi. i've just recently installed oracle xe and am playing around with it to familiarize myself with the tool.
i've also stumbled across the oracle's .net developer guide (b25312-01.pdf).
my question is - do i have to use the oracle tools or can i just use the generic stuff that's provided by vstudio? i've managed to create a form, connect to my oracle xe database, and using the built in vstudio data sources tools, i've created a data entry form.
does anyone have any comments on the dangers of not using the oracle developer tools? or is the same stuff?
i'm just now making my way through the documentation but it's over 100 pages... so i thought if someone has any experience / comments with this, i'd appreciate it.

hi. i've just recently installed oracle xe and am playing around with it to familiarize myself with the tool.
i've also stumbled across the oracle's .net developer guide (b25312-01.pdf).
my question is - do i have to use the oracle tools or can i just use the generic stuff that's provided by vstudio? i've managed to create a form, connect to my oracle xe database, and using the built in vstudio data sources tools, i've created a data entry form.
does anyone have any comments on the dangers of not using the oracle developer tools? or is the same stuff?
i'm just now making my way through the documentation but it's over 100 pages... so i thought if someone has any experience / comments with this, i'd appreciate it.

Similar Messages

  • Problem using oracle.dataaccess.dll

    Hi,
    I have an web application which uses Oracle.DataAccess.dll to communicate with and Oracle db. The web application deployed on 32 bit windows system works but not on windows server 2008 64 bit. I installed 10204_vista_win2k8_x64_production_db package, referenced the installed dll (version 2.102.4.0) from the project but I get the following error:
    Could not load file or assembly 'Oracle.DataAccess, Version=2.102.4.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
    Any help is appreciated. Thanks in advance.

    I had this problem too.
    I have not found any way to get ODP to work on a 64 bit machine. I have gone through more than 30 permutations of install combinations and all have their problems.
    Your's is one I remember.
    The error message does not give a good description of the problem. It CAN find it, but it can't load it.
    The main problem in my opinion is that Visual Studio is a 32 bit app and so are its tools. MS will say that is no big deal because they don't want to rewrite native code sooner than they have too. It is going to stay that way for 2010. Visual Studio is going to load a .dll to connect to Oracle in server explorer and in any datasets you have created with the designer...its going to use a 32 bit .dll now your application wants a 64bit .dll... see the problem? I beleive that when you install the ODP registry settings are made for viual studios sake, but I don't know what happens under the hood.
    Does visual studio give you any option at all to choose what assemblies to use for the IDE tools? nope
    I have tried 32 bit client, 64 bit client, ODACwithODP and every combination of them in every version oracle offers on their download site. Nothing worked 100%.
    I got
    1) "cannot load file x" when x is at the specified path
    2) BadImageFormat exception
    3) App worked but visual studio tools crashed the IDE
    4) installed all 3, but used the old system.data.oracleclient and tools worked sluggish or crashed.
    You can also combine the problem of Oracle provider along with the fact that 1/2 of Visual Studio's tools don't care about 64 bit programming. For example, I made a wcf service that as going to access my database. Well, guess what you can't use Visual Studio's WCF debugger because WcfSvcost.exe is 32 bit. Will it give you an informative error message? nope. Just a BadImageFormat Exception with no clue which file is causing the problem. spent a week of precious time on that one and thought it was an oracle provider issue.
    I have given up using ODP for now and am forced to use (4) System.Data.OracleClient just for the sake of getting any coding done at all instead of hacking my environment. It sucks. I got that working by installing 11r2 64 bit client in one home and 11r2 64bit client in another, then ODP in a 3rd. That way I can still use more friendly tools made for Oracle and let VS use the 32 bit client with the old System.Data.OracleClient dll.
    If anyone has the magic step but step to get both a working IDE with its tools remaining functional along with a working application on Windows 7 64bit, than please please let me know!

  • Is Oracle Data Cartridge a built in component of Oracle 8?

    Is Oracle Data Cartridge a built in component of Oracle 8? Or
    is it an add on item which needs to be purchased separately?
    Thanks,
    Adam Tadj
    [email protected]
    Opinions expressed or questions asked are mine not of my
    employer.
    null

    Well, I am a novice, but I think all of the posts have hit on something. The web fron end application was built with a combination of Visual basic and Visual Studio 2003. My one question now that the curiosity has been settled about why the table is there is now, when and how does it actually get created. I am trying to retrace the steps of the original developers. i.e, was the table automatically created, once the Development software attached to the database, and did the database realize, "hey a .net development program is trying to access me", let me create the MICROSOFTDTPROPERTIES Table.
    because another utility table they seem to have is something called GTMBAVERSION. It also only has one row, and it has columns called
    Major, Minor, Revision, and Versiondate
    The data in those columns, respectivley are 3, 0, 1, 12/5/2003 3:26:49 PM
    Now two of the "user accounts" within the tables are GTMBA, and GTMSM. In terms of owners, those are the two owners of those two tables.
    Inside of the .net program, the gtmsm account is used to make the actual connection to the database.

  • How to define data-sources-alias.xml to use Oracle data source

    Hi,
    I created Oracle jdbc Data Source named "MYDS" in Visual Admin.  I added the alias = MYDS_ALIAS.  I set the Initial Connection to 2.  On the Monitor tab, I see a green line running across the screen.  The datasource MYDS is connected to the Oracle.
    Now, I would like to define "data-sources-alias.xml" to use MYDS.
    When creating data-source-aliases.xml it creates the alias by default on ${com.sap.datasource.default} which is the default DB.
    I followed the link --> How to point data-source-aliases.xml to another Datasource
    and my data-sources-alias.xml is now:
    <data-source-aliases>
         <aliases>
              <data-source-name>$</data-source-name>
              <alias>BRANCH50DS</alias>
         </aliases>
    </data-source-aliases>
    The "EAR generatation has finished successfully", but when "Deploy to J2EE Engine", I got the error below:
    1) How to define data-sources-alias.xml to use Oracle data source?
    2) I found the link (SDA Deployment error) talking about "sda-dd.xml".  How to create "sda-dd.xml" and make it use substitution variables "MYDS"
    Dec 20, 2005 3:53:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [003]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
    <!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051220205339.log]/>
    <!PATTERN[sdmcl20051220205339.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Dec 20, 2005 3:53:39 PM  Info: -
    Starting deployment -
    Dec 20, 2005 3:53:39 PM  Info: Loading selected archives...
    Dec 20, 2005 3:53:39 PM  Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp856850022Ear.ear'
    Dec 20, 2005 3:53:40 PM  Info: Selected archives successfully loaded.
    Dec 20, 2005 3:53:40 PM  Info: Actions per selected component:
    Dec 20, 2005 3:53:40 PM  Info: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: Saved current Engine state.
    Dec 20, 2005 3:53:40 PM  Info: Error handling strategy: OnErrorStop
    Dec 20, 2005 3:53:40 PM  Info: Update strategy: UpdateAllVersions
    Dec 20, 2005 3:53:40 PM  Info: Starting: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
    Dec 20, 2005 3:53:40 PM  Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\50022Ear\localhost\2005.12.20.15.53.28\temp856850022Ear.ear
    Dec 20, 2005 3:53:40 PM  Info: Software type of SDA: J2EE
    Dec 20, 2005 3:53:40 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Info: Begin of log messages of the target system:
    05/12/20 15:53:40 -  ***********************************************************
    05/12/20 15:53:41 -  Start updating EAR file...
    05/12/20 15:53:41 -  start-up mode is lazy
    05/12/20 15:53:41 -  com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeTempEar(DeployManagerImpl.java:3727)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewEar1(DeployManagerImpl.java:3695)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:523)
                              at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:512)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:196)
                              at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
                              at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
                              at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
                              at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
                              at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
                              at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
                              at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
                              at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:127)
                              at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:96)
                              at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:67)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:324)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
                              at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
                              at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:81)
                              at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
                              at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
                              at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:280)
                              at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
                              at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
                              at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
                              at java.lang.Thread.run(Thread.java:534)
    05/12/20 15:53:41 -  ***********************************************************
    Dec 20, 2005 3:53:41 PM  Info: End of log messages of the target system.
    Dec 20, 2005 3:53:41 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Dec 20, 2005 3:53:41 PM  Error: Aborted: development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28':
    Caught exception during application deployment from SAP J2EE Engine's deploy API:
    com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Dec 20, 2005 3:53:41 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Dec 20, 2005 3:53:41 PM  Error: -
    At least one of the Deployments failed -

    Hi,
    If you remove the $ and braces (as shown below) it will work.
    <data-source-aliases>
    <aliases>
    <data-source-name>MYDS</data-source-name>
    <alias>BRANCH50DS</alias>
    </aliases>
    </data-source-aliases>
    Regards,
    S.Divakar

  • Oracle EBS R12 - DR setup using Oracle Data Guard

    Hi,
    Our customer has implemented Oracle EBS R12 (12.0.6) on a Two Node RAC on HP-UX env. The application Tier also has Two Nodes(Admin Tier and Web Tier).
    Oracle Clusterware - OCR and Vote Disk are on Raw Devices and the EBS database is on ASM.
    Customer wants to implement a DR solution with Oracle Data Guard with only 2 servers - 1 for the Database Tier and 1 for the Application Tier on the DR Site.
    I would like to know if this could be done by following note: 452056.1? I would also like to know if there are other useful docs.
    Thanks.
    Thiru

    Hi,
    Customer escalated this issue to Oracle and they came up with this reply:
    They can implement Disaster recovery solution from RAC to NON RAC using Solution A which use RMAN utilities for backup and recovery.
    While now AMP Application Management Pack gives the capablitiy to build non RAC from RAC Envioment, In future AMP will be capable also to support cloning of DB with Data Guard.
    Details
    Solution A - Using RMAN:
    For Release 12 customers, you can clone from a RAC to RAC (like to like) or RAC to non-RAC. This is using RMAN scripts to take a copy of the db when it’s in archive mode. if you’re leveraging any disaster recovery tools like data guard, the above solution should work fine…perhaps some fine tuning to the procedures
    Solution B - Using AMP in the future release
    For Release 11i , Release 12.x customers, AMP would be offering a new cloning solution that wouldn’t have dependency on Rapid Clone. This solution leverages the strengths of EM Grid Control in provisioning or cloning targets such as databases. This would be an advance solution that would support:
    o A full-fledged scale down cloning
    o Cloning of EBS deployed on Shared File System
    o Hot and Cold mode cloning
    o Quantifiable reduction in clone time for the entire EBS system
    This solution would be leveraging EM grid Control’s DB provisioning pack’s clone utilities, that are quite advanced and support cloning of DB with Data Guard.
    The recommendation is to start trialing AMP version 3.0, making the purchase and implementing within the Enterprise. As we release the new version of AMP (release 3.0.1), Customer would be in a better position to quickly implement the latest features
    Can anyone let me know if the solution A suggested will work.
    Rgds,
    Thiru

  • Using Oracle Data Miner for Future Sales Prediction

    Hi ,
    I have one question on predicting the sale for next 5 years  along with month  the data as follows.
    YEAR  Month  Total_Sale
    2009    1          88187
    2009     2         87654
    2009     3         87656
    2008     1         10000
    2008     2          30000
    2008     3          40000
    How to do this in Oracle data Miner ie  the prediction of sale for next years like 2014,2015 etc.?
    The expected output
    is as follows.
    2014      1       2000
    2014       2      3000
    2014       3      9000
    2014      4       234
    2015       1      2344
    2015       2      4000
    and so on for all the 12 months and year.
    CREATE TABLE "SALE_GROWTH"
       ( "YEAR" NUMBER(*,0),
    "MONTH" NUMBER(*,0),
    "TOTAL_SALE" NUMBER
    REM INSERTING into SALE_GROWTH
    SET DEFINE OFF;
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2009,1,881725);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2009,2,1036585);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2009,3,1406252);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2009,4,550700);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2009,5,985413);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2009,6,727485);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2009,8,228480);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2008,9,699);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2008,10,446428);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2008,11,975335);
    Insert into SALE_GROWTH (YEAR,MONTH,TOTAL_SALE) values (2008,12,4853690);
    The above is the historical data.
    If i use oracle sql slope , am i going get the same sale numbers as the oracle data miner will predict.
    Please write.
    I appreciate your help.
    Thanks,
    HS

    Hi,
    For a background on how you might be able to use ODM for sales forecasting, see Marcos Campos blog on timeseries (link below).
    Thanks, Mark
    Oracle Data Mining and Analytics: Time Series Forecasting Series

  • Using Oracle Data Source in SSIS using Attunity

    Hi,
    I am using the oracle data source in SSIS.
    * Created the expression that will have query to select source column.
    * I need to extract only rows having specific date. This date is a dynamic one i.e Created a variable1 which will be update by function call(return type is datetime) for time being i have assigned the
    value(datetime type).  
    * I have created one more variable2(string type) which will extract only date(dd-mon-yyyy). Below is the query i used.
    {"select cast(DATEPART(dd, @[User::Cob_Dt] )as char(2))+'-'+cast(DateName(mm,DATEPART(mm, @[User::Cob_Dt] )) as varchar(3))+'-'+cast(DATEPART( yyyy, @[User::Cob_Dt]
    ) as varchar(4)) "}
    * In source query expression i have used the variable but it showing "as missing expression". Though i tried a lot i cant get. some one please help. Below is thquery
    {select * from table_name where ud.system_date =@[User::Date]
    and... }
    I have tried different formats like enclosing that between quotes(shows same error), then used to_Date() in oracle again shows same error.
    If i hard code the value instead of @[User::Date] means its working well. 
    SomeOne please help me why that error is showing. I cant able to figure out. trying for whole day. PLEASE.
    Thanks,
    Mahalakshmi
    mahalakshmi

    Directly in the source component, or in the expressions property of the data flow?
    If the latter, what happens when you preview your expression?
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • How to use  Oracle Data Miner 10.1.0.2   with Oracle9i

    Hello everyone !
    I've downloaded Oracle Data Miner 10.1.0.2 abd I would like to use with Oracle9i. But It appears this message "Cannot to be connect to Data Mining server" .
    I need help to configure it !
    Thanks !

    I am waiting on the beta version since I have installed Oracle10gR2.
    I've been checking the OTN website every day to see when it is released.
    If it is not a bother, can you send me an email when I can download it.
    Thanks in advance.
    Have a wonderful day/weekend,
    Andy

  • How to use a variable on columns using Oracle Data Integrator

    How to use a variable in oracle Data Integrator expically on colums.

    yes exactly,i selected update on new column,if i didn't select update on new colum then error is not coming regarding update.
    but this time error is coming on "insert new rows".
    java.lang.NullPointerException
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskPreTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source).
    Can u please tell me what stpes i have to follow to solve this

  • Need help on how to create the simple mapping using ORACLE DATA INTEGRATOR

    Hi guys,
    am new to learn odi.. please share me or steps how to develop the simple mapping using ODI...

    Hi,
    I am a newbie to Oracle Data Integrator as well. You should have a look here first; http://www.business-intelligence-quotient.com/?p=379
    Try to play around with ODI and then come back if you have specific questions. You should better move to this ODI-forum; Data Integrator
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • How to get no of days using oracle date function

    Dear all,
    i need different output from this query mentioned below.
    suppose i have execute this query.
    sql> select add_month(SYSDATE, -1 * 6) finaldate from dual;
    it will give the output as
    sql>FINALDATE
    05-JUL-2009 13:46
    now i need to get the total no days from the same query that means it should calculate the total no of days from july to current date and give the output.
    if you can give any hint.
    Regards
    Laxman

    Oracle supports date arithmetic and uses day as a unit.For example, number of days from July 1, 2009 to SYSDATE
    SQL> SELECT  SYSDATE - DATE '2009-07-01'
      2    FROM  DUAL
      3  /
    SYSDATE-DATE'2009-07-01'
                  188.386968
    SQL> SY.

  • Cannot connect to database using Oracle Data Access

    I have been able to connect to my database through SqlPlus, but I cannot make the connection to the database through my ASP.Net program.
    I set up my connection string following the following format:
    *"Data Source=(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = X.X.X.X)(PORT = X)))(CONNECT_DATA =(SERVICE_NAME = SID)(INSTANCE_NAME = SID))(HS = OK)); User Id=Blah; Password=Blah";*
    When the program tries to open the connetion, it through
    OracleException was caught
    Oracle.DataAccess.Client.OracleException was caught
    Message=""
    StackTrace:
    at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx pOpoSqlValCtx, Object src, String procedure)*
    at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
    at Oracle.DataAccess.Client.OracleConnection.Open()
    at GlobalIQ.Services.DatabaseLayer.SetUpConnection() in C:\GlobalIQ\GlobalIQ\Services\DatabaseLayer.cs:line 30
    InnerException:
    I do not know if this is because I didn't set something up correctly or that I am missing something. Thanks in advance

    user13488403 wrote:
    I have been able to connect to my database through SqlPlus, but I cannot make the connection to the database through my ASP.Net program. ODP, ASP-NET providers etc. forums are here
    http://forums.oracle.com/forums/category.jspa?categoryID=44
    >
    I set up my connection string following the following format:
    *"Data Source= ... (HS = OK)) ...Is the HS part really needed?

  • Oracle.DataAccess.dll not fetching data inside deployed (IIS 6.0) server

    Hi all
    I am fetching data from oracle data base in asp.net application. To achieve this functionality i have used Oracle.DataAccess dll . In my developement environment it working fine.
    But once I deployed this code on IIS 6.0 it is stopped working and I checked my log and found connection not get established . Then I make sure Oracle.DataAccess.dll present in to bin folder also I try to put this dll in side GAC, but still my code is not working on deployed server.
    Any help is highly appreciate
    Thanks
    Vikram

    Hi Jenny,
    Thanks a lot for quick reply
    Here is below stack exception detail
    System.TypeInitializationException was caught
    Message="The type initializer for 'Oracle.DataAccess.Client.OracleConnection' threw an exception."
    Source="Oracle.DataAccess"
    TypeName="Oracle.DataAccess.Client.OracleConnection"
    StackTrace:
    at Oracle.DataAccess.Client.OracleConnection..ctor(String connectionString)
    InnerException: Oracle.DataAccess.Client.OracleException
    DataSource=""
    ErrorCode=-2147467259
    Message="The provider is not compatible with the version of Oracle client"
    Number=-11
    Procedure=""
    Source="Oracle Data Provider for .NET"
    StackTrace:
    at Oracle.DataAccess.Client.OracleInit.Initialize() at Oracle.DataAccess.Client.OracleConnection..cctor()
    InnerException:
    Thanks
    Vikram

  • Using R function on Oracle data base

    for using R, I only can use Oracle data mining algorithms or I can use R function like social network in Oracle data base?

    Oracle Advanced Analytics provides multiple language (SQL, R and if we include GUIs, Oracle Data Miner workflow UI) support to the in-DB analytics. Using SQL, R or the ODM'r GUI, you can access a library of simple descriptive, summary and coparative statistics that have been implemented in the Oracle Database + a dozen hi-perf in-DB data mining algorithms (e.g. regression, decision trees, text mining, clustering, associations, anomaly detection, etc.) and solve a wide range of business and technical problems.
    Should you require additional techniques e.g. R CRAN packages, then Oracle Advanced Analytics supports that through R to SQL transparancy where it "pushes down" R language intentions to matching in-DB SQL functions e.g. ETL, stats and data mining OR it can make a callout to R via "embedded R mode" and have the Database manage the flow of data and the process.
    There is an OTN Discussion Forum that focuses entirely on the "R" aspects of the Oracle Advanced Analytics Option. I suggest that you re-post your questiion here R Technologies for additional discusssions and for the benefit of that Oracle Advanced Analytics/Oracle R Enterprise OTN forum/community.
    cb

  • Oracle.DataAccess.dll not loading in 64 - bit OS

    Hi All
    I have a console application that needs to be scheduled in task manager. My system is 32-bit operating system and I’m using Oracle.DataAccess.dll in my application to establish connection to the oracle db. The version is 2.112.1.0 and the processor architecture of this dll in C:\Windows\Assembly is x86. In my local m/c this dll works fine with all 3 build and target platforms – x64, x86 or AnyCPU. But when I copy the files to my staging server which is a 64-bit OS I’m getting the following exception. (Note: I’m also having Oracle.DataAccess version 10.2.0.100 which is also x86 available in C:\Windows\Assembly)
    System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    File name: 'Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342' at
    Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
    Running under executable D:\ProjectFolder\MyExecutable.exe
    Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
    Running under executable D:\ ProjectFolder\MyExecutable.exe
    --- A detailed error log follows.
    === Pre-bind state information ===
    LOG: User = UserId
    LOG: DisplayName = Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
    (Fully-specified)
    LOG: Appbase = file:///D:/ ProjectFolder/
    LOG: Initial PrivatePath = NULL
    Calling assembly : MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: D:\ ProjectFolder\MyExecutable.exe.Config
    LOG: Using host configuration file:
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
    LOG: Post-policy reference: Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342
    LOG: Attempting download of new URL file:///D:/ ProjectFolder/ Oracle.DataAccess.DLL.
    ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
    I have tried to build the application to target AnyCPU / x64 / x86. It fails in all 3 scenarios.
    There are other applications in the staging server where Oracle connection can be established. So ODP.Net should be registered in the server. So looks like problem with my console app. Does anyone have any idea what could be the problem?
    Thanks & Regards,
    Sree

    If I'm reading your post correctly, your application is built using ODP.net 2.112.1.0 (an 11gR2 client) and your other system has 10.2.0.100 (a 10g client).
    That's your problem. When .net tries to load the assembly, it looks for 2.112.1.0. Policy files that get installed when you install the client would allow it to use a newer version instead (like 2.112.3.0), but not to use an older version. So .net doesn't think you have a compatible Oracle client installed.
    You could manually add assembly binding redirects to force it to load 10.2.0.100, but I really don't recommend that given some differences between 10g and 11g (I tried that once and had some weird problems). You could also build the application using 10.2.0.100 instead.
    The best fix for this is to install 2.112.1.0 on the other system, or try out the managed client when it's out of beta (which doesn't need to be installed at all).

Maybe you are looking for