GET HOSTNAME SERVER IN PL/SQL

Hi
Is it possible to get the hostname of my unix server where my database is located in a pl/sql procedure ?
I try to use sys_context('userenv','host') but it show me the hostname of my client where i launch the procedure not the hostname server.
Is it possible to do such things ?
Thanks.

The same question has been asked yesterday here
Re: Is the server name the Database is running on stored in a system table?

Similar Messages

  • In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String

    In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .

    Hi Srinath,
    The below blog might be useful
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
    PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
    regards,
    Harish

  • How to get the server name/hostname on which JVM is running?

    How to get the server name/hostname on which JVM is running from the Servlet or normal class?

    InetAddress.getLocalHost()

  • How to get hardware related metrics of SQL Server through query ?

    Hi Folks,
                   I am newbie to the SQL Server programming. I also follow this forum only now. I am not sure if these kind of question had been asked in the past. Let me furnish you more detail about my query. I do like
    to get few details regarding the SQL server. I do need the following details to get the information about it through query
    SQL Server Installation directory
    No. Of CPU(as i read SQL Server standard support 4 cpu and Enterprise support 32 CPU)
    CPU Speed of the SQL Server installed machine
    Disk Storage details
    Operating system on which the SQL Server is installed
    Location of the swap file of SQL Server
    TempDB directory path
    System database directory path
    User database location 
    Log files location
    I do like to get information like this through query. Can i know if such information can be get through query or it should be get only thro' WMI. Please drop your ideas in getting these details.
    Thanks in Advance,
    Regards,
    JeiSurya

    Try this query in the below link 
    http://gallery.technet.microsoft.com/Query-to-find-all-the-8fa765e6
    you will get the SQL Server and H/W Details like 
    IP Address 
    FQDN 
    CurrentSQLNodeName 
    SQL Instance Name 
    SQL Server Product
    SQL Server Edition 
    Service Pack 
    SQL Server Version 
    Operating System
    OS SP Level
    OS Build Number
    SystemManufacturer 
    Processor Type 
    System Model 
    Total RAM in MB 
    NumberOfPhysicalCPUs 
    NumberOfCoresInEachCPU 
    TotalNumberOfCores 
    NumberOfLogicalCPUs

  • Equivalent of "connect by " clause in SQL Server's T/SQL to get family tree branches

    Is there any equivalent command in SQL Server's T/SQL for the command :-
    select parent, offspring from table_family start by offspring='child1' connect by parent=PRIOR offspring

    Is there any equivalent command in SQL Server's T/SQL for the command :-
    select parent, offspring from table_family start by offspring='child1' connect by parent=PRIOR offspring I had this problem some time ago. I don`t found an eqivalent on MS-SQL-server 7.0. So I wrote a T-SQL procedure wich calls itself recusively. ( I don`t have the souce-code any more ).
    I don4t know if there is an equivalent on MS-SQL-server 2000.

  • Unable to install SQL Server CE Server Tool on SQL Server 2000 SP 4

    Hi
    I am facing problem with installing SQL Server CE Server Tool,
    I have installed SQL Server 2000 SP 4 which is working fine.
    While i am running Setup of "SQL Server 2000 Windows CE Edition version 2.0" ,Developer tools installed successfully but incase of SQL Server CE Server Tool i am getting following Error
    "SQL Server CE Tool is compatible only with SQL Server 2000 Service pack 1 and higher.
    When you install SQL Server CE Server Tools on a computer running both IIS and SQL Server 2000 , ensure the installer for SQL Server CE Server Tools corresponds To the version of SQL Server 2000."
    I am sure that i have running SQL Server 2000 SP 4 (MSDE also SP 4) , IIS (Version 5.1) is also working fine , and one more thing i am trying to install SQL Server CE Server Tool setup is "sqlce20sql2ksp4.exe" (Which i downloaded from microsoft site.).Here all the requirement is fulfill but i dont know what is going to wrong.
    I wasted my 2 days behind solving this issue , now i am tiered ,So please any one have solution for this issue.
    Help me please.
    Thanks in advance.
    Regards,
    Ketan Gohil
    ([email protected],[email protected],[email protected])

    Refer this link,
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/a8591747-689d-4a2e-b301-86094daf6cec/unable-to-install-sql-server-ce-server-tool-on-sql-server-2000-sp-4?forum=sqlce
    http://www.vbforums.com/showthread.php?472623-Compatible-SQL-Server-CE-installer
    Regards, RSingh

  • Search Problem with SharePoint 2010: Get Internal server error when doing search

    Hi,
    Am getting Internal server error, corelation id.. when I use the search functionality in SP2010. 
    I've installed Sharepoint 2010 trial version on windows server 2008 r2 and the database server used is a SQL server 2008 R2.
    I got the following messages with ULs viewer for the relative Corelation ID:
    Process
    Product
    Category
    Level
    Message
    w3wp.exe (0x1808)
    SharePoint Foundation
    Monitoring
    High
    Leaving Monitored Scope (Search Statistics). Execution Time=404.4175
    w3wp.exe (0x1808)
    SharePoint Server
    General
    Medium
    Constructed a new async cache named Location Configuration Cache
    w3wp.exe (0x1808)
    SharePoint Server Search
    Administration
    High
    'SharePoint_SearchApplicationProxy', location cache: 
    Refreshing location cache
    w3wp.exe (0x1808)
    SharePoint Server Search
    Administration
    High
    SharePoint_SearchApplicationProxy', location cache: Exception while fetching
    location configuration data. StackTrace: Microsoft.SharePoint.SPEndpointAddress
    NotFoundException: There are no addresses available for this application.    
    at Microsoft.SharePoint.SPRoundRobinServiceLoadBalancer.BeginOperation()    
    at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.
    GetLocationConfigurations(Int64& lastUpdate, Boolean& useCrawlProxy)    
    at
    Microsoft.Office.Server.Search.Administration.LocationConfigurationCollection.
    PopulateCollection()    
    at Microsoft.Office.Server.Search.Administration.
    LocationConfigurationCollection.Init()    
    at Microsoft.Office.Server.Search.
    Administration.LocationConfigurationCollection..ctor(SearchServiceApplicationProxy
    searchAdmin)    
    at Microsoft.Office.Server.Search.Administration.LocationCache.
    FetchLocationConfigurationData()
    w3wp.exe (0x1808)
    SharePoint Server Search
    Query
    Unexpected
    CoreResultsWebPart::OnInit: Exception initializing: System.NullReferenceException:
    Object reference not set to an instance of an object.    
    at Microsoft.Office.Server.
    Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()    
    at
    Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)
    w3wp.exe (0x1808)
    SharePoint Server Search
    Query
    Exception
    Internal server error exception: System.NullReferenceException: Object reference
    not set to an instance of an object.    
    at Microsoft.Office.Server.Search.WebControls
    .CoreResultsWebPart.SetPropertiesOnQueryReader()    
    at Microsoft.Office.Server.
    Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e) System.
    NullReferenceException: Object reference not set to an instance of an object.    
    at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.
    SetPropertiesOnQueryReader()    
    at Microsoft.Office.Server.Search.WebControls.
    CoreResultsWebPart.OnInit(EventArgs e)
    w3wp.exe (0x1808)
    SharePoint Server
    Unified Logging Service
    Monitorable
    Watson bucket parameters: SharePoint Server 2010, ULSException14, 06175311
    "sharepoint server search", 0e00129b "14.0.4763.0", 17853a8f "microsoft.
    office.server.search", 0e00129a "14.0.4762.0", 4bad937d "sat mar 27 09:11:25
    2010", 0000320d "0000320d", 0000002d "0000002d", 4a6d3421 "nullreferenceexception"
    , 67316a39 "g1j9"
    w3wp.exe (0x1808)
    SharePoint Foundation
    Monitoring
    High
    Leaving Monitored Scope (Search Action Links OnInit). Execution Time=395.3955
    w3wp.exe (0x1808)
    SharePoint Foundation
    Monitoring
    High
    Leaving Monitored Scope (Add WebPart with error#4). Execution Time=527.8118
    w3wp.exe (0x1808)
    SharePoint Foundation
    Monitoring
    High
    Leaving Monitored Scope (Add WebParts). Execution Time=3601.2636
    w3wp.exe (0x1808)
    Web Content Management
    Publishing
    Medium
    Caught a thread abort exception in TemplateRedirectionPage.ProcessRequest,
    the exception may be expected. stack trace=  
    at System.Web.UI.Page.
    ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean
    includeStagesAfterAsyncPoint)    
    at System.Web.UI.Page.ProcessRequest()    
    at
    System.Web.UI.Page.ProcessRequest(HttpContext context)    
    at ASP.SEARCHRESULTS_ASP
    X__1518441470.ProcessRequest(HttpContext context)    
    at Microsoft.SharePoint.
    Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext context)
    w3wp.exe (0x1808)
    SharePoint Foundation
    Monitoring
    Medium
    Leaving Monitored Scope (Request (GET:http://nestestsp:25943/Pages/results.aspx
    ?k=home%20nesintranet)). Execution Time=3811.6724
    Can anybody help me find a solution for this issue.
    Thanks

    After making sure that all services are up and running,  I had to deactive and activate the "SharePoint Server Site Search" web site collection feature.  Then the search started working for the time being. 
    However, it throws the error again after 8 to 9 hours.  This has been happening for last couple of weeks.  I also came to know from my windows server team that they moved the AD from one place to another.  Since then I am having this issue. 
    The log file has the following error:
    CoreResultsWebPart::OnInit: Exception initializing: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()    
    at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)
    Internal server error exception: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()    
    at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e) System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()    
    at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)
    Harish Vajja

  • Error updating data source from SQL Server ODBC into SQL Native Client 10.0

    I am converting Crystal 8.5 reports into Crystal XI release 2. The data source was ODBC using SQL Server 2000 and pointing to a stored procedure. In the new server the data source has to be ODBC again, but it uses the SQL Native Client 10.0 Driver, because the new server is SQL Server 2008. I have copied the same old stored procedure on the new server and it works fine as a data source to a brand new Crystal XI report. But when I am opening an existing 8.5 version crystal report and updating the data source to the new location I get the error message "Some tables could not be replaced, as no match was found in the new data source".
    I thought I could tackle this error by creating a temporary data source using the standard ODBC SQL Driver linked to the SQL 2008 Server instead of the SQL Native Client 10 ODBC. So I first updated the crystal data source to link to this temp ODBC using SQL Driver and it worked fine. But after that, when I try to update the data source to link to the SQL Native Client 10 ODBC, I get the same error again.
    So I guess that the problem is not the new server itself, but the switch between SQL Server ODBC and SQL Native Client 10 ODBC.
    Does anyone know what's going on with this SQL Native Client 10 in updating crystal report data sources?

    CR XI does not support that driver. Try selecting the Native driver or upgrade to CR XI R2 for free and use SP4, 5 and 6 and then FP 6.4 or upgrade to CR 2008 and SP 3 and Fix Pack 3.3
    Thank you
    Don

  • Connect Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000

    Hi all,
    I am trying to connect:
    Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000 (32-bit) on a different machine.
    1) I have create an ODBC connection (called:GALAXY) which connects.
    2) created a init.ora called it initgalaxy.ora in $oracle_home\hs\admin
    HS_FDS_CONNECT_INFO = GALAXY
    HS_FDS_TRACE_LEVEL = on
    3) modified the listener.ora file as below
    # listener.ora Network Configuration File: E:\Ora11g\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc0))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC =
    (GLOBAL_DBNAME = HEX.BIU01.kingsch.nhs.uk)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    (SID_NAME = HEX)
    (SID_DESC=
    (SID_NAME = galaxy)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    (PROGRAM = dg4odbc)
    (SID_DESC =
    (PROGRAM = EXTPROC)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    4) modified the tnsnames.ora file is as follows
    GALAXY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SID = galaxy)
    (HS = OK)
    HEX =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HEX)
    5) restarted the listener
    6) created a public database connect
    create PUBLIC DATABASE LINK "GALAXY" CONNECT TO "USER" IDENTIFIED by "PWD" USING 'galaxy';
    This is the error message I can sell in $oracle_home\hs\admin\trace
    Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
    Version 11.1.0.6.0
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using galaxy_live as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    ##>Connect Parameters (len=42)<##
    ## DSN=GALAXY;
    #! UID=galaxy_live;
    #! PWD=*
    hgocont, line 1890: calling SqlDriverConnect got sqlstate IM002
    when I try to test the database link, I get this error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Drive Manager] Data source name not found and no default driver specified
    ORA-02063: preceding 2 lines from GALAXY
    28500.00000- "connection from ORACLE to ad non-Oracle system returned this message:"
    *Cause: The cause is explained in the forwarded message.
    *Action: See the non-Oracle system's documentation of the forwarded message.
    vendor code 28500
    Edited by: user7336435 on 27-Apr-2009 05:56

    11.2 is beta at the moment. There is no official release date so far.
    As DG4ODBC is independant from the Oracle database (or the target database) you can use a 3 machine model:
    On the first machine you have your Oracle database, on a second machine running 32bit Windows you can install DG4ODBC and on the 3rd machine you can run your foreign database.
    If the SQL Server 2k is installed on a 32bit Windows machine, then you can also install DG4ODBC on this machine.
    In general the connection from an Oracle database to the DG4ODBC machine is done using SDQL*Net. The listener responsible for DG4ODBC will then load the DG4ODBC executable which will connect to the SQL Server using SQL Server ODBC driver.

  • Connection failed: SQLState:'01000' SQL Server Error:67 [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). Connection failed: SQLState:'08001' SQL Server Error:17 [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist o

    Help,
    setup a new sql server 2012 on a windows 2012r2 server to replace old sql server 2005 on an old windows server 2003 machine.  When i test the ODBC connection locally on the server it works fine, however when i try to connect via windows 7 client machine
    i get the following error:
    Connection failed:
    SQLState:'01000'
    SQL Server Error:67
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
    (Connect()).
    Connection failed:
    SQLState:'08001'
    SQL Server Error:17
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied
    I think it must be a permissions thing, I've turned off the firewall for now and still no difference, 've also made sure remote connection is enabled.  I can connect to the other sql server in studio manager on the new machine however, i can't go do
    the same in the old server, says:
    cannot connect to hbfsqlpro1\hbfsqlpro1
    Additonal information a network related or instance specifc error occured while establising a connection to SQL server.  The server was not found or was not accessible.  Verify that the instance name is correct and that SQL server is configured to
    allow remote connections. (provider:SQL Network Interfaces, error 26 - error locationg server/instance specified) (Microsoft SQL server)
    the instance is def correct, as that is what i use to connect locally on the new machine and what it comes up on the studio manager on the new machine.  STarting to pull my hair out somewhat, i'm sure it's something really simple! 

    Hello,
    You are trying to connect to a named instance. Make sure the SQL Server Browser service is started on the SQL Server computer.
    Make sure TCP/IP is enabled.
    http://msdn.microsoft.com/en-us/library/ms191294(v=sql.110).aspx
    Try to disable Windows Firewall or security software on both, SQL Server instance and client computer.
    Test basic connectivity too. Try to ping from the client computer to the SQL Server computer.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How do I load an SSIS package created in Visual Studio 2012 Shell (Integrated) onto SQL Server 2012 using SQL Management Studio 2012

    I am fairly new to this whole process of working with the Microsoft development environment.  Here is what I have to work with:
    an NT server running Microsoft SQL 2012  - Microsoft SQL Server Standard (64-bit)  11.0.2100.60
    and on my laptop (all freebie downloads):
    SQL Server Management Studio 2012            ver 11.0.2100.60
    Visual Studio 2012 Express  for Desktop Development and
    Visual Studio 2012 Shell (Integrated)
    I was able to create an SSIS package in
    2012 Shell (Integrated).  It takes a flat file and imports it into an SQL database table.  It runs successfully from within the
    2012 Shell (Integrated) envrionment.
    But I am having trouble figuring out how to set this up on the 2012 SQL Server.  I see that one of my colleagues created an Integration Services Catalog,
    and using SQL Management Studio I was able to create a folder under that called DigLic.  But when I go to the Projects subfolder of DigLic and attempt to import my SSIS package, I get an error message:
    "To launch the Integration Services Deployment wizard, one of the components: Integration Services, Management Tools - Basic or Business Intelligence Development Studio has to be installed by the SQL Server
    2012 Standard, Enterprise, Developer, or Evaluation Edition.  To install a component, run SQL Server Setup and Select the component name"
    I realize that Express Versions of Visual Studio lack the full feature set of a professional version.  But am I wrong in assuming that owning a server version of SQL Server 2012 gives us license to a professional
    version of SQL Management Studio 2012?  If so, how would I go about getting this software component installed?  And I am not clear if this is something that needs to be installed on our SQL Server or if I simply need a professional version of SSMS
    loaded on my laptop.
    I work for a company that is fairly fractured in its repsonsibilities, so I would need to know exactly what to ask for if I need to track down any licenses that I might need and if I need to have any specific software installed on our SQL server or on my
    laptop.
    All helpt would be greatly appreciated.
    Thanks!

    Arthur,
    Thank you for your reply.  But at this point, one of my points of confusion is what software I have available to me.  I wish I had a useful central help desk to call up and just say, "Hey, load me up with all of the professional version(s) of Visual
    Studio.  But I do not know what we have license to.  And I kind of need to know what the options are, so that I can ask a specific question of our vast buracracy.
    For now, I have downloaded only free versions of Visual Studio client software.  Since my company does have servers running Microsoft SQL Server, I am going to assume that we have proper licensing for those servers.  But does that server license
    allow me to get any professional versions of the PC client software for the various Visual Studio(s) 2012?
    And if I get a professional version of Visual Studio 2012, does that do away with the three different flavors that I have right now?  I have 2012 versions of SQL Server Management Studio, Visual Studio Express, and Visual Studio Shell (Integrated).
    Your feedback is much appreciated.
    Thanks!

  • Changing sql server service and sql server agent service startup account in SQL Server hosting SharePoint DB

    Hi 
    i have a sharepoint deployment with one SQL Server (running on VM) hosting the config DB and another SQL Server (Physical Host because VM was running out of space) to host the huge Content DBs. I need to schedule automatic backups of the Content DBs to a
    network share. For that i need to run the SQL Server Service with an account having permissions to the share as suggested in https://support.microsoft.com/kb/207187?wa=wsignin1.0
    I tried changing the logon as a service account to a domain
    account which has permissions to the Network Share and is also in local Administrators group of SQL Server and has "public and sysadmin" roles in SQL Server but that caused an issue. the SharePoint Web Application started showing a White Screen so
    I had to revert back to the default accounts i.e. NT Service\SQLSERVERAGENT and NT Service\MSSQLSERVER. I viewed the event logs . These are the types of error i got after changing the logon as a service account to a domain account
    1) Information Rights Management (IRM): Retried too many times to initialize IRM client. Cannot retry more. Retried times is:0x5.
    System
    Provider
    [ Name]
    Microsoft-SharePoint Products-SharePoint Foundation
    [ Guid]
    {6FB7E0CD-52E7-47DD-997A-241563931FC2}
    EventID
    5148
    Version
    15
    Level
    2
    Task
    9
    Opcode
    0
    Keywords
    0x4000000000000000
    TimeCreated
    [ SystemTime]
    2015-02-02T04:46:04.750899500Z
    EventRecordID
    176477
    Correlation
    [ ActivityID]
    {8FACE59C-1E17-50D0-7135-25FDB824CDBE}
    Execution
    [ ProcessID]
    6912
    [ ThreadID]
    8872
    Channel
    Application
    Computer
    Security
    [ UserID]
    S-1-5-21-876248814-3204482948-604612597-111753
    EventData
    hex0
    0x5
    2)
    Unknown SQL Exception 0 occurred. Additional error information from SQL Server is included below.
    The target principal name is incorrect.  Cannot generate SSPI context.
    System
    Provider
    [ Name]
    Microsoft-SharePoint Products-SharePoint Foundation
    [ Guid]
    {6FB7E0CD-52E7-47DD-997A-241563931FC2}
    EventID
    5586
    Version
    15
    Level
    2
    Task
    3
    Opcode
    0
    Keywords
    0x4000000000000000
    TimeCreated
    [ SystemTime]
    2015-02-02T07:01:35.843757700Z
    EventRecordID
    176490
    Correlation
    [ ActivityID]
    {50B4E59C-5E3A-50D0-7135-22AD91909F02}
    Execution
    [ ProcessID]
    6912
    [ ThreadID]
    5452
    Channel
    Application
    Computer
    Security
    [ UserID]
    S-1-5-17
    EventData
    int0
    0
    string1
    The target principal name is incorrect. Cannot generate SSPI context.

    Hi Aparna,
    According to your description, you get the above two errors when scheduling backups of Content DB. Right?
    Based on those two error messages, they are related to the service principal name(SPN) for SQL Server service. Please verify the if the SPN is registered successfully. You can view it in ADSI Edit or use command line. Please see:
    http://blogs.msdn.com/b/psssql/archive/2010/03/09/what-spn-do-i-use-and-how-does-it-get-there.aspx
    When installing SQL Server, those two services below should be registered:
            MSSQLSvc/servername:1433      
            MSSQLSvc/servername
    Please check if those SPNs or duplicated SPNs exist. You can use command to reset SPN or remove duplicated SPN and add new one. See:
    Setspn.
    We have also met this issue when this SPN is registered under Administrator. Please try to register it under Computer. You can add it in ADSI Edit.
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Installing PeopleSoft HRMS 9.0 on Windows Server 2008 with SQL Server 2008

    Hi there,
    Recently I was involved to develop a POC with PeopleSoft and as I was very new to PeopleSoft, I had bunch of issues while installing PeopleSoft. It took me almost more than couple of weeks to finally get the PeopleSoft Application up and running.
    I had bunch of questions also asked in this Oracle forum like :
    Step by Step PeopleSoft HRMS Installation from scratch.
    Tuxedo10gR3VS2008 patches absolutely needed for Peopetools Installation
    Thanks to the replies from all you folks. That helped a lot. Anyways, so I thought of just writing a blog about the things I did while installing PeopleSoft on Windows with SQL as backend DB. There are many posts already on the web describing the steps but mostly with Oracle DB and Linux. Hence, here are the posts for PeopleSoft on Windows:
    http://geekswithblogs.net/BizTalkUnleashed/archive/2012/01/24/installing-peoplesoft-hrms-9.0-on-windows-server-2008-with-sql-again.aspx
    Hope it helps to newbie's in PeopleSoft Apps like me.
    Regards,
    Vishal Mody
    Edited by: 897150 on Jan 25, 2012 10:11 AM
    Edited by: 897150 on Jan 25, 2012 10:13 AM

    Vijay
    I hate to be rude, but I am following you for a couple of days now on this forum and even in the same tread and it looks like you do not want to helped, you just want quick answers. I do not see you putting any effort nor show any respect for the product or the people how try to help you. Keep in mind that everyone on this forum is voluntarily posting answers, nobody is getting paid, and I'm sure you do not pay to post here either, so please do not use words as asap and immediate.
    You started of wrong, by following a post and not following the installation manual and even tried installing the wrong components.
    The post was written by someone with experience on the subject who meets the installation requirements, with all respect to the poster of the blog.
    I have to backup Nicolas in his saying.
    Nicolas has asked you to use better thread title (more informative than just "installation help") and you created a new thread with this subject.
    This does not say anything about the issue you are facing now.
    I doubt you can successfully complete this installation, not meant personally, but you are using the wrong software, on the wrong OS, with no documentation.
    My advise:
    Stop with what you have done until now and start all over by following the installation manual and hardware & software requirements.
    If you really want to master a PeopleSoft installation, you can follow following course at Oracle University: PeopleSoft PeopleTools Installation & Server Admin. Rel 8.50
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getCourseDesc?dc=D61702GC10&p_org_id=1001&lang=US
    Do not forget you are trying to install an ERP system, this is not done by starting an installer and clicking on the Next button three times.
    Hakan

  • Server editions of sql server and specialised editions of sql server

    hi,
    iam new to sql server. i have started reading an article in MSDN regarding the editions of sql server.the article says with the different headings as "server editions of sql server 2008r2"
    which includes (datacenter,standard and eneterprise) and where as other one "specialsed editions of sql server 2008r2" includes(sql server developer, sql server web,sql
    server workgroup,sql server express ,sql server express with tools etc..). 
    here my question is ,what is the difference between these headings.could anyone explain to me? thank you...!!

    here my question is ,what is the difference between these headings.could anyone explain to me? thank you...!!
    The difference lies in features they support and provide. Not all editions of SQL Server provide every capability of database. Like express edition has limit of 10 G database, 1G memory 1 CPU. Standard edition cannot use Partition etc. To get list of features
    supported please read below BOL article
    https://msdn.microsoft.com/en-us/library/cc645993%28v=sql.105%29.aspx
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • 500 Internal Server Error - java.sql.SQLException: Invalid column index

    500 Internal Server Error
    java.sql.SQLException: Invalid column index     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)     at oracle.jdbc.driver.OracleResultSetImpl.getObject(OracleResultSetImpl.java:851)     at com.stardeveloper.servlets.db.InsertServlet.doPost(InsertServlet.java:88)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    This is the connection part of the java code
         // connecting to database
              Connection con = null;
              Statement stmt = null;
              ResultSet rs = null;
              PreparedStatement ps = null;
              try {
                   Class.forName("oracle.jdbc.driver.OracleDriver");
              con=DriverManager.getConnection("host:port:sid, userName, password");
                   String sql;
              sql = "INSERT INTO USERSS(user_id, username) VALUES (?,?)";
                   ps = con.prepareStatement(sql);
                   stmt = con.createStatement();
                   // inserting records
                   if(proceed) {
                        ps.setString(1, user_id);
                        ps.setString(2, username);
                        ps.executeUpdate();
    desc userss;
    Name Null? Type
    USER_ID NOT NULL NUMBER(5)
    USERNAME VARCHAR2(15)
    Index_Name table_name
    USERSS_PK1 USERSS
    when I try to insert values, it is inserting, but at the end I am getting the above error. I am using JDeveloper 10g and database [Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production]

    I suggest you should alter the JDBC Driver and select one for Oracle 9i.
    Which version is your JDev10g?

Maybe you are looking for

  • Lumia 920 system failed

    I just got lumia 920 5days ago and now I can't access to my phone settings. Can't even go into settings to open wifi or other things. Tried soft reset also can't. Tried My Window Phone to remote erase phone also can't. Here is the link: http://http:/

  • Just a feedback re Ati Radeon 4870 HD  512mb (from Apple UK Website)

    I know lots of people have been asking if this card works on 2006 Mac Pros V.1.1. Well I took the plunge and purchased one fitted it into my MP with leopard O/S and away it went no problemo as they say Sinc doing this I have updated my O/S to Snow Le

  • ActiveSync reporting generic "Synchronization error", anyone have any ideas?

    I am using my Treo 700wx on my Windows XP Home desktop computer, and have in the past been able to sync with Outlook 2003.  My wife recently purchased a new windows mobile smartphone and began using ActiveSync under her computer profile, and since th

  • Install flash player 10

    says installation complete...but I can't find it on my computer

  • Oracle Software Packager (OSP) Latest Software & Documentation

    Hi, I am looking for latest version of OSP, when I google I got only Oracle Software Packager and Installer, Release 2.2.0.16.0 to download but I need latest version. Where can I get the latest version of software and documentation. Please provide if