ODT v11 Beta Installation Problem - Can't connect to Database

Hi, I'm having difficulties setting up the ODT 11.1.0.5.10 beta. I'm fairly new to Oracle so I apologise if I've missed something obvious!
First of all I tried installing ODT 10.2.0.2.21 and that worked fine (after I copies tnsnames into the appropriate folder).
However, after installing v11 I can't connect to any of our databases anymore, either through VS2005 of PL/SQL developer, which we normally use. When I try to set up a data connection (in VS Server Explorer) using ODP.Net, I get 'ORA-12154: TNS: Could not resolve the connect identifier specified'.
If I try to make a connection using the .Net Framework data Provider for Oracle, I get 'ORA-12541: TNS: no listener'.
Testing the connection using Oracle Net Manager, however, succeeds without a problem.
i put the tnsnames file in there, so that's not the problem. I'm not sure if the installation worked properly, as there are a lot less files & folders in the new Home added for the beta than in the one added for v10.2
Any thoughts?
Thanks,
Grant

Yeah, you could be onto something with the path, thanks - it seems like the installer for the v11 Beta misses \bin off the end of the new Oracle home path, which causes problems. Since fixing that, I can now connect with PL/SQL developer.
however, I am still facing one problem which my colleague also seems to have. We have an 8.1 client installed, and when we try to set up a connection with VS2005, it uses the tnsnames from the 8.1 client.
There is also a strange issue whereby if you go into the advanced settings, the database name is only set to the first couple of characters of the actual name, which is probably why it isn't working. However, if I set the correct name in the advanced settings, when you come out of that dialogue into the standard connection dialogue, the database has reverted back to the first one in the list, putting me in a most annoying vicious circle..
Even this problem has now taken a back seat as I am now unable to load the connection screen at all' getting a 'Package Load failure' message (it seems to think the package is using a GUID which isn't on the system). This remains even if i reinstall the v11 Beta. I'm not sure how I got into this situation, but it seems that there is some DLL registered in VS2005 which is now incorrect and doesn't get reset on uninstall/installation.
If anyone has any thoughts on my myriad problems please share them with me!
Thanks,
Grant

Similar Messages

  • Getting error  "Can't connect to database DBMS is not supported in your current installation" in Demantra

    Hi,
    I have installed Microsoft Win x64(64-bit) Demantra 7.3.1.5 on Win 7(64-bit).
    When I try to open Business Modeler or Demand Planner or Business Logic Engine from :
    Start -> Oracle Demantra Spectrum , I am getting same error "Can't connect to database DBMS is not supported in your current installation"
    Below is a screenshot of same.
    I can connect to Collaborator Workbench though, but when I click on any of the "Planning Applications" from the menu in Collaborator Workbench window, again error is thrown.
    Error is  " Application could not be run! Error : undefined " as below :
    I have installed Oracle DB Enterprise edition 11gR2(64-bit)
    Please suggest where I am doing wrong.
    Regards,
    Vinni Sharma.

    Hi Sharma,
    Is this issue resolved? or still facing the same problem?
    We need to setup connections details in ds.ini file under demantra_installation\Demand Planner\Security Management folder on the server side.
    Regards,
    Akshay

  • Oracle Enterprise Manager can't connect to database after installation

    Hello, I have a problem with Enterprise Manager. I installed Oracle 10g and the patch 10.2.0.2. After install, I could connect to database from SqlPlus without problems, but when I try to connect from AllPrograms - Oracle - DatabaseControl or since the Web browser with http://servername:1158/em nothing happen. I reviewed the status of dbconsole with emctl status dbconsole but the status is running. I recreated the repository with emca -deconfig.......-repos drop and emca -config ...... -repos create , but nothing happened. I reviewed some threads in this forum, but I didn't find the solution. Finally I could connect from the browser but with http://localhost:1158/em. Do you help me how can I connect from Database Control, because the operators in Computer Center should monitor the instance since there, and when I want to connect since my own PC how can do it?
    Thanks for your help and excuse my English, I am from Bogotá Colombia.
    Sincerely Rubén

    Hi,
    Check the network connectivity between db server and pc from where u want to access em.
    Check the listener service.
    Check firewall settings, it should be off.
    Regards,
    Xaheer

  • HT1695 My iPad (4th gen) Wi-Fi Serial Number: DM*******184; Problem: can not connect Wi-Fi, just keep connecting...

    Dear All,
    My iPad (4th gen) Wi-Fi Serial Number: DM*******184; Problem: can not connect Wi-Fi, just keep connecting...
    Appreciate your advice.
    Thanks and regards,
    Linh Hua
    (Vietnam)
    <Edited By Host>

    Is this happening with one particular network or with all?  Make sure iOS is updated on the device.
    Try this:
    Reboot ipad by pressing and holding both the home and sleep/wake buttons at the same time until the apple logo appears on the screen, then let go. Then try to connect to network.
    Go to settings, Toggle airplane mode on/off. Make sure bluetooth is off. Turn on wif (airplane mode off). Try to connect.
    Reset Network Settings
    Go to settings/general/reset/reset network settings. Then try to connect to network.
    If its your home router, then reboot router by unplugging for 5-10min. (do this while you're resetting network settings).
    If problem persists, then check for firmware updates on your router.(you check router manufacturer support website for downloads and instructions).

  • Can I connect with Database using Session Bean

    Hi,
    I am new to EJB. I have small doubt.
    can I connect with Database using Session Bean.
    Regards,
    Murali.

    Double post of http://forum.java.sun.com/thread.jspa?threadID=687239&tstart=0

  • New problem - can only connect w/o security

    have a wireless router and had no problem getting my macbook to connect. added a desktop and can only connect if i disable the password feature. my question is twofold:
    1. why will it not connect when I have to supply a password (the password is correct)
    2. if I cannot resolve issue 1, then can I diable SSID broadcast but still not require a password?

    Try to include a dollar sign before your password

  • Sqlplus problem, can't connect

    Ok, so I managed to finally install Oracle 11g R1 on Ubuntu 8.04 Linux_64.
    I can successfully connect over the URL https://IP:1158/em
    I unlocked the HR example account with it's tables and gave it a new password. When I type sqlplus from command line, it starts and then I uter HR for user and it's password and I get that error...
    As far as I am aware Oracle is running, what could be wrong ?
    I am running a dual-cpu AMD64 2.2 each with 4GB ram.
    raymond@kodiak:~$ sqlplus
    SQLPlus: Release 11.1.0.6.0 - Production on Sat Aug 30 10:45:57 2008*
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Enter user-name: HR
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    Edited by: rompstar_206 on Aug 30, 2008 10:49 AM

    Here is my /etc/init.d start up script
    I get an error when I try to manually start the db ./oracledb start produces the following:
    raymond@kodiak:/etc/init.d$ sudo ./oracledb start
    Starting Oracle:
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 30-AUG-2008 11:54:22
    Copyright (c) 1991, 2007, Oracle. All rights reserved.
    Starting /home/raymond/app/raymond/product/11.1.0/db_2/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    System parameter file is /home/raymond/app/raymond/product/11.1.0/db_2/network/admin/listener.ora
    Log messages written to /home/raymond/app/raymond/product/11.1.0/db_2/log/diag/tnslsnr/kodiak/listener/alert/log.xml
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12555: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00525: Insufficient privilege for operation
    Linux Error: 1: Operation not permitted
    Listener failed to start. See the error message(s) above...
    bash: /home/raymond/app/raymond/product/11.1.0/db_2/bin/dbstart: Permission denied
    bash: /home/raymond/app/raymond/product/11.1.0/db_2/bin/emctl: Permission denied
    OK
    raymond@kodiak:/etc/init.d$
    /etc/init.d/oracledb file contents:
    #!/bin/bash
    # /etc/init.d/oracledb
    # Run-level Startup script for the Oracle Instance, Listener, and Web Interface
    export ORACLE_HOME=/home/raymond/app/raymond/product/11.1.0/db_2
    export PATH=$PATH:$ORACLE_HOME/bin
    ORA_OWNR="oracle"
    # if the executables do not exist -- display error
    if [ ! -f $ORACLE_HOME/bin/dbstart -o ! -d $ORACLE_HOME ]
    then
    echo "Oracle startup: cannot start"
    exit 1
    fi
    # depending on parameter -- startup, shutdown, restart
    # of the instance and listener or usage display
    case "$1" in
    start)
    # Oracle listener and instance startup
    echo -n "Starting Oracle: "
    su $ORA_OWNR -c "$ORACLE_HOME/bin/lsnrctl start"
    su $ORA_OWNR -c $ORACLE_HOME/bin/dbstart
    touch /var/lock/oracle
    su $ORA_OWNR -c "$ORACLE_HOME/bin/emctl start dbconsole"
    echo "OK"
    stop)
    # Oracle listener and instance shutdown
    echo -n "Shutdown Oracle: "
    su $ORA_OWNR -c "$ORACLE_HOME/bin/lsnrctl stop"
    su $ORA_OWNR -c $ORACLE_HOME/bin/dbshut
    rm -f /var/lock/oracle
    su $ORA_OWNR -c "$ORACLE_HOME/bin/emctl stop dbconsole"
    echo "OK"
    reload|restart)
    $0 stop
    $0 start
    *)

  • Installation error : Can't connect to X11 window server using ':0.0

    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    WHILE INSTALLING ORACLE10g ON FC1 GETING THIS ERROR
    Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    :0.0
    :0.0
    Unable to start an interactive install session because of the following error:Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to <hostname or IP address>:<screen>, where the <screen> is usually '0.0'.
    Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
    - For csh: % setenv DISPLAY 192.168.1.128:0.0
    - For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
    HOW SHOULD I MAKE THE REQUIRED CHANGES

    Check this thread:
    Re: Can't connect to X11 window server using 'localhost:0.0'

  • Managed Server can not connect to Database

    I have a WebLogic cluster with three managed Server on 3 different machines.
    ManagedServer_1, ManagedServer_2, ManagedServer_3 (on Machine 3)
    Firstly, everything is ok. But when we changed some configuration on Firewall and make the WebLogic cluster could not connect to database. 3 servers change status from Running to Warning. Then, we undo all the changes to the Firewall configuration. 3 Servers could connect to Database again but still in warning state.
    It is strange that when I tried to restart ManagedServer_3. That server could not be up normally. It went to Admin state and all the datasources and connection pool could not be created. I tried to restart the machine 3 and start the server but it still failed to make server running normally.
    ( I made the test connecting to Database from Machine 3, everything is okie, I can got data from database, port 1521 opened )
    Has anyone got the same problem and how to fix it? Is that the problem with the admin server?

    JDBC DataSources/Connection pools are all at Domain Level. All we do is just target the datasources to AdminServer and Entire cluster (this will take care of all managed servers in the cluster). From Weblogic Console, TEST the data sources for any firewall issues. If this works from console, check from where you are accessing the Console like within the Firewall, that can access the database server. Even though the actual application is deployed only on cluster, still I would recommend targetting the datasources to both AdminServer and Cluster.
    Ravi Jegga

  • DB Console can't connect to Database

    To all,
    Trying to get a test instance of 11.1.0.7 up in VM Ware on OEL 5. Instance and OEM installed fine--I've dropped and recreated my repository, but OEM still can't see the database. Here is the error stack I see in the emoms.log:
    2009-03-04 01:52:06,110 [HTTPThreadGroup-11] WARN jdbc.ConnectionCache _getConnection.353 - Got a fatal exeption when getting a connection; Error code = 170
    02; Cleaning up cache and retrying
    2009-03-04 01:52:13,059 [HTTPThreadGroup-7] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = https://rac1.sys.com:3938/emd/ma
    in)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Io exception: Socket read timed out)
    2009-03-04 01:52:13,205 [HTTPThreadGroup-4] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = Io exception: Socket read
    timed out
    2009-03-04 01:52:20,935 [HTTPThreadGroup-5] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = Io exception: Socket read
    timed out
    2009-03-04 01:52:21,112 [HTTPThreadGroup-11] ERROR conn.ConnectionService verifyRepositoryEx.887 - Invalid Connection Pool. ERROR = Io exception: Socket read
    timed out
    2009-03-04 01:52:21,134 [EMUI_01_52_21_/console/aboutApplication] ERROR svlt.PageHandler handleRequest.639 - java.lang.IllegalStateException: Response has al
    ready been committed
    java.lang.IllegalStateException: Response has already been committed
    Any thoughts? emctl status output below:
    test1 /U00/app/oracle/product/11107/db_1/rac1.sy.com_test1/sysman/log> emctl status agent
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.0
    OMS Version : 10.2.0.4.0
    Protocol Version : 10.2.0.4.0
    Agent Home : /U00/app/oracle/product/11107/db_1/rac1.sy.com_test1
    Agent binaries : /U00/app/oracle/product/11107/db_1
    Agent Process ID : 32520
    Parent Process ID : 32490
    Agent URL : https://rac1.sy.com:3938/emd/main
    Repository URL : https://rac1.sy.com:1158/em/upload/
    Started at : 2009-03-04 01:35:36
    Started by user : oracle
    Last Reload : 2009-03-04 01:38:08
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 80
    Size of XML files pending upload(MB) : 15.03
    Available disk space on upload filesystem : 41.57%
    Data channel upload directory : /U00/app/oracle/product/11107/db_1/rac1.sy.com_test1/sysman/recv
    Last attempted heartbeat to OMS : 2009-03-04 02:06:44
    Last successful heartbeat to OMS : unknown
    Agent is Running and Ready
    Edited by: jdanton on Mar 4, 2009 11:08 AM
    Edited by: jdanton on Mar 4, 2009 11:09 AM

    Oracle 11g.
    I have the same error
    [HTTPThreadGroup-11] ERROR eml.OMSHandshake processFailure.806 - OMSHandshake failed.(AGENT URL = https://server:3938/emd/main)(ERROR = INTERNAL_ERROR)(CAUSE =java.sql.SQLException: Io exception: Socket read timed out)
    Any one have found a solution to the problem.
    _Pete                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can't connect to database server

    I've been using oracle db 8.0 since one year ago. Since about 3 months ago, i can't connect to my server database, even i do nothing which can change oracle settings.
    Why this thing happen ? and what should I do to solve this problem ?
    Note : When i tried to access the service name via net8 assistant, a window popup show this warning : Comment information has been detected in your Network Configuration files which may be lost or repositioned when you save your network Configuration. Do you wish to continue ??
    If I continue this process when i tested connection this error message come :tnswriter failure

    I've been using oracle db 8.0 since one year ago. Since about 3 months ago, i can't connect to my server database, even i do nothing which can change oracle settings.
    Why this thing happen ? and what should I do to solve this problem ?
    Note : When i tried to access the service name via net8 assistant, a window popup show this warning : Comment information has been detected in your Network Configuration files which may be lost or repositioned when you save your network Configuration. Do you wish to continue ??
    If I continue this process when i tested connection this error message come :tnswriter failure

  • Can't connect to database after restarting, TNS Error

    I'm a little new to Oracle 10g administration. I successfully installed it on Oracle Enterprise Linux. Immediately after installation, I was able to connect to the default ORCL database using sqlplus. However, when I restarted the computer, I was no longer able to do so, even after restarting the listener service.
    Here is the error I get:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    The other strange thing is, whenver I create a new database using dbca, immediately after that I can connect via sqlplus. However, if I perform a shutdown/startup, I get the same error as above. Restarting the listener doesn't make any difference.
    A tnsping to my new database is successful but I can't connect to it from sqlplus.
    Running the 'lsnrctl services' command immediately after making the new database shows it running but after a shutdown/restart only the default EXTPROC service shows.
    Can anyone tell me why this happens and how to resolve it? Is there some other service I have to restart? Also, why does the listener not know of the service when it is explicitly configured in the tnsnames.ora file?
    Note that I change my ORACLE_SID to the service name before attempting to connect.
    Everything in the listener and tnsnames files was coded by the software, not by me.
    Thanks for any help.
    Here is my listener file:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /opt/oracle/product/10gR2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    ______________________________________________

    I played around a little by deleting and creating databases. Here is my current tnsnames file:
    TESTDATA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = TESTDATABASE)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linux)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I just made the database called TESTDATA. Here is the output of the command 'lsnrctl services', where the TESTDATABASE service refers to the database I just made:
    [oracle@linux ~]$ lsnrctl services
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 11-JUL-2007 22:19:47
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linux)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "TESTDATABASE" has 1 instance(s).
    Instance "TESTDATABASE", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:13 refused:0 state:ready
    LOCAL SERVER
    Service "TESTDATABASEXDB" has 1 instance(s).
    Instance "TESTDATABASE", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:972 state:ready
    DISPATCHER <machine: linux, pid: 25175>
    (ADDRESS=(PROTOCOL=tcp)(HOST=linux)(PORT=38662))
    Service "TESTDATABASE_XPT" has 1 instance(s).
    Instance "TESTDATABASE", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:13 refused:0 state:ready
    LOCAL SERVER
    Service "test2.class" has 1 instance(s).
    Instance "test2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "test2_XPT.class" has 1 instance(s).
    Instance "test2", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    [oracle@linux ~]$
    Now I'm connecting and here is my result:
    [oracle@linux ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 11 22:21:24 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect sys/pwd@testdata as sysdba
    Connected.
    SQL>
    I am able to access the database from the OEM.
    Now, here's what happens next. I shutdown the database from sqlplus and now when I restart, I get this message:
    SQL> startup
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    Now, if I exit sqlplus, enter again and try to connect, I get this error:
    oracle@linux ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 11 22:28:01 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> connect sys/pwd@testdata
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    SQL>
    Any solutions? I appreciate your help.

  • Can't Connect to Database - TNS Names Trouble

    Hi all, this is my first posting, so bear with me as I struggle
    through trying to word it in a logical manner that you can
    understand! I'm definitely not an Oracle guru, but some of my
    job duties require me to interact with several databases -- so I
    know enough to get by. After the battle with the Nimda virus, my
    system could not find the files to start SQL Plus and the icon
    had turned to generic. In an attempt to try and resolve this, I
    downloaded and installed the 8.17 client. I set up several
    connections through Net 8 config asst, but some of them would
    not work. Here's additional background info: we are moving to a
    new clustered DB configuration. The old config was numerous
    individual databases, but the new DB incorporates all the old
    ones (just separate accounts). The funny thing is I have no
    problem setting up connections to the old databases, but have
    had zero luck connecting to any account on the new DB. I have
    coworkers that are using an older version of SQL PLus and SQL
    Net Easy Config and they don't have any problems connecting to
    the new DB. We double checked there TNS names against mine and
    found no differences. Also, I still have the old version of
    Oracle loaded, because it wouldn't let me uninstall it -- I
    loaded the 8.17 in a new home. I'm desparate, so any help at
    all will be very appreciated. Sorry for such a long post.
    Thanks,
    SS

    Steve,
    This sounds like a job for Oracle Support. There are so many
    factors here, and if the tnsnames.ora files are the same, it
    will need some industrial strength investigation.
    Alison
    iSQL*Plus Team

  • [b]How can i connect with database(oracle 9i) from form developer at runtim

    Hi Friends,
    My problem is as follows, please show me a way.
    Let's asume, I have form (developed in 6i) which has database data block. Now, at form level a have assigned on_logon trigger and I have written the following PL/SQL statement in that trigger:
    begin
    null;
    end;
    So, when I run this form without connecting to database It does not prompt for a connection. Now I have button lebeled as "Connect" in this form, when user will click on it it will display a window having text boxes to enter user name, password and database name; once the user fill those text boxes and click on a button lebeled as "Ok" then the form runtime environment should be connected with database as per information provided by user. Here to mention that the user already been created, only the connection will be stablished. For example: I want to connect the form with database as "scott/tiger@oradata9i".
    To do this, what PL/SQL command statement should i write in that "OK" button's "when_button_pressed" trigger?
    If any of you know about this please help me.

    Hi
    I've answered this question already. If I understand you right, you can use 'LOGON' built-in of Forms. Take a look into documentation.

  • Can not connect the database via query string (C#). The SQL Server Management Studio is showing the full path of a location instead of database name.

    I can not connect to the database via C#. The database is showing full path of the database file instead of the database name. See the pic: a database showing only name 'emart' and the other database showing the full path.
    : Robby

    Hi,
    According to your post, I know that the database name is showing file path of the database rather than the database name in SQL Server Management Studio. You were not able to
    establish a connection to the database using C#.
    As Olaf said, was any error message thrown out when the connection failed? How did you create these databases?
    You can use the following T-SQL to attach the database and see if the issue persists.
    CREATE DATABASE
    databasename
        ON (FILENAME = 'filepath _Data.mdf'),
        (FILENAME = 'filepath_Log.ldf')
    FOR ATTACH;
    Thanks.
    Tracy Cai
    TechNet Community Support

Maybe you are looking for

  • Errors in Function Module.......

    Hi All, In my Application i am getting the following errors: 1)com.abc.sap.myapp.allmodels.ZTask_Result cannot be resolved(or is not a valid type) for the argument o of the method addResult 2)The return type is incompatible with DynamicRFCModelClassE

  • Burning Question

    Is there a way where I can only burn part of the song (for example, I want to cut out the band introduction in a live song)?

  • Having trouble downloading After Effects

    Running a Mac 2x2.26 Quad Core OS X 10.9.2... Adobe application that launches to download AE quits as it starts up.  Any help?

  • Can I import and open raw files on the new photo app?

    Hi, Can I import and open raw files on the new photos app on my ipad?  Does it convert it to jpeg automatically when you want to share them? Thanks.

  • My ipad keeps crashing and restarting when I try to open camera

    My ipad keeps crashing and restarting when I try to open camera. Whenever I attempt to open my camera, the screen turns black, and then the ipad crashes and restarts on its own. Everything else works fine. Is anyone familiar with this problem?