Define database at Logon

At the opening of my main form an On_Logon trigger/procedure is
set off.
The purpose of this trigger is to perform an OCI (or whatever
works) call via a cursor or command that will connect my
Developer application with the database I want to process from.
I have already tried the following methods. The first compiled
but errored out in the application. The other two would not
compile.I am playing with OCI now.
1. BLOCK_NAME := ('SET(CURRENT_SCHEMA = NAME)');
2. connection_id := EXEC_SQL.OPEN_CONNECTION('alter session set
current_schema = DATABASE');
cursor_number := EXEC_SQL.OPEN_CURSOR(CONNECTION_ID);
EXEC_SQL.PARSE(connection_id, cursor_number, sql_string);
3. v_cursor := DBMS_SQL.OPEN_CURSOR ;
If anyone has been able to perform this type of connection via
OCI or either of the previous 3 methods I listed above, pls
share!
null

Hi Marion,
MobileMe does not support server side scripting or databases by users.
I have a work around to show the HTML published database with an iFrame if your database app. has instant web publishing capabilities. But that may not be what you are looking for as there will be a 'log-in to database(server)' screen first.
If you are looking for a database driven content management platform then you may want to check out [Drupal|http://drupal.org>, it works with MySQL databases and PHP.
On their website you can find plenty of hosts for your Drupal website.
With PHP or MySQL over ODBC you can even connect to your database.
Check out [DynDNS|http://www.dyndns.com> if you want to use your own Mac as a web/database server behind a consumer router with variable IP nr.
Kind regards,
Leo

Similar Messages

  • The "DEFINING DATABASE ldb " addition in "REPORT" statment

    Hi all
    I wonder what the "DEFINING DATABASE ldb " addition in "REPORT" statment is involve to?
    cause I didn't understand the SAP help of this addition!
    Thanks.

    When defining logical databases (via SE36), the underlying database program needs to have this addition to the REPORT statement. See SAPDBSDF for logical database SDF as an example.
    Greetings
    Thomas

  • How can i define database name in oracle ADI

    Hai Friends,
    I am facing a problem when i am going to define database name in oracle ADI there is a error u can enter minimum 6 char database name but my database name is PROD it is only 4 char long. how can i define can i will change the database name. Please suggest me.
    If u have any query regarding oracle apps plse discuss with me.
    Many thanks
    Ghanshyam khetan

    Database is used internally by ADI and does not have any relationship to the name of your database.
    Using ADI I am able to create a database with the following:
    Name - My Wacky Database
    GWYUID and FNDNAM as usual
    Connect String - VIS
    I'm able to signon and work successfully with that definition. The connect string is more important in this scenario as that tells the networking layer which database to actually talk to. As you can see here mine is only three characters.

  • Defining database

    first line of the abap editor is report statement,in that report statement we use line-size,line-count,message-id & defining database.what is defining database?

    Hi,
    The defining database :
    This addition shows that the current program is the database program of the logical database ldb. The name of this logical database has a maximum length of 20 characters. Logical databases are maintained with the tool Logical Database Builder of the ABAP Workbench, in which the framework program is generated automatically including the statement REPORT. The name of the framework program is SAPDBldb.
    Example
    Introduction of the logical database F1S.
    REPORT sapdbf1s DEFINING DATABASE f1s.
    Hope it is useful.
    Thanks,
    Sandeep.

  • Modifying .PRM file for user defined database functions

    Hi,
    Currently we have the BOXI 3.1.8 Universe in oracle database and we are planning to migrate to SQL server 2008.And the universe contains few oracle functions and user defined functions in the universe objects.
    In the way of migration we are planning to have both Oracle and SQL Server database connecting to single universe. To make the universe generic we have identified the objects using user defined functions and trying to push it to the database.
    Since there are a few differences in the way oracle and SQL Server functions are invoked, we have decided to edit the .PRM files available in the path D:\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\jdbc , so that we have a common way of invoking the functions.
    Invoking functions:
    SQL Server : <SchemaName>.<function>
    Oracle: <function>
    1.Is there any problem if I edit the .PRM?
    2.Whether these changes will work fine?
    3.Whether the reports will run fine if I use those objects in the reports?
    Thanks,
    Lavanyaa

    Hi Lavanyaa,
    The PRM files actually state the functions that are normally available in a database, including the standard format.
    They are what drives the list of functions available when you build the SELECT definition or CONDITION definitions in Information designer... The fact that a function needs aggregation or/not is also determined in there.
    However:
    The SQL that you provide in the universe is what will be sent to the database and that must be 'understood' by the database.
    So it's not as simple as changing the PRM file and you will be able to speak 'universal' SQL in your universes.
    Fortunately:
    That complexity is taken away from you when you create a multisource database.
    You will speak 'data federator' SQL in the universe. Data federator will take care of translating it to the right syntax for each database. Notice you will probably need some customization to determine how a SQL will be handled when you need to query two databases, as the default is not automatically the best way performance wise.
    Hope this helps,
    Marianne

  • Error connecting to planning database:Unsuccessful logon. Check log for det

    Hello,
    I am getting the following error which I am trying to connect to planning app data source for reports from workspace.
    planning version is 9.3.1
    can anyone suggest resolution for this?
    Thanks
    Hemanth
    03-14 13:40:41 ERROR HrDsManagerBean     com.hyperion.reporting.util.HyperionReportException: Error connecting to database connection PLN: Unsuccessful logon. Check log for details.com.hyperion.planning.HspException
         at com.hyperion.reporting.connection.UserConnection.openConnection(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Lcom.hyperion.ap.IAPDomain;(Unknown Source)
         at com.hyperion.reporting.connection.UserConnection.openConnection()Lcom.hyperion.ap.IAPDomain;(Unknown Source)
         at com.hyperion.reporting.connection.UserConnection.<init>(Ljava.lang.String;Lcom.hyperion.reporting.security.IHsSession;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;ILjava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Z)V(Unknown Source)
         at com.hyperion.reporting.connection.ConnectionManager.getConnection(Lcom.hyperion.reporting.security.IHsSession;Lcom.hyperion.reporting.datasource.IHrDatasource;)Lcom.hyperion.reporting.connection.UserConnection;(Unknown Source)
         at com.hyperion.reporting.connection.ConnectionManager.getCube(Lcom.hyperion.reporting.security.IHsSession;Lcom.hyperion.reporting.datasource.IHrDatasource;Ljava.lang.String;)Lcom.hyperion.ap.IAPMdCube;(Unknown Source)
         at com.hyperion.reporting.connection.ConnectionManager.getCube(Lcom.hyperion.reporting.security.IHsSession;Ljava.lang.String;)Lcom.hyperion.ap.IAPMdCube;(Unknown Source)
         at com.hyperion.reporting.datasource.HrDsManagerBean.validateDatasource(Lcom.hyperion.reporting.datasource.IHrDatasource;)V(Unknown Source)
         at com.hyperion.reporting.datasource.HrDsManagerBean.doAddNew()Ljava.lang.String;(Unknown Source)
         at com.hyperion.reporting.datasource.HrDsManagerBean.process()Ljava.lang.String;(Unknown Source)
         at jsp_servlet._modules._com._hyperion._reporting._web._common.__hrdslogonfns._jspService(__hrdslogonfns.java:1470)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hyperion.reporting.webviewer.HRSecurePagesFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.hyperion.reporting.webviewer.HRLocaleFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)

    Database is up. All the services are running fine.
    There are not changes in Servernames.
    This error is occuring in all the environments. Dev, QA and Prod.

  • Designing a well defined database access javabean

    Hi All
    Can you please help me with the basic layout of how
    a well defined javabean accessing the database should look like?
    thread safe too..
    It should have the following basc methods
    JavaClass get(String id)
    JavaClass[] getAll()
    void save ()
    void delete()hope that gives you an idea

    Hi Jos
    Lets say we have a bussiness class named Car then basically the Car class would
    be represented in the database as
    carId
    carName
    carModel etc..
    I Know how to get this data into a javabean but i do not know if it is correct
    Example
    public class Car
          private Connection conn
          private String carID
          private String carName
          private String carModel
          /* getters and setters .....*/
          public Car get(String id) throws Exception {
                String sql = "SELECT * FROM Car WHERE carID = " + this.carID;
          //and so forth with deleting a car saving it etc...What i would like to know is what is a good standard of coding such a class to be thread safe
    and use minimal resources?
    the parameter would be in this as it would be the current class used by lots of clients
    Edited by: -epoch- on Oct 28, 2008 5:33 AM

  • Allow only locally defined users to logon on a AD Domain

    Hello All,
    I have a domain controller on my company. I do not want users to logon the PCs whatever they want. So I am trying to find a right way to configure "allow logon locally" group policy.
    So I want only the users that I define in the control panel -> users, can logon locally.
    Let's say there is a engineer in my company and his name is John Doe. And also he has a PC. So I do not want to any user to logon this computer except John Doe. So I am adding his AD account to Control Panel -> User Accounts section with Power User Group.
    I need to configure my "allow logon locally" Group Policy so that only Locally defined Power Users can login.
    I have Windows Server 2012 Standard edition. And Windows 7 on th workstations
    Is that possible?
    (Sorry for my bad english)

    Hi,
    By default, every user in AD automatically gets added to Domain Users. Domain Users are by default included in the local Users group on workstations when the workstations get added to AD. That means that unless you take action on either the user account or
    the computer configuration, any user account in your AD environment can log into any computer whether you want them to or not.
    Checkout the below link on deny or allow specific users or groups to logon locally to the workstation using Group Policy,
    http://4sysops.com/archives/deny-and-allow-workstation-logons-with-group-policy/#allow-log-on-locally
    Checkout below thread on similar discussion,
    http://social.technet.microsoft.com/Forums/en-US/6bceec6a-1db3-4084-a397-68a13a8a5459/only-allow-certain-ad-users-onto-a-pc?forum=winservergen
    Regards
    Gopi
    JiJi Technologies

  • How define database performance?

    Hi all
    I have a question about performance.
    I have an Oracle database installed on Xeon server
    1. I want to know parameters of my server. How many processors it has? What is it's RAM and other parameters. From Linux, with which command I can get information about it?
    2. My company wants to buy a server computer for our database. My questions is: Depending on which parameters of database, which server I must select??
    Thanks...

    All my vmstat is like that
    vmstat 10 13
    procs -----------memory---------- ---swap-- -----io---- system ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    1 3 78696 16300 3836 2546896 23 19 1447 62 220 106 56 12 19 13
    2 3 91188 15468 3852 2535148 2 128 5285 195 2223 2231 31 8 24 37
    2 6 124956 16620 3776 2501260 0 286 8264 422 2228 2220 30 9 13 47
    2 3 141692 20268 4120 2493528 0 1467 4935 1589 2266 2233 42 11 12 35
    3 2 153172 17516 4380 2494264 0 1098 3174 1216 2051 2081 48 9 18 26
    2 2 158496 20188 4688 2492288 16 631 3305 754 2081 2318 42 9 20 29
    2 2 167652 24556 5032 2494788 4 642 3353 782 2023 2408 47 8 19 26
    11 1 171272 15660 5556 2505372 13 659 2998 827 1972 2049 66 9 10 15
    0 2 175784 17452 5928 2511704 26 342 2632 435 1958 1893 63 10 14 12
    3 1 184056 18156 5976 2504476 0 889 2139 1027 1842 1783 64 9 14 12
    5 4 185196 16988 6352 2510060 13 567 2192 992 1787 1652 73 8 8 11
    7 2 185324 24748 6660 2503840 0 1146 2831 1332 1858 1663 74 11 5 11
    10 2 185308 25700 7132 2507532 0 77 1976 202 1901 1297 85 14 0 1

  • There seems to be no defined database cache

    Hello, looking at the parameters in this database there appears to be no cache. This shows that AMM is turned off but also that there is no db cache. How is cache being allocate if these are all 0? I am running Oracle 10.2.0.3 on AIX
    5300-09. Are there other parameters to look at. Shouldn't db_cache_size be set to something?
    sga_max_size ==> 908M
    shared_pool_size ==> 252M
    db_cache_size ==> 0
    db_16k_cache_size ==> 0
    db_2k_cache_size ==> 0
    db_32k_cache_size ==> 0
    db_4k_cache_size ==> 0
    db_8k_cache_size ==> 0
    sga_target == > 0
    I just noticed that this database is using the old method:
    db_block_buffers ==> 49152
    Should I be setting this to 0 and using db_cache_size instead?
    Thank you,
    David
    Edited by: JesusLuvR on Aug 5, 2009 2:58 PM

    Db block buffers would be used to set the buffers within the cache.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams038.htm
    You need to find out that why the setting of the db cache size was set to zero? Are you using any setting of VLM(Very Large Datbase) or somethng in your db?
    HTH
    Aman....

  • How to avoid database logon dialog on every action of refreshing reports

    I am using Crystal reports 208 SP2 and has a database connection to oracle database. Connection is esablished and report retrieves desired data, The problem is when ever i open this report ( which has this connection set) and do a refresh,  the report the LogOn dialog pops up.
    How to avoid or save this log on info such that it does not pops up the LogOn dialog when i open the report and do a refresh(F5).?

    Hi Don,
    Thanks for the reply. To try  your suggested approach, i need some clarifications .
    _Problem summary:for refrence, _
    I am following the steps mentioned below to establish a database connection, and fetch the data.
    1) I am using Oracle drivers for configuring the ODBC data source. As part of configuration i will specify the Oracle server name
    2) In crystal reports, Using "Database" menu, i open "Database Expert" dialog and "Make New connection" by specifing the data source mentioned in step 1). During this process, (ODBC)logon information will be filled in. The user ID and password used has all the rights to access the tables in the database. Logon will be successful and connection is established.
    3) Further i use the database table from the "Database Expert" on to the report and refresh(F5) to fetch the data.
    After step 3, I close the report  and reopen it. Now trying to refresh the database logon dialog pops up. I need to avoid this pop up
    Requesting Clarification:;
    1) You have specified "When you connect you have the option to use Trusted Authentication, check this option on". Where is this option. Is it in the crystal reports or is it available during data source configuration. Kindly specify.
    2) Here "Enterprise logon info that has been configured on the Oracle server." implies the oracle database login information right? If yes, this login details are available and i am using this logon information(i.e. UseriD and Password) during database connection.
    If No, Is "Enterprise logon info " is something which should be specifically enabled by DBA in oracle11g configuraion.
    Kindly suggest.
    Edited by: R Guru on Oct 17, 2009 7:32 PM

  • How does oracle i officially /i define b Database /b

    <h1>How does oracle <i>officially</i> define <b>Database</b></h1>
    There are many definitions I have found on google ( by searching define: database )
    how does oracle <i>officially</i> define <b>Database</b>.

    From
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/intro.htm#sthref11
    An Oracle database is a collection of data treated as a unit. The purpose of a database is to store and retrieve related information. A database server is the key to solving the problems of information management. In general, a server reliably manages a large amount of data in a multiuser environment so that many users can concurrently access the same data. All this is accomplished while delivering high performance. A database server also prevents unauthorized access and provides efficient solutions for failure recovery.

  • SAP GUI (SAP LOGON 620).Problem connecting to R/3

    Hi I Installed SAP 4.7 successfully.I could see SAP R3 Management console started properly.After Installing SAP GUI,I tried to connect from SAP Logon.I get an error ,A box opens
    Which has title 'Syntax Errors'
    and fields in the box are,
    Syntax error in program -
    in include                      -
    in line                           -
    Last changed by           -
    Author                         -
    Any help on this would be greatly appreciated.I tried to google but could not find any reasonable answer.
    I also tried to connect to R/3 from other box but the same result
    Thanks in advance
    Durga

    Mantosh,
    I dont see any user defined on my logon pad.All I see Proerties,Groups,Server,New,Delete.
    Manas,
    Still no luck.I changed as adviced by bu still I get 'Sytax Errors' window.
    Here is my SAPLogon pad after the changes you suggested.
    [Configuration]
    SessManNewKey=4
    [MSWinPos]
    NormX=38
    NormY=71
    [Router]
    Item1=
    Item2=
    [Router2]
    Item1=
    Item2=
    [RouterChoice]
    Item1=0
    Item2=0
    [Server]
    Item1=10.10.10.12
    Item2=SR1
    [Database]
    Item1=00
    Item2=
    [System]
    Item1=3
    Item2=3
    [Description]
    Item1=sap 4.7d
    Item2=SAP 4.7E
    [Address]
    Item1=
    Item2=
    [MSSysName]
    Item1=SR1
    Item2=
    [MSSrvName]
    Item1=
    Item2=
    [MSSrvPort]
    Item1=sapmsSR1
    Item2=
    [SessManKey]
    Item1=3
    Item2=2
    [SncName]
    Item1=
    Item2=
    [SncChoice]
    Item1=0
    Item2=0
    [Codepage]
    Item1=1100
    Item2=1100
    [CodepageIndex]
    Item1=-1
    Item2=-1
    [Origin]
    Item1=USEREDIT
    Item2=USEREDIT
    [LowSpeedConnection]
    Item1=1
    Item2=0

  • How to Change Database of Report before Exporting?

    I am having difficulties changing the database that the report should run against.
    We are using Oracle.  In the past when scheduling a report through CE, I would manipuate the Desktop.ReportLogons object.  For Oracle I simple changed the CustomServerName, CustomUserName, and CustomPassword properties.  Everything worked fine when the report was scheduled and ran.
    Now I am doing an on-demand report without an interactive viewer.  I am doing everything in code using RasAppFactory and the ReportClientDocument.
    I am looking at the DatabaseController of ReportClientDocument.  I thought I could just use the LogonEx method passing in the server, user, password, and an empty string for the database since for Oracle connections you only specify server and not database.  However, it is still trying to connect to the defined database.
    Can someone point me to an Oracle specific example of how to properly change database info when report runs?
    Do I need to be using other methods like one of the SetTableLocation methods?
    Thanks in advance for any help.

    Hello, Stephen;
    You are correct, with Oracle you do not need the Database property.
    The person logged on to Business Objects Enterprise through the RAS .NET application would need rights to make the change in database connections. Can the usr with the same logon make the change directly in Enterprise?
    The ReportClientDocument separates the Server Name and Database from the User ID and Password with the PropertyBag. The convenience methods such as LogonEx will only change the User ID and Password. To change all four properties you need the full RAS logon code.
    The full logon for RAS would use code as shown below.
    Elaine
    ==========================================
    Imports System
    Imports Microsoft.Win32
    Imports CrystalDecisions.Enterprise
    Imports CrystalDecisions.Enterprise.Desktop
    Imports CrystalDecisions.CrystalReports.TemplateEngine
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.Controllers
    Imports CrystalDecisions.ReportAppServer.ReportDefModel
    Imports CrystalDecisions.ReportAppServer.DataDefModel
    Imports CrystalDecisions.ReportAppServer.CommonObjectModel
    Imports CrystalDecisions.ReportAppServer.ObjectFactory
    Partial Class Logon
        Inherits System.Web.UI.Page
        Dim mySampleReportName As String = "SimpleSetLogonInfo.rpt"
        Dim crServerName As String = "myOracle"
        Dim crDatabaseName As String = ""
        Dim databaseUserName As String = "tester"
        Dim databasePassword As String = "tester"
        Dim crDatabaseController As DatabaseController
        Dim crDatabase As Database
        Dim crTableOld, crTableNew As Table
        Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            ConfigureCrystalReports()
        End Sub
        Private Sub ConfigureCrystalReports()
            DatabaseLogon_managedRAS()
        End Sub
        Private Sub DatabaseLogon_managedRAS()
            Dim mySessionMgr As New SessionMgr()
            Dim myEnterpriseSession As EnterpriseSession
            Dim myReportAppFactory As ReportAppFactory
            Dim myInfoStore As InfoStore
            Dim myInfoObjects As InfoObjects
            Dim myInfoObject As InfoObject
            Dim myReportClientDocument As ReportClientDocument
            Dim myEnterpriseService As EnterpriseService
            Dim myObject As Object
            myEnterpriseSession = mySessionMgr.Logon("administrator", "", "CMS_Server", "secEnterprise")
            myEnterpriseService = myEnterpriseSession.GetService("InfoStore")
            myInfoStore = New InfoStore(myEnterpriseService)
            myInfoObjects = myInfoStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME='" + mySampleReportName + "' And SI_INSTANCE=0")
            myInfoObject = myInfoObjects(1)
            myObject = myEnterpriseSession.GetService("", "RASReportFactory").Interface
            myReportAppFactory = CType(myObject, ReportAppFactory)
            myReportClientDocument = myReportAppFactory.OpenDocument(myInfoObject.ID, 0)
            'Convenience methods not to change Database or Server name from what is in the report
            'myReportClientDocument.DatabaseController.logon("UID", "PWD")
            'myReportClientDocument.DatabaseController.LogonEx("myServerName", "myDatabase", "UID", "PWD")
            crDatabase = myReportClientDocument.DatabaseController.Database()
            crDatabaseController = myReportClientDocument.DatabaseController()
            ' Loop through all the tables in the main
            ' report and set their new table information.
            For Each crTableOld In crDatabase.Tables
                crTableNew = GetNewTable(crTableOld, crServerName, crDatabaseName, databaseUserName, databasePassword)
                crDatabaseController.SetTableLocation(crTableOld, crTableNew)
                crTableNew = Nothing
            Next
            crDatabase = Nothing
            crTableOld = Nothing
            myCrystalReportViewer.ReportSource = myReportClientDocument
        End Sub
        Private Function GetNewTable(ByVal crTableOld As Table, ByRef serverName As String, ByRef databaseName As String, ByRef userName As String, ByRef password As String) As Table
            ' Create crTableNew as a new table, then fill its properties.
            Dim crTableNew As New Table
            Dim crAttributes, crLogonInfo As PropertyBag
            ' Set some of the properties of the new table object.
            crTableNew.ConnectionInfo.UserName = userName
            crTableNew.ConnectionInfo.Password = password
            crTableNew.ConnectionInfo.Kind = crTableOld.ConnectionInfo.Kind()
            crTableNew.Name = crTableOld.Name
            crTableNew.Alias = crTableOld.Alias
            ' Make a copy of the connectionInfo.Attributes and apply them to the new table.
            crTableNew.ConnectionInfo.Attributes = crTableOld.ConnectionInfo.Attributes.Clone(True)
            crAttributes = crTableNew.ConnectionInfo.Attributes()
            ' Check to ensure the connection info Kind is correct then change the a
            ' appropriate properties in the PropertyBag.
            ' These will vary from report to report using ODBC, OLEDB or Native drivers
            ' To find out your properties
            ' open your report in the Crystal Reports Designer and go to Database,
            ' Set Location menu. Check the properties of your connection and note
            ' the name of the properties that will change.
    'ODBC to Oracle "Data Source Name" and "Table Name" with "Owner"
    'OLEDB to Oracle "Provider" "Data Source" and "Table Name" with "Owner"
            If crTableNew.ConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE Then
                crLogonInfo = CType(crAttributes("QE_LogonProperties"), PropertyBag)
                crLogonInfo("Data Source") = crServerName
                'MS SQL Server OLEDB
                'Leave out for Oracle
                'crLogonInfo("Initial Catalog") = crDatabaseName
            End If
            ' Adjust the qualified name, then return the new table object if the table name has changed
            crTableNew.QualifiedName = "Owner." & crTableNew.Name
            Return crTableNew
        End Function
    End Class

  • Could not connect to the database

    I have installed Oracle 11.5.10.2 and ADI 7.1.3.10.5
    I can logon to oracle 11i but I cannot logon to ADI using the same username and password of oracle 11i.
    In the ADI define databases form I have the following:
    GWYUID: applsyspub/pub
    FNDNAM: apps
    NCA Connection: (blank)
    Server ID: (blank)
    I receive the following message:
    ''Could not connect to the database. Invalid Username or Password''
    I can use tnsping and tnsping80 successfully from the client.
    Any help would be appreciated
    Thank you.

    Starting from 11.5.10 and above, you have to provide the 'Server ID'. Change the current value of 'Server ID' to match APPL_SERVER_ID value found in your dbc file.
    Find the dbc file under:
    $FND_TOP/secure directory
    The Server ID field is one of the parameters used in setting up the database definition in ADI.

Maybe you are looking for

  • Anyone have success recovering from a disk failure after turning on File Vault

    My wife is running at 13" Macbook Pro Late 2011/Early 2012 running OS 10.7.3.  I updated several Apple fixes and a firmware fix the other day for here.  I also activated her File Vault to encrypt her files when not in use.  She had some intermittent

  • XML validation with JDOM / JAXP

    Hello, I am trying to validate xml file against schema file. I decided to use JDOM and JAXP. First question: is it a good choice? I did a first attempt but not sure I have understood all what I am doing :( First I have create a parser usinf org.jdom.

  • Block sliding columns in a grid

    Hi all, can anyone please explain me how i can block the sliding columns in a grid. For example, i have a grid with 20 columns and i need to block (when i use the horizontal scrollbar) the first 4 columns. Thank a lot to everyone. I use SAP Business

  • Migrating to staroffice 8

    Hello all, I have just recently setup a sunray server for the school that i work at. I have used solaris 10 11/06 and we are using jds for solaris as our chosen environment. But the install of solaris 10 came with staroffice 7 which is surprising sei

  • Cisco 1700

    Not sure if this is the right place to put this. I have just received a used Cisco 1700 router and need help with a couple of things. 1.) It has no console cable. I/we will be configuring the router with a Thinkpad T42 notebook. Is there an easy way