PDO Connection to a local 10G DB

Hello together,
i am using Zend IDE for PHP-Development and have the following problem:
$dbh = new PDO('oci:dbname=LOCAL.ABC.XYZ.ORG','scott','tiger');
connects to the local database inside the IDE without a problem.
Running this login.php script over http://.... inside the browser over an Apache 2.x doesn't connect and i get a script time out.
The settings for the php.ini files (Zend IDE and PHP 5.1.2 installation) are the same.
Is there a solution out ?
Thanks for your help.
Hans

Other than the typo in the previous comment, the Easy Connect syntax
is often an easier way to connect in PDO, ADOdb, or oci8. If the Oracle
client libraries that PHP links with are 10g or 10gR2, you can use the
connect string "[/]hostname[:port][service_name]". For example to
connect to the HR schema on the local XE database in PDO you can use:
<?php
  try {
    $dbh = new PDO('oci:dbname=localhost/XE', 'HR', 'HRPASSWORD');
  catch (PDOException $e) {
    echo 'Connection failed: ' . $e->getMessage();
    exit;
  $s = $dbh->prepare("select city from locations");
  $s->execute();
  while ($r = $s->fetch(PDO::FETCH_ASSOC)) {
    echo $r['CITY'] . "<br>";
?>

Similar Messages

  • Connecting to a local SQL server .mdf file

    Hi all,
    In doing some prototyping of my database I started working with a local copy of an SQL Server database since it so conveniently integrated with the Visual Studio .NET tools I use. Now that I have spent far too much time working on a local prototype, I would very much like to migrate it to our in-house database rather than rewrite the whole thing (it is quite large in terms of tables and constraints and none of our in-house tools generate code from ER diagrams).
    Seeing that SQL Developer had a migration utility I pounced at a chance to use it. I installed it as well as the recommended JDBC driver; however, it occurs to me that I have no idea how to connect to a local database file using the host name and port fields given to me. Is there some convenient way to configure SQL Server 2005 to forward this file to some kind of local host? Or is there any other driver for use with a local .mdf file? Help would be greatly appreciated.

    While it does come with a copy of SQL Server with it, visual studio suspiciously just asks for a file name, so I would assume it reads directly from the .mdf
    I have a copy of SQL Server 05 on the machine, but I haven't done anything in the way of server side configuration before, so I can't even guess how to direct it to serve the file.
    All software packages involved are:
    Windows XP
    SQL Server 2005
    Visual Studio .NET 2005
    SQL Developer 1.5.1
    Oracle client 10g connecting to an Oracle 9i release 2 server
    Any pointers to the right direction or alternate migration solutions would be great.
    Edit: I am highly suspicious that Visual Studio was connecting to this file through SQL Server Express and not my standard edition copy, and it is therefore not attached to the database, the solution is not looking entirely easy, so an alternate migration may be a better choice. Thanks in advance for any help.
    Edit: Well my suspicions were confirmed. I attempted several solutions. First of which being the MS SQL Express publishing wizard so that I could publish to SQL and run the script via Toad or SQL Plus; however, it only targets MS SQL Server 2000 or 2005 which would result in a lot of hand editing in terms of migration. Attempting to find a script converter did not help as they all either failed outright or demanded a connection to the datbase via ODBC or JDBC (which doesn't support SQL Express' less than clever attach on connection ideas). This led me to the alternate solution of trying to attach the file to my main database and connect to it; however, the SQL Server command prompt has some sort of permissions issue with my office security setting (though I can edit files fine) and results in failure.
    I think it is about time to throw in the towel and just work it out by hand. This would be greatly expedited by any visual database tools that generate code from ER diagrams if you happen to know of a freeware solution. We lack an internal copy of Oracle Designer and the free license only permits a single prototype. So any suggestions on the front of freebie visual object relational tools and alternate migration ideas would be of great help. Until then I'll be grinding through it with moderate dissatisfaction.
    Thanks again.

  • Works on local 10g Express but not 9i. : Got minus one from a read call

    Using a desktop I have a 3rd party tool that needs to access an Oracle 9i DB. The tool does not connect to the db at all. I also have Toad installed on the desktop and Toad can connect fine. The error message I get with the 3rd party tool is:
    "Got minus one from a read call"
    I have a laptop in which I have a local 10g Express installed along with the same 3rd party tool. The 3rd party tool can connect to the local Express db.
    I have written a java app. See below. When I run the app on the desktop machine ir produces the same error as the 3rd party tool.
    What is happening on the 9i server that is causing this error. I have seen this error posted on many sites but no responses. Any ideas/suggestions?
    Thanks
    import java.sql.*;
    class TestConnection {
    public static void main (String args []) throws SQLException
    Connection connection = null;
    try {
    // Load the JDBC driver
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    // Create a connection to the database
    String serverName = "119.133.45.3";
    String portNumber = "1606";
    String sid = "HCPSD";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String username = "HCPSODS";
    String password = "HCPSODS";
    connection = DriverManager.getConnection(url, username, password);
    } catch (ClassNotFoundException e) {
    System.out.println(e);
    } catch (SQLException e) {
    System.out.println(e);
    Statement stmt = connection.createStatement();
    ResultSet rset = stmt.executeQuery("select PROVIDER_NAME from HCPSODS.BLAZE_PROVIDER_VALUES");
    while (rset.next())
    System.out.println (rset.getString(1));
    stmt.close();
    }

    Here is a fix to this problem I found. Not sure if it will help:
    1. Go to directory $TNS_ADMIN on database tier or database home.
    2. Modify sqlnet.ora file with following.
    tcp.validnode_checking = yes
    Either set above directive value to NO or add machine name where jdeveloper is running to following directive.
    tcp.invited_nodes=(machin-name, machine-name)
    3. Bounce listener using addlnctl.sh under database directory.

  • Connect to multiple local instances without enterig passwords

    Oracle 10R2 on Linux Gentoo
    I have several local instances which I want to connect in shell script without setting password explicitly. But when I use @connect_string it seems to me that os authentication is ignoring by oracle. Look at this:
    oracle@omega1 ~ $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 16:38:40 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    oracle@omega1 ~ $ env | grep ORACLE_SID
    ORACLE_SID=orcl
    oracle@omega1 ~ $ sqlplus /@orcl as SYSDBA
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 16:39:05 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    oracle@omega1 ~ $ groups
    oinstall dba

    I wouldn't like to enter sys password interactively because i use sqlplus from shell script which is ran under cron (unix scheduler).
    remote_login_passwordfile is already set to exclusive:
    oracle@omega1 ~ $ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 17:04:33 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> show parameter remote_login_passwordfile
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    I've also recreated password file with no result:
    oracle@omega1 ~/oracle/product/10.2.0/db/dbs $ orapwd file=/home/oracle/oracle/product/10.2.0/db/dbs/orapworcl entries=20 force=y password=*********
    oracle@omega1 ~/oracle/product/10.2.0/db/dbs $ sqlplus /@orcl as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 24 17:13:23 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges

  • Problem Connecting to my Oracle 10g

    I have been using Oracle 10g for about an year on my PC and just a couple of days back theres been this problem that wont let me connect to any of my local DBs.. neither can i start sqlplus in prompt, i am using Windows XP, when i try to connect to any local DB it says "Service Unavailable", and the connection times out if a rmote connection is attempted, i know i must have messed up some service or folder during some other software installation or un-installation or something like that, while trying to use the command sqlplus in prompt it gives the following error:-
    Error 6 initializing SQLPlus*
    Message file sp1<lang>.msb not found
    SP2-0750 : You may need to set ORACLE_HOME to your oracle software directory
    The thing is i have checked all my environment variables and they are all there and correct...
    There are other forum threads on the same topics but none gives a solution.. the only solution i got is re-installation of Oracle and registry cleaning.. and i wouldnt wanna do that..
    I have also tried connecting after starting the stopped services including OracleXEClrAgent, OracleTNSListener and ORACLEMTSRRecoveryService but still wouldnt work.. and evertime i try to start the service OracleXETNSListener using the net start command, it gives the message the OracleXETNSListener service could not be started, The service did report an error..
    Can anyone help??
    Edited by: user9038492 on Nov 26, 2010 9:19 PM
    Edited by: user9038492 on Nov 26, 2010 9:20 PM
    Edited by: user9038492 on Nov 26, 2010 9:22 PM
    Edited by: user9038492 on Nov 26, 2010 9:24 PM

    Response to LSNRCTL is :-
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-NOV-2010 10:33:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-125
    57: Message 12557 not found; No message file for product=NETWORK, facility=TNS
    TNS-12560: Message 12560 not found; No message file for product=NETWORK, facili
    ty=TNS
    TNS-00527: Message 527 not found; No message file for product=NETWORK, facilit
    y=TNS
    Response to set is :-
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\User1\Application Data
    CATALINA_HOME=F:\Dev\java setups\ExadelStudioPro-4.0.0\tomcat
    CLIENTNAME=Console
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=AWAIS
    ComSpec=C:\WINDOWS\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    GDAL_DATA=C:\Program Files\PFPS\system\gdal_data
    GEOTIFF_CSV=C:\Program Files\PFPS\system\gdal_data
    GEOTRANS_DATA=C:\Documents and Settings\All Users\Application Data\PFPS\data\Geo
    Trans
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\User1
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_21
    LOGONSERVER=\\AWAIS
    NUMBER_OF_PROCESSORS=2
    ODI_JAVA_HOME=D:\OraHome_1\jre\1.4.2
    ORACLE_HOME=C:\oraclexe\app\oracle\product\10.2.0
    OS=Windows_NT
    Path=C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WIN
    DOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\COMMON~1\LEADTO~1\Help;C:\PROGRA~1\LEA
    DTE~1\LEADTO~1.5\Bin\CDLL\Win32;C:\Program Files\Microsoft SQL Server\100\Tools\
    Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\PFPS\
    system;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0f0d
    ProgramFiles=C:\Program Files
    PROJ_LIB=C:\Program Files\PFPS\system\proj_lib
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\User1\LOCALS~1\Temp
    TMP=C:\WINDOWS\TEMP
    USERDOMAIN=AWAIS
    USERNAME=User1
    USERPROFILE=C:\Documents and Settings\User1
    VLC_HOME=C:\Program Files\VideoLAN\VLC\
    windir=C:\WINDOWS
    and finally response to lsnrctl service is :-
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 27-NOV-2010 10:40
    :29
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Message 1053 not found; No message file for product=NETWORK, facility=TNSTNS-125
    57: Message 12557 not found; No message file for product=NETWORK, facility=TNS
    TNS-12560: Message 12560 not found; No message file for product=NETWORK, facili
    ty=TNS
    TNS-00527: Message 527 not found; No message file for product=NETWORK, facilit
    y=TNS

  • SQLServerAgent could not be started (reason: Unable to connect to server '(local)'; SQLServerAgent

    Dear all,
    i have a Windows 2008 Server (X64) with SQL 2005 SP3 and some troubels...
    The SQL works since some week, this week we installed SQL SP3 and change of the local Admin password.
    Yesterday we reboot  the Server, now the SQL Server Agent is unable to start!
    The SQL Server is up and running,
    Errorlog:
    2009-11-06 09:49:52.56 Server      Microsoft SQL Server 2005 - 9.00.4035.00 (X64)
     Nov 24 2008 16:17:31
     Copyright (c) 1988-2005 Microsoft Corporation
     Standard Edition (64-bit) on Windows NT 6.0 (Build 6002: Service Pack 2)
    2009-11-06 09:49:52.56 Server      (c) 2005 Microsoft Corporation.
    2009-11-06 09:49:52.56 Server      All rights reserved.
    2009-11-06 09:49:52.56 Server      Server process ID is 5912.
    2009-11-06 09:49:52.56 Server      Authentication mode is WINDOWS-ONLY.
    2009-11-06 09:49:52.56 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
    2009-11-06 09:49:52.56 Server      This instance of SQL Server last reported using a process ID of 4424 at 11/6/2009 9:43:23 AM (local) 11/6/2009 8:43:23 AM (UTC). This is an informational message only; no user action is required.
    2009-11-06 09:49:52.56 Server      Registry startup parameters:
    2009-11-06 09:49:52.56 Server        -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
    2009-11-06 09:49:52.56 Server        -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
    2009-11-06 09:49:52.56 Server        -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
    2009-11-06 09:49:52.59 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2009-11-06 09:49:52.59 Server      Detected 4 CPUs. This is an informational message; no user action is required.
    2009-11-06 09:49:52.67 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2009-11-06 09:49:52.71 Server      Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
    2009-11-06 09:49:53.73 Server      Attempting to recover in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
    2009-11-06 09:49:53.73 Server      Database mirroring has been enabled on this instance of SQL Server.
    2009-11-06 09:49:53.73 spid4s      Starting up database 'master'.
    2009-11-06 09:49:53.86 spid4s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
    2009-11-06 09:49:53.95 spid4s      SQL Trace ID 1 was started by login "sa".
    2009-11-06 09:49:53.97 spid4s      Starting up database 'mssqlsystemresource'.
    2009-11-06 09:49:53.99 spid4s      The resource database build version is 9.00.4035. This is an informational message only. No user action is required.
    2009-11-06 09:49:54.16 spid9s      Starting up database 'model'.
    2009-11-06 09:49:54.17 spid4s      Server name is 'VIE-EU-ARC-02'. This is an informational message only. No user action is required.
    2009-11-06 09:49:54.19 Server      The certificate was successfully loaded for encryption.
    2009-11-06 09:49:54.19 Server      Server is listening on [ 'any' <ipv6> 1433].
    2009-11-06 09:49:54.19 Server      Server is listening on [ 'any' <ipv4> 1433].
    2009-11-06 09:49:54.19 Server      Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSSQLSERVER ].
    2009-11-06 09:49:54.19 Server      Server local connection provider is ready to accept connection on [ \\.\pipe\sql\query ].
    2009-11-06 09:49:54.19 Server      Server is listening on [ ::1 <ipv6> 1434].
    2009-11-06 09:49:54.19 Server      Server is listening on [ 127.0.0.1 <ipv4> 1434].
    2009-11-06 09:49:54.19 Server      Dedicated admin connection support was established for listening locally on port 1434.
    2009-11-06 09:49:54.31 Server      SQL Server is now ready for client connections. This is an informational message; no user action is required.
    2009-11-06 09:49:54.33 spid15s     Starting up database 'AdventureWorks'.
    2009-11-06 09:49:54.33 spid16s     Starting up database 'EnterpriseVaultDirectory'.
    2009-11-06 09:49:54.33 spid14s     Starting up database 'Test'.
    2009-11-06 09:49:54.33 spid12s     Starting up database 'AdventureWorksDW'.
    2009-11-06 09:49:54.33 spid17s     Starting up database 'EnterpriseVaultMonitoring'.
    2009-11-06 09:49:54.33 spid13s     Starting up database 'msdb'.
    2009-11-06 09:49:54.33 spid23s     Starting up database 'EVVSExchangeVaultStore_2'.
    2009-11-06 09:49:54.33 spid22s     Starting up database 'EVVSGVIE_2_2'.
    2009-11-06 09:49:54.33 spid24s     Starting up database 'EVVSJournalVaultStore_3'.
    2009-11-06 09:49:54.33 spid19s     Starting up database 'EVVSVIEIT_1'.
    2009-11-06 09:49:54.33 spid21s     Starting up database 'ReportServerTempDB'.
    2009-11-06 09:49:54.33 spid20s     Starting up database 'ReportServer'.
    2009-11-06 09:49:54.33 spid18s     Starting up database 'EVVSGVIEIT_1_1'.
    2009-11-06 09:49:54.56 spid9s      Clearing tempdb database.
    2009-11-06 09:49:54.61 spid19s     CHECKDB for database 'EVVSVIEIT_1' finished without errors on 2009-10-28 18:06:14.107 (local time). This is an informational message only; no user action is required.
    2009-11-06 09:49:54.65 spid23s     CHECKDB for database 'EVVSExchangeVaultStore_2' finished without errors on 2009-11-04 18:05:33.960 (local time). This is an informational message only; no user action is required.
    2009-11-06 09:49:54.71 spid24s     CHECKDB for database 'EVVSJournalVaultStore_3' finished without errors on 2009-11-04 18:05:51.793 (local time). This is an informational message only; no user action is required.
    2009-11-06 09:49:54.75 spid16s     CHECKDB for database 'EnterpriseVaultDirectory' finished without errors on 2009-11-04 18:06:38.103 (local time). This is an informational message only; no user action is required.
    2009-11-06 09:49:54.83 spid17s     CHECKDB for database 'EnterpriseVaultMonitoring' finished without errors on 2009-11-04 18:06:18.570 (local time). This is an informational message only; no user action is required.
    2009-11-06 09:49:54.99 spid4s      Recovery of any in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC) has completed. This is an informational message only. No user action is required.
    2009-11-06 09:49:55.55 spid9s      Starting up database 'tempdb'.
    2009-11-06 09:49:55.68 spid4s      Recovery is complete. This is an informational message only. No user action is required.
    2009-11-06 09:49:55.68 spid12s     The Service Broker protocol transport is disabled or not configured.
    2009-11-06 09:49:55.68 spid12s     The Database Mirroring protocol transport is disabled or not configured.
    2009-11-06 09:49:55.72 spid12s     Service Broker manager has started.
    Only the SQL Server Agent is unable to start,
    Eventlog:
    Log Name:      Application
    Source:        SQLSERVERAGENT
    Date:          06.11.2009 10:09:52
    Event ID:      103
    Task Category: Service Control
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      vie-eu-arc-02.global.domain
    Description:
    SQLServerAgent could not be started (reason: Unable to connect to server '(local)'; SQLServerAgent cannot start).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SQLSERVERAGENT" />
        <EventID Qualifiers="16384">103</EventID>
        <Level>2</Level>
        <Task>2</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2009-11-06T09:09:52.000Z" />
        <EventRecordID>8486</EventRecordID>
        <Channel>Application</Channel>
        <Computer>vie-eu-arc-02.global.domain</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Unable to connect to server '(local)'; SQLServerAgent cannot start</Data>
      </EventData>
    </Event>
    SQLAgent.out Logfile:
    2009-11-06 10:09:52 - ! [298] SQLServer Error: 233, Shared Memory Provider: No process is on the other end of the pipe. [SQLSTATE 08001]
    2009-11-06 10:09:52 - ! [298] SQLServer Error: 233, Client unable to establish connection [SQLSTATE 08001]
    2009-11-06 10:09:52 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
    2009-11-06 10:09:52 - ! [298] SQLServer Error: 233, Shared Memory Provider: No process is on the other end of the pipe. [SQLSTATE 08001]
    2009-11-06 10:09:52 - ! [298] SQLServer Error: 233, Client unable to establish connection [SQLSTATE 08001]
    2009-11-06 10:09:52 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
    2009-11-06 10:09:53 - ? [098] SQLServerAgent terminated (normally)
    Additional the SQL Server Management Studio is unable to logon to the Server:
    TITLE: Connect to Server
    Cannot connect to vie-eu-arc-02.
    ADDITIONAL INFORMATION:
    A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476
    The local Admin Password was reset to the "original" (after install) one.
    Any ideas how to fix the problem?

    Dear all,
    the encryption was NO on all protocols.
    Because no additional ideas available, i uninstalled the SQL Server on friday.
    At the Re-Install Process i got again an error:
    [Microsoft][SQL Native Client]Shared Memory Provider: No process is on the
    other end of the pipe .
    The install process failed.
    On google i found the same problem in an other thread:
    http://groups.google.com/group/microsoft.public.sqlserver.connect/browse_thread/thread/dbec4a9a271f69a6/7cd22694da3a6062?lnk=st&q=%22Shared+Memory+Provider%3A+No+process+is+on+the+other+end+of+the+pipe%22&rnum=2&hl=en#7cd22694da3a6062
    ++++++
    During the installation process of SQL Server 2005, Setup complains it cannot
    connect to the database service for server configuration. The error was:
    [Microsoft][SQL Native Client]Shared Memory Provider: No process is on the
    other end of the pipe .
    I have checked that the pipe exists (\\.\pipe\SQLLocal\MyInstance), but
    everytime the installer attempts the connecting the pipe is closed by the
    server and another is reopened. That's why the Client says there is no
    process on the other end of the pipe.
    I have re-installed 'everything', tried connections via TCP, but nothing
    works.
    I have made a small application to connect to the pipe and noticed that
    there are 3 instances of the pipe running, one that I am connecting to, and 2
    listening pipes. If I write to 'my' pipe SQL server disconnects the pipe and
    reopens another too. The difference is that SQL server writes an error
    message in the log file. No such luck when the Native client is doing the
    same.
    What more can I do?
    ++++++
    and an answer
    ++++++
    I finaly found the problem to be the certificate used.
    I noticed that a certificate was added to the machinekeys just recently.
    (in C:\Documents and Settings\All Users\Application
    Data\Microsoft\Crypto\RSA\MachineKeys)
    I renamed it to another name and re-installed sql server.
    I noticed that sql server ERRORLOG complained about certificate that it
    couldn't load and the generation of a self-generaed certificate (see below)
    "2005-12-10 21:01:02.30 Server      The server could not load the
    certificate it needs to initiate an SSL connection. It returned the following
    error: 0x8009030d. Check certificates to make sure they are valid.
    2005-12-10 21:01:02.49 Server      A self-generated certificate was
    successfully loaded for encryption."
    Now the installation succeeded
    ++++++
    With Windows 2008 it was really a challange to get access to this folder (!!!)
    After clearing the folder the ReInstall of SQL Server works fine.
    Now the SQL Server & the SQL Server Agent works again.
    The problem was anything with encryption, old certs & files.
    I don't think that everyone can afford reinstalling SQL server.
    I finaly found the problem to be the certificate used.
    I noticed that a certificate was added to the machinekeys just recently.
    (in C:\Documents and Settings\All Users\Application
    Data\Microsoft\Crypto\RSA\MachineKeys)
    I think this is what the following blog was saying , a problem with certification
    http://blogs.msdn.com/sql_protocols/archive/2006/07/26/678596.aspx
    Cheers
    Please mark as answer if you think this answers your questions

  • I installed Mountain Lion on my iMac. Now I cannot access the Internet. All the other computers and tablets have no problem. I did PRAM and MC reset, modem reset, etc., all the usual ju-ju. I also cannot connect on my local network to any other computer.

    I installed Mountain Lion on my iMac. Now I cannot access the Internet. All the other computers and tablets on the network have no problem. I did PRAM and MC reset, modem reset, etc., all the usual ju-ju. I also cannot connect on my local network to any other computer. Yet Network control panel says I am connect to the modem, and Network Diagnosis says I am connected to the Internet. It's like the blind man who has eyes that cannot see. BTW, I am not some newbee. I have been a Machead since the early nineties and set up a half dozen networks, including the one I am using at home to which the iMac mysteriously is there but not. This has me stumped! I am considering going back to 10.7!

    Select  ▹ System Preferences ▹ Network ▹ Advanced ▹ TCP/IP. What values are shown for the following:
    Configure IPv4
    IPv4 Address
    Subnet Mask
    Router

  • When I try to sync my iPod iCal with my MBP iCal via WiFi I get a message saying "Safari Downloading Safe Browsing Data" but I am connected to a local network and thus the syncing does not complete"

    When I try to sync my iPod iCal with my MBP (OS 10.7) iCal via iTunes and WiFi I get a message saying "Safari Downloading Safe Browsing Data" but I am connected to a local network and thus the syncing does not complete because the downloading never completes because I am not connected to the internet.
    Why does syncing iCal need Safari Safe Browsing Data?  How can I turn this off?

    See:
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    "Safari Downloading Safe Browsing Data" is just some data that is synce with the computer. To turn off on the Mac go to System Preferencs>iCloud and turn off Safari

  • CONNECTING ORACLE 9I OR 10G DATABASE WITH ORACLE 10G FORMS AND REPORTS

    pls tell how to connect oracle 9i or 10g database with oracle developer suite 10g . though the forms are getting connected but not running with error as
    FRM-10142 the HTTP listner is not running on pls start the listner or check your runtime preferences.
    now pls tell how to start listner and how to chage runtime preferences.
    though i have worked with oracle 9i and forms 6i where we used to copy the tnsnames.ora from network/admin of oracle to forms 6i tnsnames.ora.
    thank you, you may be thinking such a long question.....

    sir
    By server i mean the computer where oc4j and backend database are running is one one of the client pc not a dedicated server..., these database and 10g dev suite are installed in one of the client machine,
    all the clients are using same internet explorer as browser.
    no message is being displyed on some of the client machine where these forms are not being uploaded on browser instead it displays as done in status bar without actually showing anything at all...
    sir so far as jinitiator or JRE is concered i have seen on the client machine (where my forms are running on internet explorer) a pop up is displyed telling one activex control is required to run this program and click to install it..
    after clicking it download jinitiator from server and after installing jinitiator my forms are loaded and start functioning...
    what i feel is as i said this machine where oc4j and database is running is one of the client machine so some other clients do not have acess to this machine, so this might be the reason why those clints are not able to run the said forms on the internet explorer.... can it be so... kindly tell..
    thank you for your patience for reading the question

  • Can a iTouch connect to a local iTunes Server

    Hi All
    Will you be able to connect to a local iTunes Server from your iTouch, or is this a no go?
    More precise - Can a iTouch connect to a LAN Disk that has support for iTunes Service?
    Regards
    Torben

    i mean in different machine.. like i have an applet in machine A trying to get a connection with an applet in machine B...

  • My airport card is activated but refuses to be connected at any local network

    r       My airprot card is activated but refuses to be connected at any local network even when i do enter the correct password (wep key). I want to know if the problem is my airport card or something else.
      thank you for your answering

    You don't want a WEP based network.  Those are easily cracked.  If your network is WEP, it may have already been cracked, and someone changed the password.  Change it to WPA2.  If you are stuck with an 802.11b device on the network, hook it up via ethernet based 802.11g or better wireless/ethernet router.

  • Need ACES attention - connection pooling in oracle 10g rel 1

    I am using TOMCAT 5.0.19 Webserver and ORACLE 10g REL 1 as the database server. I have to restart the TOMCAT Webserver in order to establish connection atleast twice or thrice in a weak. Why I am unable to see the connection pooling in oracle 10g rel 1. How to revive or establish the setup. My objective is to have a centralised oracle 10g rel 1 database server and the applications of java are run thru centralised Webserver Tomcat 5.0.19.
    Can anyone please help me out optimizing the design setup.
    Regards
    Vijay Kumar

    by putting 'Need ACES' in your post title, you might have actually reduced the number of people reading your post, in other words someone >who might have suggested Thanks John for your reply. I changed the subject of the thread after not getting any reply for past 10 days. Last two days I have been updating with plea for attention to my problem. Finally I thought pulling attention of ACES, then only I edited the subject.
    Now, problem I am facing is not in oracle database but in application server. Actually we are running web applications thru Tomcat accessing Oracle 10g rel 1. I am often losing connection with web server. The users are unable to login in the web application. I was told to check oracle database server. I just checked alert log and found no errors. I just asked them to shutdown and restart the web server Tomcat 5.0. It then worked fine. This is temporary. I need to ensure where the problem is. Could you please guide me in checking various parameters or files to be checked to optimise connection pooling.
    Regards
    Vijay Kumar

  • Connection String to Local Database Problem

    I just copied a database on the development server which I am not owner of, but I have rights to the database. I copied it to my local server. Now I need to connect to the local database and I don't know how.
    Dim MM_cnnName_STRING
    MM_cnnName_STRING = "Provider=SQLOLEDB.1;Password=xxx;Persist Security Info=True;User ID=xxx;Initial Catalog=DBName;Data Source=DevComputerName"
    The above is what I used to connect to the development server. How can I figure out the string for my local MS SQL Server

    Now I have this error once I try to bring up a page that calls the db
    Microsoft OLE DB Provider for SQL Server error  '80004005'
    Login failed. The login is from an untrusted domain  and cannot be used with Windows authentication.
    /CourseList.asp, line  9

  • How to connect to the local user database ??

    Hi,
    how can i connect to the local oracle ltie database that is created
    for each individual user (with msql or sqlplus) ?? I created a
    user ms and published an app the user can access. In the oldb40
    directory there is a "ms" directory which contains the database
    for the user ("demoapp.odb"). The DSN Name "ms_demoapp" exists
    and points to the correct directory and file. But how can i
    connect to that database with msql or sqlplus. I tried all
    possible combination of an url string i can think of, but
    nothing did work.
    Any ideas ?? Thanks in Advance.
    ms

    But were you able to connect to the database and make a query on the table you have made through the application. I have tried the todo List example and have seen that the data is stored in a file. But I am not very sure how to query the database using msql. Pls help!
    Thanks in advance,
    Rajiv.

  • DNS is incredibly slow on Lion 10.7.4 when connected to a .local domain

    Im running Lion 10.7.4 and am connected to a .local domain.    I've googled the problem and cant really work out if there is a fix or not.
    I am also running VMWare Fusion on the same machine with Windows 7.  neither Lion or Windows 7 are joined to the domain. The windows 7 VM browses the internet perfectly but lion is painfully slow.
    My IP's are DHCP assigned and the search domain is xxxx.local
    The VM is using bridged not NAT which is why the VM is perfming perfectly.
    I know its something to do with the .local but cant change the TLD here so need a fix. 
    PLEASE HELPPPP   

    Im using Chrome and it happens in Safari and Firefox too.  To be honest its not specifically web browsing.  DNS is just ridiculously slow when connected to a .local domain.

Maybe you are looking for

  • Error when connecting to DB2/AS400 as a Datasource

    Hi All, I have an issue when connecting to DB2/AS400 as w datasource with IR studio. I am able to create an OCE but when click on tables it throws an error saying ""INFORMATIC.DM3601PF" is an undefined name. SQLSTATEB704 sqlstate = 42S02 The drivers

  • Profile customized attribute is not working?

    Hi, I downloaded ‘WCSpacesExtensions’ project from Oracle because I want to add some customize attributes to Profile. I added ‘project’ to ExtendedProfileAttributes.java, and created getter and setter methods. In a jsff, this is my EL #{wcProfileCust

  • Report SAPMSBDC in 6.0

    Hi. In 4.6 system we used the report SAPMSBDC but in 6.0 doesn't exist. Anybody knows the name of the same report in 6.0? or another equivalent report. Thanks. Miguel

  • Accessing properties across hierarchies in a version

    Dear all Can someone tell me if there is a way to access property values in a hierarchy from another hierarchy? I'm trying to access a property value in a different hierarchy from my current hierarchy. In essence i'm trying to pick up the value autom

  • Multiple recieving users for a different documents

    Dear Experts, I am new to Work Flow, and I have the following requirement, please help me out.. I have a parking document in FI, after creation of the document by a user ABC, it should trigger a mail to XYZ, and if a document is created by another us