Dynamically Changing Database Connections Information

Post Author: Robert Flaherty
CA Forum: .NET
USing Crystal 2008 and Visual Studio 2008 in C#:
Below is the code that I am using to set the database connection at runtime.  This does not work when the Server/Database is different from the Server/Database that was used when the report was generated.  What happens is a dialog box appears with the original connection information,  The textbox for the server and the database are disabled.
public partial class ViewOrder : Form
string sqlStmt;
public ViewOrder(string SqlStmt)
InitializeComponent();
GlobalVaribles gv = GlobalVaribles.Instance;
sqlStmt=SqlStmt;
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = gv.Server;
connectionInfo.DatabaseName = gv.Database;
connectionInfo.UserID = gv.UserID;
connectionInfo.Password = gv.Password;
crystalReportViewer1.SelectionFormula = sqlStmt;
string reportPath = Util.BuildFileName(gv.ReportPath, "Order001.Rpt");
crystalReportViewer1.ReportSource = reportPath;
crystalReportViewer1.ShowGroupTreeButton = true;
crystalReportViewer1.EnableDrillDown = false;
SetDBLogonForReport(connectionInfo);
private void SetDBLogonForReport(ConnectionInfo connectionInfo)
TableLogOnInfos tableLogOnInfos = crystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
tableLogOnInfo.ConnectionInfo = connectionInfo;

Post Author: Robert Flaherty
CA Forum: .NET
USing Crystal 2008 and Visual Studio 2008 in C#:
Below is the code that I am using to set the database connection at runtime.  This does not work when the Server/Database is different from the Server/Database that was used when the report was generated.  What happens is a dialog box appears with the original connection information,  The textbox for the server and the database are disabled.
public partial class ViewOrder : Form
string sqlStmt;
public ViewOrder(string SqlStmt)
InitializeComponent();
GlobalVaribles gv = GlobalVaribles.Instance;
sqlStmt=SqlStmt;
ConnectionInfo connectionInfo = new ConnectionInfo();
connectionInfo.ServerName = gv.Server;
connectionInfo.DatabaseName = gv.Database;
connectionInfo.UserID = gv.UserID;
connectionInfo.Password = gv.Password;
crystalReportViewer1.SelectionFormula = sqlStmt;
string reportPath = Util.BuildFileName(gv.ReportPath, "Order001.Rpt");
crystalReportViewer1.ReportSource = reportPath;
crystalReportViewer1.ShowGroupTreeButton = true;
crystalReportViewer1.EnableDrillDown = false;
SetDBLogonForReport(connectionInfo);
private void SetDBLogonForReport(ConnectionInfo connectionInfo)
TableLogOnInfos tableLogOnInfos = crystalReportViewer1.LogOnInfo;
foreach (TableLogOnInfo tableLogOnInfo in tableLogOnInfos)
tableLogOnInfo.ConnectionInfo = connectionInfo;

Similar Messages

  • Changing Database connection on webservice deployment

    Hi All,
    I am having a problem changing the Database connection when deploying a PL/SQL generated webservice.
    What I have done is to use the WebService wizard to create a webservice based on a database Pl/SQL procedure. During this you have to specify the database connection (which initially is our dev server).
    When I come to deploy the service to our production platform I want to change the database descriptor name to point to an existing App Server data source.
    This is the problem - the Database Connection information is protected in the properties of the webservice - which means I cannot deploy to our production platform with the connection names I need.
    I can change the names of the Connections defined in the Connections tab - but then I cannot access the webservice in JDev.
    Everytime I deploy to our production platform I keep getting the development data sources created.
    Basically I need to develop a PL/SQL webservice using a Development connection (with a unique connection name), and then deploy to a production application server (10g AS) with a different connection name that points at our production env.
    I could create generic names, but that then would make my development system very confusing with the potential of messing up the production platform.
    Anyone got any ideas????
    Thanks and Regards
    Neil

    When you deploy the web service to the app server, if the connection to the other database is available from JDev at deployment time, the data sources xml file should be set up correctly with the db connection info. Otherwise this will have to be modified by hand on the app server to contain the connection details for the other DB.
    There are 3 files that will also have to be hand modified to reflect the different db connection details. 2 deployment descriptors, web.xml and oracle-webservices.xml which have references to the connection's jndi name, and also one of the JPublisher generated classes (the one whose name ends in 'Base') also has references to the jndi name (to look up the connection from the data source file) which will have to be modified, recompiled and redeployed.
    The simplest way to change the connection would actually be to leave everything alone and just modify the data sources xml file on the server such that the same jndi lookup points to a new connection, but it looks like the customer wants to change the name as well.
    An alternative to all this hand editing is to regenerate the service against the producion DB connection, test & then deploy the service.
    dai
    JDev devt. team

  • IR web client server(0):Database connection information not accessible.

    Hi,
    We upgraded our system from Hyperion 9.3 to EPM 11.1.2.2. We mainly use the reporting tools SQR production and Interactive reporting.
    Using workspace as an admin if I run a BQY everything works fine but when I try to do the same as other users I get the error "server(0):Database connection information not accessible. Processing is disabled" from the
    I have migrated everything form the old version and haven't changes anything since. It looks like a provisioning issue and I tried looking and comparing everything from the present production(old 9.3 system).
    Did anyone else face the same issue before? Any suggestions on where to look into.
    Thank you in advance.

    Hi ,
    You have to go to my oracle support website link is : https://support.oracle.com/epmos/faces/MosIndex.jspx?_afrLoop=7929796452543&_afrWindowMode=0&_adf.ctrl-state=113hdvh7xd_4
    login with your oracle ID and password you have for your company and search for the document number in the "search knowledge base" which will show up on the top right corner of the page.
    The search will show you the document and you can access it.
    Hope this helps.

  • Problem in using context param for storing database connection information

    Hello Friends,
    I am new to struts & jsp.I am developing a project in struts.I have 1 jsp page called editProfile.jsp.On submitting this page it will call 1 action class.The action class in turn will call the Plain old java class where I have written the logic for updating User Profile.
    I have created context-param in web.xml for database connection information like dbURL , dbUserName , dbPassword , jdbcDriver.Now I want to use these connection information in my Business logic(Plain Old Java Class).As we can use context parameter only in jsp & servlets , I am setting the variables of my business logic class with these context param in jsp itself.
    now when I am calling the updateProfile method of Business logic class from Action class it is giving error as all the connection variables which I set in jsp for my business logic class has become null again.
    I am not getting.If once I have set those variables how come they are becoming null again???Please help me.Any Help will be highly appreciated.Thanx in advance.

    This is the code I have written
    web.xml file
    <context-param>
    <param-name>jdbcDriver</param-name>
    <param-value>oracle.jdbc.driver.OracleDriver</param-value>
    </context-param>
    <context-param>
    <param-name>dbUrl</param-name>
    <param-value>jdbc:oracle:thin:@localhost:1521:gd</param-value>
    </context-param>
    <context-param>
    <param-name>dbUserName</param-name>
    <param-value>system</param-value>
    </context-param>
    <context-param>
    <param-name>dbPassword</param-name>
    <param-value>password</param-value>
    </context-param>
    EditProfile.jsp
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@ page import="java.sql.*" %>
    <jsp:useBean id="EditProfile" scope="application"
    class="com.myapp.struts.EditProfile"/>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Edit My Profile</title>
    </head>
    <body>
    <form action="submitEditProfileForm.do" focus="txt_FirstName" method="post">
    <%
    EditProfile.setjdbcDriver(application.getInitParameter("jdbcDriver"));
    EditProfile.setdbURL(application.getInitParameter("dbURL"));
    EditProfile.setdbUserName(application.getInitParameter("dbUserName"));
    EditProfile.setdbPassword(application.getInitParameter("dbPassword"));
    -----------more code goes here------------
    EditActionProfile.java
    package com.myapp.struts;
    import javax.servlet.jsp.jstl.core.Config;
    import org.apache.struts.action.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.sql.*;
    public class EditProfileAction extends Action {
    public EditProfileAction()
    public ActionForward execute(
    ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response) throws Exception
    try
    if (isCancelled(request))
    return mapping.findForward("mainpage");
    EditProfileForm epf = (EditProfileForm)form;
    EditProfile ep = new EditProfile();
    String temp = ep.updateProfile(epf.getTxt_FirstName(),epf.getTxt_MiddleName() , epf.getTxt_LastName() , epf.getTxt_Address() , epf.getTxt_Email() );
    if(temp.equals("SUCCESS"))
    return mapping.findForward("success");
    else
    return mapping.findForward("failure");
    catch(SQLException e)
    System.out.println("error" + e.getMessage());
    return mapping.findForward("failure");
    EditProfile.java class (My Business Logic Class)
    package com.myapp.struts;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.sql.*;
    public class EditProfile {
    private String dbURL;
    private String dbUserName , jdbcDriver;
    private String dbPassword;
    private Connection con;
    private Statement stmt;
    public EditProfile()
    public void setdbURL(String s )
    this.dbURL = s;
    public void setdbUserName(String s )
    this.dbUserName = s;
    public void setdbPassword(String s )
    this.dbPassword = s;
    public void setjdbcDriver(String s )
    this.jdbcDriver = s;
    public String updateProfile(String firstname , String middlename , String lastname , String address , String email)
    throws SQLException, ClassNotFoundException , java.lang.InstantiationException , IllegalAccessException
    try
    String s1 = new String("update usr set first_name='" + firstname + "' , middle_name='" + middlename + "' , last_name='" + lastname +"' , address='" + address + "' , email_id='" + email + "' where usr_key=1" );
    con = this.init();
    System.out.println("after init");
    stmt = con.createStatement();
    int rslt = stmt.executeUpdate(s1);
    System.out.println("after excute update");
    stmt.close();
    if(rslt>=1)
    return "SUCCESS";
    else
    return "Failure";
    finally
    if (null != con)
    con.close();
    public Connection init() throws SQLException, ClassNotFoundException
    Class.forName(jdbcDriver);
    con = DriverManager.getConnection(dbURL, dbUserName, dbPassword);
    return con;
    public void close(Connection connection) throws SQLException
    if (!connection.isClosed())
    connection.close();
    }

  • Change database connection for FRS Report

    currently we are using ASO BSO model and all FRS reports are retrieve against BSO Database.Now we are converting to ASO only model. can i use the same report against ASO database .
    There is a option of chang database connection under tool in workspace . will this work or do i have to make all reports again
    can you please help me with this
    thank you

    IN some cases even if the report has additional dimensions it will work. After you change the connection. Open the report in designer. The new dimensions will automatically update. Save the report and you should be good to go. If dimensionality is exactly the same you don't even have to do that, just change the connection, point ot the new database and run the report.

  • Database Connection Information for OAS SOA suite 10.1.3.1.0

    Hi!
    I'm having a bit of trouble that I hope you can please help with...
    I've just installed oracle database and am now attempting to install oracle application server.
    Unfortunately everytime I attempt the install I receive a:
    "Install cannot connect to the database located at:
    localhost:1522
    Please ensure tha tthe hostname, port and service name are correct and that the database and its listener at this location are up and running."
    I have tried every possible combination I can think of for the Database Connection Information, including:
    127.0.0.1:1522:orasusdb
    localhost:1522:orasusdb
    127.0.0.1:1521:orasusdb
    localhost:1521.orasusdb
    127.0.0.1:1522:orasusdb.DOMAIN
    localhost:1522:orasusdb.DOMAIN
    127.0.0.1:1521:orasusdb.DOMAIN
    localhost:1521.orasusdb.DOMAIN
    and even all the combinations above with "10.6.0.74" in place of 'localhost' as when I compelted the database installation I was given the following url to access isqlplus:
    http://10.6.0.74:5560/isqlplus
    Which doesn't work...
    But this address:
    http://localhost:5560/isqlplus/
    does work...
    My tnsnames.ora file:
    ORASUSDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orasusdb)
    LISTENER_ORASUSDB =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    My Listener.ora file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/10.2/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1522))
    The results of tnsping localhost:1522:
    Used parameter files:
    /opt/oracle/product/10.2/db_1/network/admin/sqlnet.ora
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=localhost.domain))(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1522)))
    OK (0 msec)
    The results of lsnrctl start:
    TNS-01106: Listener using listener name LISTENER has already been started
    Edited by: user11150264 on 23-Aug-2009 22:16

    Okay, I updated everything but it's still not working:
    Database Connect Information: 10.6.0.138:1522:PLSExtProc
    /etc/hosts/
    127.0.0.1 localhost
    ::1 localhost ipv6-localhost ipv6-loopback
    fe00::0 ipv6-localnet
    ff00::0 ipv6-mcastprefix
    ff02::1 ipv6-allnodes
    ff02::2 ipv6-allrouters
    ff02::3 ipv6-allhosts
    10.6.0.138 asw082.DOMAIN
    127.0.0.1 localhost
    10.6.0.74 asw082.DOMAIN asw082
    Listener.ora
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/10.2/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.6.0.138)(PORT = 1522))
    tnsnames.ora
    ORASUSDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.6.0.138)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orasusdb)
    #LISTENER_ORASUSDB =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = 10.6.0.138)(PORT = null))
    LISTENER_ORASUSDB =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.6.0.138)(PORT = 1522))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

  • Win7 and now Server Error [2007]: "Database connection information not acce

    I support a 8.3.x server with Insight plugin in use. This has worked for some time now with WinXP. The issue comes into play when the company is upgrading users to Win7 stations. First, the zero-admin (download and install setup launch) is failing. The Install window opens but doesn't seem to be able to complete. Then, when we do get the plugin installed via the manual download and install, we then reach a point where the bqy will not connect with the Server Error [2007]: "Database connection information not accessible. Processing is disabled." If we proceed from there, we'll get Server Error [6] PUB_NullArgument errors and empty "Show Values" limit boxes. So it's like the .oce information is not received on the Win7 platform - it still works fine on WinXP installations.
    And, I know it can work, as the PC Support personnel were able to get this working on one PC.
    Any suggestions?
    Thanks,
    Keith

    I assume that there has been no reply to this thread. The problem still persists, with intermittent success. I hope that someone can shed some light onto the Server Error [2007]: "Database connection information not accessible. Processing is disables." message.
    Thanks again,
    Keith

  • Dynamically changing Universe Connection

    We are in the process of implementing CM (Configuration Management) process to migrate the code from Development to QA to Production.
    Currently we are taking the code from Development using Import Wizard and creating a BIAR file, move that BIAR file to QA server and using "InstallEntSdkWrapper.jar" we are importing into QA.
    Sameway, when we want to migrate the Universe, Reports to Production, we are opening the universe using Designer, changing the connection to Production, exporting to Development Repository. Creating BIAR file from Development using Import Wizard, move the BIAR file to production server, and use "InstallEntSdkWrapper.jar" to import Universe, Reports to production repository.
    Now the CM (Configuration Management) process says, whenever we create a BIAR file for QA deployment, we should check-in to Clear Case, once we test it in QA, and QA approves that there are no defects, we should migrate SAME BIAR file to production, without creating another BIAR
    file from Development.
    The problem I am facing here is, because of security restrictions, Network Team stopped/closed Ports 6400 thru 6403, that means we can't connect any client tools (i.e Deisgner, Import Wizard) to any
    environment other than Development Environment.
    I can't use the same BIAR file to deploy into production which was deployed to QA as that BIAR file points to QA Database.
    Please let me know how to resolve the issue:
    I am looking for a way to change the connection dynamically,
    1. Either by using any kind of parameters
    2. Change the connection using CMC or any other tool.
    Or any other method to use the same BIAR file which was used to deploy in QA, and deploy it in production.
    We are on BO XI R2 SP4
    It is installed on AIX platform.
    Is there any 3rd party tool ?
    OR does BO has this option in Businss Objects XI 3.1 ?
    Thank you in advance.

    Hi,
    Check whether if you have drivers pointed to correct Database by creating a valid user to required DB in your local system.
    Cheers,
    Suresh Aluri.

  • Changing Database connection at runtime in CR2008

    Hi,
    I have a VS2008 application which is using CR2008 to generate pdf reports for the user. Problem is I am not able to change the database connection to any server other than the one that was used to create the report template.
    My environment has CR2008 SP2. I have tried reports with no paramter as well as the ones with parameters both dont seem to work.
    I have already tried a couple of things:
    a) report document refresh after loading it
    b) setting the database connection as
    this._crReport.DataSourceConnections[0].SetConnection(dbServerName, dbName, dbUserId, dbPwd);
    c) setting the database connection as
    tbls = this._crReport.Database.Tables;
                    bool test = false;
                    foreach (Table tbl in tbls)
                        tblLogonInfo = tbl.LogOnInfo;
                        tblLogonInfo.ConnectionInfo = connInfo;
                        tbl.ApplyLogOnInfo(tblLogonInfo);
                        test = tbl.TestConnectivity(); ** note this alwys return a true for the changed database server
    I have read a couple of thread but none has worked for me...Is this a known issue with CR2008?
    Thanks
    Kajal

    Hi Kajal,
    I am assuming that you are not changing the schema of the report at any point of time. I would suggest you to try pointing to the other database through designer to make sure that you can hit the database and the schema is correct. You can also create a udl file to check the database connectivity.
    Then just for testing purpose you can try the following code:
    ReportDocument reportDoc = new ReportDocument();
    reportDoc.Load("path of the report");
    reportDoc.SetDatbaseLocation("uid","pwd","Servername","tablename");
    reportDoc.SetParameterValues("Parameter-Name","values");
    CrystalReportViewer.ReportSoure=reportDoc;
    Does that help?
    Thanks.

  • Changing database connection at runtime

    Hi All,
    I have multiple screens based from different database instances. How can I make a single menu screen which will allow log in for another database connection? I tried using the LOGIN_SCREEN built in but it does not change the connection once you are already connected to one database.

    If you want to change connections, you first have to logout. Besides the logon_screen builtin does not change the connection, but it only sets several application properties.
    In the Forms Help there is an example how to use the logon_screen. It basically comes to the next pl/sql code:
    declare
    MyUsername VARCHAR2(40);
    MyPassword VARCHAR2(40);
    MyConnect VARCHAR2(40);
    begin
    logon_screen;
    MyUsername := Get_Application_Property(USERNAME);
    MyPassword := Get_Application_Property(PASSWORD);
    MyConnect := Get_Application_Property(CONNECT_STRING);
    logout;
    if MyConnect is not null then
    logon(MyUsername,MyPassword&#0124; &#0124;'@'&#0124; &#0124;MyConnect);
    else
    logon(MyUsername,MyPassword);
    end if;
    end;
    null

  • Change database connection in SQL-Worksheet to a not connected db

    Hi,
    change the active database connection of a SQL-Worksheet to a currently not connected database does not work. The login window pops up, but the password entry field cannot be activated to enter the password. On dragging the login window the screen does not get refreshed correctly. The only way to get back to work is to kill the sqldeveloper.exe process.
    The affected version is 3.2.09.23 on the 32 bit MS Windows plattform.
    sincerely yours
    Matthias

    Hi Matthias,
    Thanks for reporting this. It is caused by a deadlock between Java threads. I will log a bug for it.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Aug 23, 2012 4:26 PM
    Bug 14532491 - FORUM - DEADLOCK OCCURS WHEN SWITCHING WORKSHEET CONNECTIONS
    Edited by: Gary Graham on Aug 23, 2012 4:27 PM
    Bug 14534488 - DEADLOCK OCCURS WHEN OPENING WORKSHEET CONNECTION FOR A SQL FILE

  • Dynamic passing database connection parameters

    I have a situation which is two different source of client but they have the same functions, so have the same screens. But they maintain two separate database even with same table structure/tablename (I inherited this and cann't change it). I am thinking I should have one reusable Entity Object/View Object. But when I create entity object, I create database connection first which has the database name/password/sid etc. My question is that is it possible the database connection parameters(name,password,host,sid etc) can reside in configuration files or something like that. somewhere in the java code, when I create a instance of view object/entity object, I find out which type of client is and so by passing the correct connection string, then the correct database entity object will be created. Is that something feasiable? Do I make myself clear? Please help!
    Type of Client 1 type of Client 2
    Same of ADF face Screen
    |
    |
    Same VIew Object/Entity Object
    |
    |
    | |
    database for Client1 database for client2 but those two database have the same table, lets say Employee with same columns, data types.... etc

    Hi,
    This [url http://jobinesh.blogspot.com/2011/04/modifying-application-modules-jdbc.html]blog would be helpful.
    -Arun

  • Changing database connection details aftre WAR file deployment

    Hello,
    I create a WAR deployment file and distribute this to a Tomcat web container. The package unpacks as expected however the production database details are different from my devlopment environment. The database connection name is the same. I thought if I simply change the connection details in the connections.xml file and restart the web app this would do the trick. It does not. What am I missing?

    Maybe your application is using a connection as defined in data-sources.xml. Check there.

  • Where does Omniportlet  keep it's database connection information?

    Where in the infrastructure database does Omniportlet keep the database connections it asks for when setting up an SQL query? Occasionally we clone our production portal into our development portal and I'd like to programatically change what SID my omniportlet connections are pointing at in Dev.

    I'm looking for the same thing, did you ever get an answer?

  • Error when changing database connection

    I changed my connections.properties file to a database other than the one I used to develop my application. I was able to connect to the new database successfully from the application but when I tried to insert a new row I received the following error:
    JBO-26041: Failed to post data to database during "Insert". SQL Statement "BEGIN INSERT INTO ITEMS (ITEM_ID, ITEM_STATUS, CATEGORY, SOURCE_TYPE, IMAGE_TYPE) VALUES (:1,:2,:3,:4,:5) RETURNING ITEM_ID INTO :6; END;".
    ORA-06550: line 1, column 102: PLS-00103: Encountered the symbol "RETURNING" when expecting one of the following...
    Does anyone know what is causing this problem?
    Thanks,
    Joanna.
    null

    Your new database connection must be pointing to an older database which doesn't support the returning clause. I believe this was added in the 8.x series.
    Rob
    null

Maybe you are looking for

  • Aperture crashing when editing .. what's that all about?

    I am still using Apeture 2.1.4 and ever since loading Maverick it keep crashing  when I edit!!

  • CRM 4.0 IC webclient to CRM 2007

    Hi Currently we are on CRM 4.0 using IC Webclient for our call centre. Around 30% of development done in BOL layer programming to suit the business requirements. Now we are planning to upgrade to CRM 7.0 with IC Webclient Can anybody help us in provi

  • Login to Glassfish (AS 9.1) Admin Module fails after AM 7.1 install

    Hello Everyone, I am trying to deploy Sun Java System Access Manager 7.1 on Sun Java System Application Server 9.1 running on RH Linux. After deploying the war file and performing the initial configuration using /amserver/configurator.jsp and then re

  • Bought a P67A-GD65 on Saturday? How do I get the free 3Dmark 11?

    3Dmark 11 is advertised on this site with any purchase of a P67 board on the main site. I bought the board this weekend, but there is no voucher in the box with code to unlock the full edition. Can someone from MSI direct me to the proper channels fo

  • InDesign CS4 error 148:3

    I am using InDesign CS4 but when i try to open it i receive an error 148:3.  I have restarted the computer, using windows.  any suggestions?