TP4: Can't create database connection

I have just installed JDeveloper TP4 and run it for the first time. When I try to create database connection, nothing happens. Specifically, I right click on "IDE Connections" and select "New Connection" - and nothing happens; no messages, no dialogs, nothing. Is there something I have to have installed before this will work? I have Sun's Java 6 installed - I noticed that JDeveloper warns about this. Would it cause this problem?

Hi,
can you try with JDK 5 to exlude and issue with JDK 6. It works for me with JDK 5 so, there might be an issue with you Java runtime
Frank

Similar Messages

  • How can i create Database Connection in Swing Applet?

    A DESCRIPTION OF THE PROBLEM :
    I am unable to connect to oracle database using thin driver
    in Swing Applet.
    ENVIRONMENT:
    java version "1.3.1_02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
    Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
    FULL OPERATING SYSTEM VERSION : NT 4.0
    Java file:-
    import javax.swing.*;
    import java.awt.event.*;
    import java.sql.*;
    import java.awt.*;
    public class SwingApplet extends JApplet
       public void init(){
       public void start(){
        JTextField txf=new JTextField();
        JButton btn=new JButton("Click Me");
        btn.addActionListener(new ActionListener(){
            public void actionPerformed(ActionEvent ae){
            try{
            DriverManager.registerDriver(new
    oracle.jdbc.driver.OracleDriver());
            Connection con=DriverManager.getConnection
    ("jdbc:oracle:thin:@orasrv:1521:oracledb","hrisadmin","hrisadmin");
            Statement st=con.createStatement();
            ResultSet rs=st.executeQuery("select * from applicant");
            }catch(Exception e){JOptionPane.showMessageDialog
    (null,e.toString());}
            JOptionPane.showMessageDialog(null,"Hai Swing is cool");
        getContentPane().add(txf,BorderLayout.NORTH);
        getContentPane().add(btn,BorderLayout.CENTER);
       public void stop(){
       public void destroy(){
    html file:-
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
       width="120" height="160" align="middle"
       codebase="http://java.sun.com/products/plugin/1.1.2/
            jinstall-12-win32.cab#Version=1,2,0,0">
       <PARAM NAME="code" VALUE="SwingApplet.class">
       <PARAM NAME="codebase" VALUE=".">
       <PARAM NAME="archive" VALUE="classes111.zip">
    </OBJECT>ERROR MESSAGES/STACK TRACES THAT OCCUR :
    java.security.AccessControlException:access denied(java.net.SocketPermission or
    asrv resolve)

    if the applet runs locally, and you want to connect to your DB locally with the applet, it won't work (except if you adjust the security settings of your browser, maybe). That's because applets don't have access to the computer they're running on (except some information), since that would mean that any applet could just access your computer, so, it's not possible for security purposes.
    On the other hand, they don't have to right to connect to anything, except the server they're downloaded from ( so the webserver's ip).
    But I'm not sure about connecting to a DB through JDBC that way.
    Tom

  • Can not create the connection in the enrironment!!

    hello,every one:
    please see the following code:
              Environment *env = Environment::createEnvironment(Environment::OBJECT);
              Connection *conn = env->createConnection(userName,password,connectString);
    try
    //use the conn
              catch (SQLException &ex)
                   env->terminateConnection(conn);
                   Environment::terminateEnvironment(env);
                   throw;//re-throw
              env->terminateConnection(conn);
              Environment::terminateEnvironment(env);
              Environment *ev = Environment::createEnvironment(Environment::OBJECT);
    //the program stopped here,display i can not create the new connection
              Connection *cn = ev->createConnection(userName,password,connectString);
              ev->terminateConnection(cn);
              Environment::terminateEnvironment(ev);
    I have terminated the connection and the environment,then why I can not create the
    connection in the new environment?
    I have tried several times,if you connect the same database as the former,then it
    does not work,but if you connect a new database ,it can create the new connection!
    plus:I don't want to use conection pool .
    Can I have some method to solve the problem?
    Please help me!
    Thanks a lot in advance!
    tony from China

    Hi Tony,
    This similar sample works perfectly fine for me. Can you
    retry with this?
    #include <iostream>
    #include <occi.h>
    using namespace std;
    using namespace oracle::occi;
    int main()
            Environment *env = Environment::createEnvironment(Environment::OBJECT);
            Connection *conn = env->createConnection("scott","tiger","inst1");
            try
            //use the conn
            catch (SQLException &ex)
                    env->terminateConnection(conn);
                    Environment::terminateEnvironment(env);
                    cout<<ex.getMessage();
            env->terminateConnection(conn);
            Environment::terminateEnvironment(env);
            Connection *cn;
            Environment *ev;
            try{
            ev = Environment::createEnvironment(Environment::OBJECT);
            cn = ev->createConnection("scott","tiger","inst1");
            catch (SQLException &ex)
                    ev->terminateConnection(cn);
                    Environment::terminateEnvironment(ev);
                    cout<<ex.getMessage();
            ev->terminateConnection(cn);
            Environment::terminateEnvironment(ev);
    }Rgds
    Amogh

  • NEED HELP! can't create mysql connection in DW MX 2004

    I re-format my computer last week and after reformatting i
    install my PHP Triad and Dreamweaver MX 2004, but i can't create
    mysql connection using DW wizard, i already follow the step:
    1. create / manage site
    2. choose document type
    3. set up testing server ( i use php mysql @ localhost)
    and when i create new connection (fill the hostname,
    username, password, and select databases) it failed and show
    message "unidentified error occur".
    it never happen before (before i re format my computer).
    can anyone help me how to solve this problem.
    sorry for my bad english i came from Indonesia,
    thx before
    rgrds
    zhastro

    I re-format my computer last week and after reformatting i
    install my PHP Triad and Dreamweaver MX 2004, but i can't create
    mysql connection using DW wizard, i already follow the step:
    1. create / manage site
    2. choose document type
    3. set up testing server ( i use php mysql @ localhost)
    and when i create new connection (fill the hostname,
    username, password, and select databases) it failed and show
    message "unidentified error occur".
    it never happen before (before i re format my computer).
    can anyone help me how to solve this problem.
    sorry for my bad english i came from Indonesia,
    thx before
    rgrds
    zhastro

  • How can i Create Database Link

    Dear Expert,
    I have two servers on that there are two databases then
    how can i create database link.

    CREATE [SHARED][PUBLIC] DATABASE LINK link_name
    [CONNECT TO user IDENTIFIED BY password]
    [AUTHENTICATED BY user IDENTIFIED BY password]
    [USING 'connect_string']

  • 3.1EA3 Can not create first connection on a virginal installation.

    To test a clean installation I
    1) unzipped the download package (sqldeveloper-3.1.06.82.zip of 203Mb, so including the JDK) in a separate folder
    2) removed folders "SQL Developer" and "Oracle SQL developer Data Modeler" from my C:\Documents and Settings\<username>\Application Data\
    On the first startup there is (as expected) no proposal to migrate any settings.
    Opening "New" (by either using the button, ctrl+N or menu File/New) opens the "Create a new" dialog.
    There I select the first item: "Database connection" and click OK.
    The "New Gallery" window opens.
    When either selecting "Database Tier" or "General/Connections" in the tree, the option "Database Connection" is available. It describes how it should "Opens the Create Database Connection dialog". But when I click OK, nothing happens (apart from breefly changing my mouse cursor)... :-(
    On the other hand an other option (Subversion Repository Connection) works fine: selecting it and then clicking OK yields a "Create Subversion Connection" dialog as expected.
    After restarting SQL Developer the same behaviour remains (also see PS below)
    By now I also tried the "All Items" option in the "New Gallery" tree. This lists two kinds of database connections:
    Database Connection (Database Tier)
    Database Connection (Connections)
    When I try the first option (Tier) I again get no dialog.
    When I try the first option (Connections) I also get no dialog.
    In short I can't make any connections.
    Some more info.
    By mistake, i just started up my 3.0 version, but before restoring my C:\Documents and Settings\<username>\Application Data\ folders.
    After having dismissed the migrate dialog (I suppose it saw the files created by the 3.1), the screen looked different from the 3.1 in an important way:
    The 3.0 has the gray screen with the slanted list of buttons on the right, but on the left it also has the treeview (showing an empty list of connections).
    The 3.1 version has the same grey window, but that is all: there is no treeview on the left...
    PS.
    When opening SQL Developer the second time, the following error appeared in the logging page, but I concidder this to be irrelevant (since I don't use TimesTen)
    SEVERE     86     0          Failed to create addin oracle.dbtools.raptor.timesten.TTAddin
    On a third invocation this error did not appear again (the logging page was still open, but empty).
    Edited by: JVdB on 5-jan-2012 1:08 Added the part about the difference between 3.0 and 3.1: the lack of the treeview window on startup

    Well, I (still) can't find any of those "Quite some threads" :-)
    Anyway.
    I'm running on windows XP SP3 (yes...)
    The windows is English, the regional settings used are
    Standards and formats: English (United Kingdom)
    Customize regional options:
    Numbers-tab
    - Decimal symbol: . (dot)
    - Digits after decimal: 2
    - Digit grouping symbol: <null>
    - Negative symbol: -
    - Negative number format -1.1
    - Display leading zeros: 0.7
    - List separator: . (dot)
    - Measurement system: Metric
    Currency-tab
    - Currency symbol € (euro sign)
    - Positive currency format: €1.1
    - Negative: -€1.1
    - Decimal: . (dot)
    - Digits: 2
    - digit grouping symbol: . (dot)
    - digit grouping: 123.456.789
    Time-tab:
    - Time format: h:mm:ss tt
    - Time separator: : (colon)
    - AM: AM
    - PM: PM
    Date-tab:
    - Two digit year: 1930 - 2029
    - Short date format: dd/MM/yyyy
    - Date separator: /
    - Long date format: dd MMMM yyyy
    Location: Belgium
    I added the proposed line in ...\sqldeveloper\bin\sqldeveloper.conf on a line between the existing lines
    AddVMOption -Doracle.jdbc.mapDateToTimestamp=false
    and
    IncludeConfFile sqldeveloper-nondebug.conf
    This has not helped.
    I also tried with "UK" instead of "US", but still no luck...
    Thanks for your help.
    Edited by: JVdB on 9-jan-2012 6:40: added the results of adding the extra option in the .conf file.

  • Can you create multiple connections in smartview? for PROD and DEV?

    Hi,
    We have a production and development hyperion planning. In Smartview, we have successfully connected to PROD but can we create another connection to DEV?
    or do we keep replacing the URL?
    thanks

    I think from 11.1.2.2 onwards the ability to add servers in Shared Connection is removed and an enhancement is filed to have that ability.
    You can use private connection to connect to different instances
    http://DEV:19000/aps/APS for Essbase
    http://DEV:19000/HyperionPlanning/SmartView HyperionPlanning
    If you are on 11.1.2.3 you can create an XML file and use that as your Shared Connection
    Essbase Labs: Smart View News
    Regards
    Celvin
    http://www.orahyplabs.com

  • Update to Muse 2.3 Crashes. Windows 7 x64. "openCreate can't create database over file..."

    I updated to Muse 2.3. Everytime I open an old site or create a new one then try to save or save site as, I get error message "openCreate can't create database over file that already exists"
    I have tried uninstalling then reinstalling Muse and Air (a couple of times). Also tried the cleaner.
    Any suggestions? Of course a tad urgent. Muse is great program, but its usefulness seems to be inversely proportional to the urgency of need.
    Thank you for any help.
    Alan

    Thanks Zak for getting back to me so quickly. I seem to have solved the problem (fingers crossed).
    I restored my Windows 7 system to a point before I installed the latest update to Muse (2.3) [the restore also went back before large windows update that happened this week]. I tried to start Muse up and I got an error message saying it was a damaged installation. I uninstalled then reinstalled AIR. Then I reinstalled Muse. Seem to be working fine now.
    The only thing I can think that happened to mess things up was that I used the Cleaner after I uninstalled Muse originally? I used it for the CS6 version. I noticed that Muse was listed under my CS 5.5 installation too (I think it said Muse 16 - maybe v1 or the beta?). I uninstalled that too so maybe I had a corrupted installation from earlier or the beta still hanging around my system?
    I really appreciate the prompt support. I will let you know if anything else happens - let me know if you'd like any more info.
    Alan

  • Create database connection

    I try to create database connection in jdeveloper.
    I have error message;
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    10.41.119.12:1620:TEST
    I did connect with database before. but I try to create connection with database today.
    I cannot. what problem is it?
    what am i goint to do?

    Hi,
    Maybe your connecting directly after the listener starts, wait a while then try to connect again, if this problem still occurs, check the SID of your Connection settings, it maybe incorrect.
    Regards,
    Ahmad Esbita

  • Can not create Database-based MDS connection

    Hello Dear Oracle Support,
    I am trying to use MDS to share some common dvm files. First step, I want to create a database based MDS connection but failed.
    My SOA schema is JDEV_SOAINFRA. When I test my Database based MDS connection, I got ORA-01031: insufficient privileges. What privileges I need to grand to MDS schema?
    I am using JDEV_MDS as username to establish MDS connection.
    Thank you for any suggestion and/or information,
    Alena Li

    Hello Alena!
    If you want to wait the answer from Oracle Support here.. you'll need a lot of patience.
    Is the corresponded Database Connection test succeed?
    If it also fails that, I think, your JDEV_MDS user (schema) lack of the CONNECT privilege.
    A question to you - how did you created this schema?
    You should use RCU to create the schemes  for SOA Suite (and other Oracle Middleware).
    The RCU creates the schemes with all necessary structures (tables) and grants.
    Hope this helps,
    Oleg

  • Can't create database using ASM (SOLVED)

    Hi all
    I'm trying to use ASM for the first time, on Oracle 10.2.0.1 on Solaris x64.
    I have installed the ASM instance into /opt/oracle/asm/10.2.0 and created disk groups. I have cssd running OK. I am able to start and stop the ASM instance without problems, and I can select from v$asm_diskgroup to confirm that disks are mounted OK.
    I have then installed Oracle EE separately into /opt/oracle/server/10.2.0. I first did a software only install, and now I am trying to create a DB.
    The problems come when I try to use this ASM instance to host a new database. I first tried to use DBCA to create a new database, but on database creation I got the following errors:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    I then told DBCA just to create the DB creation scripts, and I tried manually running these with SQL*Plus.
    When doing it with SQL*PLus, I initially got the same error as shown above. But then something changed (sorry, not sure what), and now the error I get is:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    I've put some debug info below, showing me succesfully connecting to the ASM instance and then attempting to create the DB using the db creation scripts, showing the error at the end. You can see that the oracle OS user is able to connect fine to ASM, then I swithc ORACLE_SID and ORACLE_HOME to the EE install and try to create the DB, at which point it apparently can't connect to ASM any more.
    I've tried the DB creation many times, and in between attempts I completely empty $ORACLE_HOME/admin/<dbname> and delete the files related to the attempted install from $ORACLE_HOME/dbs/ . I've also stopping/starting ASM, rebooting, and I've done the install of ASM and EE a couple of times over in case I made any mistakes in my earlier attempts.
    Any help would be much appreciated!
    Tom
    ##### CHECKING ASM
    oracle@neonrcom-db1:~$ uname -a
    SunOS neonrcom-db1 5.10 Generic_127128-11 i86pc i386 i86pc
    # css is running
    oracle@neonrcom-db1:~$ ps -ef | grep css
    oracle 498 1 0 21:46:40 ? 0:01 /opt/oracle/asm/10.2.0/bin/ocssd.bin
    # listener is running in the ASM instance
    oracle@neonrcom-db1:~$ ps -ef | grep tnsl
    oracle 1332 1 0 21:49:59 ? 0:00 /opt/oracle/asm/10.2.0/bin/tnslsnr LISTENER -inherit
    # ASM is only entry in /var/opt/oracle/oratab
    oracle@neonrcom-db1:~$ grep -v "^#" /var/opt/oracle/oratab
    +ASM:/opt/oracle/asm/10.2.0:N
    # I can connect to ASM fine, and it has diskgroups mounted.
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/asm/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='+ASM'
    oracle@neonrcom-db1:~$ sqlplus "sys as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 20:53:10 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> set line 150
    SQL> select name, block_size, state, type, total_mb, free_mb from v$asm_diskgroup;
    NAME BLOCK_SIZE STATE TYPE TOTAL_MB FREE_MB
    DBARCH1 4096 MOUNTED EXTERN 2096856 2096784
    DBLIVE1 4096 MOUNTED EXTERN 4193904 4193812
    #### Contents of init.ora for new DB
    db_create_file_dest=+DBLIVE1
    db_recovery_file_dest=+DBARCH1
    db_recovery_file_dest_size=2147483648
    ##### DB INSTALLATION ATTEMPT
    oracle@neonrcom-db1:~$ export ORACLE_HOME=/opt/oracle/server/10.2.0
    oracle@neonrcom-db1:~$ export ORACLE_SID='NEONREL1'
    oracle@neonrcom-db1:~$ export PATH=$ORACLE_HOME/bin:$PATH
    oracle@neonrcom-db1:~$ /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/NEONREL1.sh
    You should Add this entry in the /var/opt/oracle/oratab: NEONREL1:/opt/oracle/server/10.2.0:Y
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 21 22:10:54 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    specify a password for sys as parameter 1
    Enter value for 1: xxx
    specify a password for system as parameter 2
    Enter value for 2: xxx
    specify a password for sysman as parameter 3
    Enter value for 3: xxx
    specify a password for dbsnmp as parameter 4
    Enter value for 4: xxx
    specify ASM SYS user password as parameter 6
    Enter value for 6: xxx
    Connected to an idle instance.
    SQL> spool /opt/oracle/server/10.2.0/admin/NEONREL1/scripts/CreateDB.log
    SQL> startup nomount pfile="/opt/oracle/server/10.2.0/admin/NEONREL1/scripts/init.ora";
    ORACLE instance started.
    Total System Global Area 1.9294E+10 bytes
    Fixed Size 2054976 bytes
    Variable Size 2264925376 bytes
    Database Buffers 1.7012E+10 bytes
    Redo Buffers 14721024 bytes
    SQL> CREATE DATABASE "NEONREL1"
    2 MAXINSTANCES 8
    3 MAXLOGHISTORY 1
    4 MAXLOGFILES 16
    5 MAXLOGMEMBERS 3
    6 MAXDATAFILES 100
    7 DATAFILE SIZE 300M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    8 EXTENT MANAGEMENT LOCAL
    9 SYSAUX DATAFILE SIZE 120M AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED
    10 SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE SIZE 20M AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
    11 SMALLFILE UNDO TABLESPACE "UNDOTBS1" DATAFILE SIZE 200M AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
    12 CHARACTER SET AL32UTF8
    13 NATIONAL CHARACTER SET UTF8
    14 LOGFILE GROUP 1 SIZE 51200K,
    15 GROUP 2 SIZE 51200K,
    16 GROUP 3 SIZE 51200K
    17 USER SYS IDENTIFIED BY "&&sysPassword" USER SYSTEM IDENTIFIED BY "&&systemPassword";
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    Message was edited by:
    tjobbins

    Update: I've worked out the difference between the two sets of errors I get.
    The basic error is this:
    ORA-00200: control file could not be created
    ORA-00202: control file: '+DBLIVE1'
    ORA-17502: ksfdcre:4 Failed to create file +DBLIVE1
    ORA-15001: diskgroup "DBLIVE1" does not exist or is not mounted
    ORA-15055: Message 15055 not found; No message file for product=RDBMS, facility=ORA
    ORA-01031: insufficient privileges
    However if my init.ora contains the line:
    control_files=/opt/oracle/server/10.2.0/dbs/cntrlNEONREL1.dbf
    then I instead get the second error:
    CREATE DATABASE "NEONREL1"
    ERROR at line 1:
    ORA-01501: CREATE DATABASE failed
    ORA-00349: failure obtaining block size for '+DBLIVE1'
    ORA-01031: insufficient privileges
    So basically these must be the same error, just in the second case I'm not trying to put the control file on the ASM so it fails at a different point.
    But both errors must be because of the same cause, I suppose.

  • Create database connection for oracle ver.8.1.7.4 unsucessful

    I trying create a database connection with jdeveloper 11g to db oracle ver.8.1.7.4, but the connection return error "Test failed: Unsupported Oracle database version". I selected connection type: "Oracle (JDBC)" and initially selected driver: "thin", after exchange to driver: "oci8", but return error: "Test failed: no ocijdbc11 in java.library.path". Created on menu > Tools > Preferences > JDBC driver options a new driver: "some.jdbc.Driver" pointing to Driver class: "some.jdbc.Driver", library: "oracle.jdbc.OracleDriver", class path: "c:\...\oracle\jdbc\lib\ojdbc14.jar".
    Tried to create with this driver with the option "Generic JDBC" pointing to this driver created and using jdbc url: "jdbc:oracle:thin:@//255.255.255.255:1521/ServerId", but return error: "Test failed: Driver class not found. Verify the Driver location"
    Now, i don´t know to do!!!

    John,
    i have the data corporate in this DB in this version. I have already tested with the oracle JDBC driver: "ojdbc14.jar" and works in the "Eclipse" IDE, but i want to use with jdev, understand? Can i test only with this jdbc driver if i set "generic JDBC"?, because if i set "oracle JDBC" this driver is pointing to oracle 11g driver. Is there a "step-by-step" to set this correct procedure? I cannot set "oracle JDBC" of list because the driver class is disabled.

  • How to create database connection using DB2Driver in JDeveloper 10.1.2.1.0?

    I am trying to create a JDeveloper/Data Connection using com.oracle.ias.jdbc.db2.DB2Driver. The driver is registered from a User Libraries: DataDirect JDBC. I have the following class path for the library:
    E:\DataDirect\3.4\lib\YMdb2.jar;E:\DataDirect\3.4\lib\YMbase.jar;E:\DataDirect\3.4\lib\YMutil.jar
    I have no trouble configuring the connection but when I test it and I got ‘No suitable driver Vendor code 0’. What’s wrong? I have successfully created several database connections using Oracle thin driver. This is first time I am using a third party driver. Has any one successfully create a database connection using the com.oracle.ias.jdbc.db2.DB2Driver?

    Hi
    Since the error points to the unavailability of the driver class,can you double check your library claspath entries again.
    I just tried a DB2 connection using the following properties and the connection went through fine:
    Driver class name: com.oracle.ias.jdbc.db2.DB2Driver
    URL: jdbc:merant:db2://<host_name>:50000;DatabaseName=SAMPLE
    Thanks
    Prasanth

  • Can't create database

    I just installed SQL Express 2014. Did not ask for any loging options during the install process. It seemed to proceed on its own. But after the installation was completed when I connect using SQL Server Management Studio, I am defaulted to the windows login
    and password.
    Once I am connected I tried to create a new database, but I get the following error.
    "CREATE DATABASE Permission denied in database 'master'. (Microsoft SQL Server , Error: 262)
    (My Windows login has Admin rights on the computer that I am working on)
    So I tried to enable the "sa" account , Again I get an error.
    "Cannot alter the login 'sa', because it does not exist or you do not have permission. (Microsoft SQL Server, Error: 15151).
    How to solve this issue. All I want is to be able to create new Database.

    Can you refer the below link
    http://blogs.msdn.com/b/dparys/archive/2009/09/17/create-database-permission-denied-in-database-master-my-fix.aspx
    --Prashanth

  • Can't Create TNS-connections for different Oracle Homes

    I've installed Oracle 9.2 client and also the Oracle XE 10g Database on my computer. So there are two files "tnsnames.ora"
    (C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN, C:\Programme\ORA92\network\ADMIN). By creating a new connection with
    "TNS" option there is only the content of the XE-tnsnames.ora file. How can I choose the tnsnames.ora in Oracle 9.2 Home?
    Edited by: @chris on 15.05.2009 15:54
    Is there a preference for SQL-Developer to choose any installed Oracle Client?
    Is there a file where I can configure a different Oracle Client for SQL Developer?
    Remark: My "Windows XP - Path" settings are: C:\Programme\ORA92\BIN;C:\oraclexe\app\oracle\product\10.2.0\server\bin;...
    Edited by: @chris on 03.06.2009 19:12
    No comments since 2 weeks :-(
    So I think there is no possibility to select an installed Oracle client when creating "connections" in SQL Developer.
    Would anybody else like to have this feature in future releases of SQL Developer?
    PS: In "SQL Navigator" (by Quest Software) you can select your Oracle Client when creating a connection.

    I had this same issue only with SSMS 2005 x86.
    I unchecked the "Allow inprocess" and I was able to connect.
    You will need the security "Be made using this security context" with the U/P that you mention
    "+same userid and pwd which I use in SQL* Plus to connect to same oracle database+"
    Hopefully you will get pass that issue. The issue I have now is that I can't do a select on
    one of the linked tables.

Maybe you are looking for