Common database service - CAF

Hi all,
with CAF i have the possibility to access different databases (local, remote) -> CRUD-methods.
Is it possible to have one CAF service which provides access to differenct/all databases?
If yes -> How to do this?
regards

Hi,
1) You can create a Business Object(Entity Service) with only one persistency(Local or Remote).
2) If you want to access data from multiple data bases say MySql etc, You create a seperate Web Service for each of the databases. Suppose, If you want to get list Employees from MySql DB then write a WebService for doing that.Similarly write a Web Service for each DB. Then Map all these Web Servcies to a single application service.It wiil create opertions corrsponding to those Web service operations in the Application service. Then write a seperate application service operation and in that operation call the Web service operations according to your requirement.

Similar Messages

  • Writing a common business services Interface - J2EE?

    Hi Guys,
    Tanks for the previous help. The problem here is, if possible I would
    like to know some architectural approaches for following design
    question:
    We are basically building an enterprise application on J2EE Platform.
    The database tier underlying the application is accessed by more than
    one portal. Some of the portals are external to organization, but share
    the data stored in the database.
    What would be the best approach to address this problem? The basic idea
    is to write a re-usable common business service component in J2EE
    application and provide access to database at Application Server level?
    How can I make use of J2EE services/components such as JMS, EJB's to
    effectively allow other systems/portals to access database via J2EE
    container? Is XML a viable solution?
    thanks
    Ramesh

    Hi Ramesh,
    "Ramesh Ankam" <[email protected]> wrote in message
    news:[email protected]..
    Thanks for the reply! So this means that application or external portalhas
    to make remote rmi:// call to access the session bean and invoke businessYes, if you want secure communications. You may also consider
    making your application WebServices enabled. Anyway, you need
    a clearly defined business layer. Otherwise your data won't be treated
    in a uniform way and you will end up with maintanance burden.
    methods? Is JMS is a overkill for this requirement?It really depends on what you should get as a result.
    If you need messaging, JMS is a good thing.
    Regards,
    Slava Imeshev
    >
    RA
    Slava Imeshev wrote:
    Hi Ramesh,
    You need to write a set of Staletess Session Beans representing you
    business logic, and to define security properly. You should never
    expose database (entity EJBs) to layers other then your business
    layer.
    Regards,
    Slava Imeshev
    "Ramesh Ankam" <[email protected]> wrote in message
    news:[email protected]..
    Hi Guys,
    Tanks for the previous help. The problem here is, if possible I would
    like to know some architectural approaches for following design
    question:
    We are basically building an enterprise application on J2EE Platform.
    The database tier underlying the application is accessed by more than
    one portal. Some of the portals are external to organization, but
    share
    the data stored in the database.
    What would be the best approach to address this problem? The basicidea
    is to write a re-usable common business service component in J2EE
    application and provide access to database at Application Serverlevel?
    >>>
    How can I make use of J2EE services/components such as JMS, EJB's to
    effectively allow other systems/portals to access database via J2EE
    container? Is XML a viable solution?
    thanks
    Ramesh

  • DTW error in SAP hana "Unable to access SBO-Common database"

    Hi.. Experts
    I am working on SAP Hana Pl 04 64 bit, On which I got the error "Unable to access SBO-Common database  " While using DTW.
    also company databases are also not presents,For more details for more details find out attachment.
    I have also check out all services & Restart them.
    Please give me proper solution.

    Discussion moved from SAP Business One (中文) to SAP Business One Application
    Find Topic Spaces on SCN (Forums)

  • DTW error "Unable to access SBO-Common database " for sap hana

    Hi.. Experts
    I am working on SAP Hana Pl 04 64 bit, On which I got the error "Unable to access SBO-Common database  " While using DTW.
    also company databases are also not presents,For more details for more details find out attachment.
    I have also check out all services & Restart them.
    Please give me proper solution.

    Hi,
    Please check:
    1.Ensure you have the correct DB Type selected under the Login options.
    2.Verify that all connection information is correct (for example, the correct user name and password or the user has enough right to  connect to the database server in case Windows Authentication is used).
    3. Check whether the database is running properly, make sure that the COMMON and company databases are not suspended or stopped.
    4. Ensure there is no DI API version mismatch.
    Thanks & Regards,
    Nagarajan

  • 11gR2 Install Error, Listener is not up or database service is not registered with it

    Hi all,
    I'm currently studying towards my OCA, I've passed 1z0-051 (SQL Fundementals I), and now I'm moving onto 1z0-052 (Admin 1).
    Im really having trouble creating a database in Oracle 11g R2 Enterprise Edition. I install the software no problem. Then I create a database, and during the creation I have to createsa listener which uses TCP (default port:1521) and IPC. whilst creating the database I get the following error
    'Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM configuration Assistant again.'
    Now, before you lynch me, I have searched this forum for answer to this for a day and a half. I've also tried google, i just can't find a answer that sorts out my problem. please assist me.
    I'm running on Windows 7 Professional (32bit) (I have previously tried on the 64 bit version with teh same results).
    Here's teh contents of my listener.ora file:
    # listener.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\app\Damien\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Damien\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = ipc))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.4)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = C:\app\Damien
    Here's the contents of my tsnames.ora:
    # tnsnames.ora Network Configuration File: C:\app\Damien\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Here is the last fe lines of my emConfig.log:
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
    CONFIG: isLocalConnectionRequired: true
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Damien\product\11.2.0\dbhome_1, and user: SYSMAN
    Jan 18, 2014 9:38:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
    CONFIG: SQLEngine created successfully and connected
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
    at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1903)
    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3230)
    at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
    at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
    at java.lang.Thread.run(Thread.java:595)
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    Refer to the log file at C:\app\Damien\cfgtoollogs\dbca\orcl\emConfig.log for more details.
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
    at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:3245)
    at oracle.sysman.emcp.EMReposConfig.unlockMGMTAccount(EMReposConfig.java:1001)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:346)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
    at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
    at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
    at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
    at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
    at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
    at java.lang.Thread.run(Thread.java:595)
    Jan 18, 2014 9:38:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to C:\app\Damien\product\11.2.0\dbhome_1\oui
    My Listner status output is here:
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 18-JAN-2014 10:14:39
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ipc)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                18-JAN-2014 09:27:34
    Uptime                    0 days 0 hr. 47 min. 6 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\Damien\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File         c:\app\damien\diag\tnslsnr\LONDON\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\ipcipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.10.4)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    I can login as sys into my database through sqlplus, so it seems the database is up and running, it just seems to be a listener problem maybe??
    Many thanks for any assistance that you give. I'm learning so be gentle...
    Damien

    SOLVED!
    OK all solved now, thanks to the link to Ed Stevens website that Baris posted (mucho respect )
    Seems that like Barus said I was not using Dynamic Registration, which means that I would need to manua
    ly update the listerner.ora file. On top of that it seems that for some my tnsnames.ora wasn't resolving mt database name so the tnsping wasfailing.
    What I did to solve the name resolution problem
    1. Opened the
    Network Configuration Assistant and saw that my listener didnt have my DB registered with it. So I added it. What this horrible GUI tool does is update the tnsnames and listener.ora files for you. So once that was done I went to the command prompt and did ;'tnsping <dn name> and hey presto it was getting a nice response.
    Then I re-ran my DB Configuration Assistant and tried to reconfigure my database. However it aing failed and gave me the same message that I was originally getting about the DB Service not being registered etc..the lister status still said that same thing:
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    the 'unknown' means that the DB  didnt tell the listener that it was there but instead the listener is in manual mode and will just use the configuration in the listener.ora to know where the DB is.
    So then I followed the steps on the ED Stevens website (follow the link). He has steps which show how to enable Dynanmic registration so that your DB regusters itself with the listener. In a nutshell, he states that he listener actually doesnt need the listerner.ora if using dynamic registration. I shutdown the DB, stopped the listener then I renamed the lsitener.ora to listerner.old, then started the lietener and checked the status and it said 'the listener supports no service' I then started the DB and, then resched teh listener status, it then read 'status: READY'... hooray!, the DB had dynamically registered itself with the listener. I then was able to successfully start up and run Enterprise Manager.
    Thanks for all your help Baris, and Ed Steven website.
    I know more now than when I started so I'm happy.
    Thanks.

  • Importance of Common Database in SAP B1

    hi guys,
    Up to this point, its not very clear to me if it is necessary to back the Common Database of SAP business one.
    As per documentation, it states that Common database – includes tables for basic initialization of any new company database (for example, built-in reports and system queries). This means that every new database created, this is the time when Common Database is update or something?
    My main concern here is, is it necessary for me to back/restore both the common and reg company database? I need to know this as early as possible because I am not backing up this common database .
    Thanks,
    Beth

    hello Lili,
    The common database stores required tables that used when run company databases. it is System Databases. In addition to the SAP Business One company database with the application data, you should backup the database SBO-Common once after installation, and after each upgrade.
    when creating new company database, there maybe updating process of common database beside upgradingPL.
    Based on securityguide file, it states:
    Creating the SBO_SP_Role in Each New Database
    This role enables execution permissions only to SAP Business One stored procedures in the specific database.
    The following procedure should be carried out on the SBO-COMMON database and the company database.
    1. On the Microsoft SQL Server Management Studio navigation pane, choose Databases &#8594; SBO-COMMON (or company database) &#8594; Security &#8594; Roles &#8594; Database Roles.
    Right Click and choose New Database Role – Database Role – New window appears.
    2. Enter SBO_SP_Role in the Name field and choose OK.
    The list of Roles appears in the right pane.
    3. Double-click the new role and choose from the left pane Securables.
    4. From the right pane, press the Add button. The Add Objects window appears.
    5. On the Add Objects window choose All Objects of the Types and press OK. The Select Objects Types window appears. Choose Stored Procedures. Press OK to confirm and close the window.
    6. For SAP Business One stored procedures, select the EXEC option in the bottom pane.
    Stored procedures might change in future releases of SAP Business One, therefore, this role should be updated accordingly. Instructions to change the role due to changed stored procedures will be included in the documentation of future versions.
    See Appendix A – Stored Procedures in SBO-Common and Appendix B - Stored Procedures for Regular Company
    Rgds,

  • Database Services Engine Failed, SQL Server Replication Failed, Full Text Search Failed, Reporting Services Failed

    Hello,
    I am trying to install Microsoft SQL Server 2008 R2. I get the error bellow (Database Services Engine Failed, SQL Server Replication Failed, Full Text Search Failed, Reporting Services Failed). I already have a copy of SQL Server 2008 R2 on the machine.
    I want to create a new named instance of SQL Server for some software I'm installing.
    The error is below.
    Any help would be much appreciated, thanks!
    Overall summary:
      Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
    rerun SQL Server Setup.
      Exit code (Decimal):           -595541211
      Exit facility code:            1152
      Exit error code:               49957
      Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then
    rerun SQL Server Setup.
      Start time:                    2014-02-06 09:14:09
      End time:                      2014-02-06 11:18:16
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.2500.0%26EvtType%3d0x44D4F75E%400xDC80C325
    Machine Properties:
      Machine name:                  BAHPBZ52TY
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
      Sql Server 2008 R2   SQLEXPRESS           MSSQL10_50.SQLEXPRESS          Database Engine Services                
    1033                 Express Edition      10.50.1600.1    No        
      Sql Server 2008 R2                                                      
    Management Tools - Basic                 1033                 Express Edition     
    10.50.1600.1    No        
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      Installation location:         c:\c7ced2c86d6b9813b28186cc831c2054\x64\setup\
      Installation edition:          EXPRESS_ADVANCED
      Slipstream:                    True
      SP Level                       1
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      True
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             
      CUSOURCE:                      
      ENABLERANU:                    True
      ENU:                           True
      ERRORREPORTING:                False
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      SQLENGINE,REPLICATION,FULLTEXT,RS,SSMS,SNAC_SDK,OCS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  NT AUTHORITY\LOCAL SERVICE
      FTSVCPASSWORD:                 *****
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              c:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           c:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    aedt2bSQL
      INSTANCENAME:                  AEDT2BSQL
      ISSVCACCOUNT:                  NT AUTHORITY\NetworkService
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     c:\c7ced2c86d6b9813b28186cc831c2054\PCUSOURCE
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 DefaultNativeMode
      RSSVCACCOUNT:                  NT AUTHORITY\NETWORK SERVICE
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           BAH\568385
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  False
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Full-Text Search
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Reporting Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:      0xDC80C325
      Configuration error description: Access is denied
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\Detail.txt
      Feature:                       Management Tools - Basic
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Microsoft Sync Framework
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140206_091302\SystemConfigurationCheck_Report.htm

    Hello,
    If you see error descriptioon it gives access denied so basically it is because of some access issue.I guess You must be using some domin account for installation make sure it is  added as local administrator also instead of using NT Authority network
    service  as SQL server service account use local system account .
    Below link would help
    http://serverfault.com/questions/212135/access-is-denied-error-installing-sql-server-2008-on-windows-7
    You can also browse to setup.exe file and RK on it and select run as administrator
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • How to add a new database service name to 9iDS

    Hello,
    I installed 9iDS and 9iDB on my laptop which worked fine for few months. I had trouble with 9iDB I/O system so I reinstalled 9iDB with a new SID name. I updated 9iDS by replacing old SID name with new SID name in tnsnames.ora file but it did not work.
    Please someone suggest where should I update in 9iDS to access my newly installed database service with new SID so that forms appication builder can connect properly.
    Currently it is saying :
    ORA-12514: tns listener could not resolve service name given in connect descriptor.
    Thanks,
    [email protected]

    Shyam,
    could it be that you are still starting the old database tnslistener. Please make sure that you start the listener for your new Db instance.
    Frank

  • Database Service not Getting Started

    I have installed, configured Oracle 8i Enterprise Edition on Windows 2000 Profesional.
    - Database Created
    - User Created
    - Data imported into the user from a Dump file.
    - Logged on to OEM by creating a Repository.
    My problem is the above activities are done before Re-starting the system after installation. When I Re-started it the Database Service is not started. Database Service normally starts soon after the system starts (Automatically was set in Services of Windows). It says Starting, but could not start. what could be the reason?. My system runs on 128 MB Ram with 550 Mhz Pentium Processor with enough Swap Memory.
    By - Faheem Ahmed
    [email protected]

    Do you get any error messages when you start the database manually? Also, are there any messages in the oracle logs? This is the Error Message.
    **: The Service did not respond to the start or control request in a timely fashion.

  • OPS$ and database services

    All,
    I'm on 10.1 Solaris with an "OPS$" (externally identified) user, through which all application logins (batch loads) are made. I also have a range of database services and would like to connect this user to a specific service based on the batch type (e.g. connections for the "london" batch would be made to the "london" service and so on).
    Connections are made via the Perl DBI but I'm also trying to test via sqlplus, which is the easiest place to start.
    The SQL*plus documentation states that the connection identifier cannot be used with an OPS$ user:
    "You cannot enter a connect_identifier if you use a default logon."
    That seems pretty final to me.
    But has anyone got any ideas or experience of how I might connect to a service with an OPS$ user? Or even register with a service once I'm logged in, for example?
    Thanks

    > I also have a range of database services and would like to connect this user to a specific
    service based on the batch type (e.g. connections for the "london" batch would be made to
    the "london" service and so on).
    Why? What problem are you solving by doing it this way?
    > But has anyone got any ideas or experience of how I might connect to a service with an
    OPS$ user?
    Not sure how you can. To connect as an OPS$ user requires a local IPC connection. You cannot use a TNS alias or set it via TWO_TASK - as then the connection would be via TCP to the listener and how can it use o/s authentication as you could be coming from anywhere across the network.
    Or am I missing something here?

  • Database Service Name or Global Database Name with Oracle 10G, when Oracle

    I have an old installation of Oracle 9i (SID=ORCL) and now have installed Oracle 10G (SID=ORC2). I can get connection to Oracle 10G if i define it as an Oracle 8 compatible identification (ie I access to a SID, and don´t provide a Service Name.
    Now I want to install Oracle HTML DB, and succeeded to install the SQL-script that came with the download, but when I install Apache and HTML DB from the Oracle Companion CD I am asked to give the Database Service Name (in the Help it is explained as the Global Database Name).
    When i give the Net Service Name I get error messages (incomprehensible).
    When I look in Net Manager, the Net Service Name does not have a Service Name, but only points to a SID (ie ORC2).
    Where can I find the Database Service Name (or Global Database Name), OR define it if it is not defined??
    Thanks for your help,

    create a net service for oracle10g and provide the name of this service during HTML DB installation it is required for installation.

  • Recreate SAP and database services in Windows

    Hi!
    I'm running my sandbox in a wmware enviroment and yesterday the C: partion got corrupted and I managed to "save" the other drives where the SAP and database are installed.
    Is there any way to recreate the SAP and database services in another Windows installation? (manually or automatically)
    That way I don't need to reinstall the whole system....and no there is no backup or snapshot since the system is not complete.
    But if I get the database to start I should be able to do a backup and then do a new installation and import the backup!?
    Thanks for any input
    rollo

    What is the database platform?
    If it is SQL Server try attaching the data & log files to another instance SQL instance at the same release & patch level, if that works the database is intact so recovery should be possible.
    From there rebuild your vmware box and treat the SAP install as though you are doing a 'system copy' so -
      -Install & patch Win2003
      -Install & patch SQL Server
      -Install a 'blank' SAP Central Instance & update kernel
      -Attach SQL database
      -Use the SAP's SQL Migration tools to prepare DB & instance
      -cross fingers & startsap
      -make a backup
    Check out http://servcie.sap.com/instguides for the System Copy guide that matches your release
    If that helps please reward points
    Cheers
    Danny

  • Oracle 9i database service

    hi guys,
    can u tell me how to create a oracle database service in 9i(not net service name) after installation.also how do i associate this service name with the existing database.( again not net service name)

    Hi,
    If you mean an Operating system service (Windows systems) you can use the ORADIM command. You can see the syntax by typing ORADIM from a dos window.
    Paolo

  • Resolve database service name using in SQL

    Hi all!
    My question is:
    Is it possible to resolve database service name (e.g. TNS) from SQL only (without logging into the server with oracle user and execute tnsping)?
    I'll give you a bit background about my question:
    In DataGuard, if you query v$archive_dest, you can see the SERVICE NAME of the standby database in the STANDBY records. I would like to know what is the real server name and database instance of the standby database.
    I don't want to login to the primary server with oracle user (let's say that I can not - it's a program really, not me...).
    Let's also say that the only user I have is a read-only user to the database (with grants to all tables and views, but cannot execute privileged DBMS sys packages).
    Running "SQL> host tnsping NAME" doesn't do the job, since this is only for SQL plus.
    Doe's anyone have any idea? maybe v$ view that contains the TNS resolution (tried to find, no success)? maybe a tnsping alike command/function?
    Thanks a lot!
    Maayan

    MaayanB wrote:
    I'll explain the reason.
    I'm working on an agentless product that connects to databases, storage and hosts, and models them into a small CMDB.
    Since my product needs to model the "STANDBY" relationship between primary and standby DataGuard databases - I need to be able to resolve the value of the "DESTINATION" field from "V$ARCHIVE_DEST", where TARGET IN ('STANDBY','REMOTE').
    I could login to the server and execute "tnsping DBNAME", but the problem is that when a server has more than one ORACLE_HOME (hence, more than one tnsname.ora file), I need to make sure that the user I'm using to login to the server has all environment variables conigured properly for each database installed on the server (BTW, the unix user is also a "naked" user with no privileges except the sudo's defined for it).
    So I assume that the best way to be sure that the environment variables are correctly defined is when I login to the database.
    This is the reason I need to resolve service names using SQL.
    BTW, the database process somehow uses the Oracle Net Services to resolve the same value when it sends the redo log files to the standby server - and I'd like to resolve it the same way (or other, if not possible). If it uses the sys privileges, and it executes the package that lets you execute something on the server ("tnsping", in this case), and this is the only way it can be done - I need to start thinking on a different way to resolve the problem.What you are missing is that when "the database process somehow uses the Oracle Net Services to resolve the same value when it sends the redo . . ." is that Net services is NOT just resolving the name for the database. It is also handling the actual transport of the files. That name resolution is not passed back to the database.
    >
    Anyway, I'm not a hacker or something alike, It's just that my product doesn't know how to pick up the phone and dial :)

  • Truncate or Shrink the SBO-COMMON Database in B1.

    Hello everybody!!
    I need to know if it's safe to either truncate or shrink the SBO-COMMON database.  I kow all recovery trail will be lost, but that doesn't matter much, since I'm planning to switch from "full recovery" to "simple" recovery model.  The database is backed up on a daily basis, so only the last back up of the databse is relevant.
    In notes 625546, 783183 and 548772 SAP clearly states that truncating or shrinking a production database is a safe procedure, but what about the SBO-COMMON?  I guess one can follow the same rationale as in the production databases, but I'm not sure.
    Thanks for any valuable help.
    Emilio Méndez.

    Ross:
    Thanks a lot for the advice.  I'm still triyng to get official word from SAP through a message in the Market Place.  Anyhow, I'm going to take your adivce as a "best practice" for a reasonable maintenace plan to the databases used by B1.
    I'm only waiting for some other comments before I mark the thread as "answered".
    Thanks a lot for the help,
    Emilio Mendez.

Maybe you are looking for

  • How do I get rid of the stupid menu bar on my 2nd display?

    I do not want my menu bar to display on my 2nd monitor. The fact that apple decided that it would be okay to reduce my usable space on my 2nd screen infuriates me. How do I revert this back to how it was previously? I don't want the menu bar (or the

  • Separate events by date in iPhoto?

    I have one event in iPhoto that covers a few days. Is there any way to "separate" the days in the same event so I know which picture was on what day? I would like to not have to click "show photo info" each time and the "split" feature only seems to

  • HT1364 Moving music to my Itunes

    Okay so here's the bug. I followed all the steps but my music keeps adding in my Podcasts instead of Music. Will someone please help me

  • Dumping all data from 1984 Oracle Rdb to 9i

    Client runs a 1984 Oracle Rdb (relational database or actual product name?) on a Sparc running VMS. How can all the data be dumped to a 9i on an Intel running Windows? The 1984 Oracle and the Sparc are retiring. Thanks for your help. Chris Malan

  • Updated brand new Touch to 5.0.1, now won't play music

    I just got a new iPod touch today, and loved it for about the first six hours. Then the update finished downloading, and I installed it. Now, when I try to play music or an audiobook, it does one of two things: either it goes to the Now Playing scree