I cant connect database with dev2000

i use identif user : scott
passwd : tiger
string connection : nothing (empty)
i cant connect
error : no module interface connected.
pls help me
give me user/passwd and string connection

Go to SQLNET Easy Configuration and either alter or add database
alias. Also take the tnsnames.ora file on your server and copy
it to your oraclehome\network\admin\ folder. Give feedback if
this helps

Similar Messages

  • Cant connect java with oracle

    i am new to oracle.
    i cant connect java(jdk1.3) to oracle using 'oracle.jdbc.driver.OracleDriver' in Class.forName() and DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott","tiger")
    it shows "class not found" error.
    is there any one to suggest or help me?

    Hi,
    you are posting in wrong forum, as this one is for SQLDeveloper-related issues only. You should post java-related issues in this forum:
    SQL Developer
    However, about your exception you have missed to put the oracle jdbc driver in the classpath.
    Download it from here:
    SQL Developer
    and see more info here:
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/index.html

  • Connecting Database with Oracle WebDB

    Hi Guys,
    Can somebody please help how I can startup webDB with my database instance. The DAtabase has been created and the Web DB has been installed. both on Solaris.How can I connect the two of them and start it up.
    Thanks

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Can somebody please help how I can startup webDB with my database instance. The DAtabase has been created and the Web DB has been installed. both on Solaris.How can I connect the two of them and start it up.
    <HR></BLOCKQUOTE>
    Write an rc script to start ONE after the OTHER:
    su - oracle -c "dbstart"
    su - oracle -c "lsnrctl start"
    su - oracle -c "nohup wdblsnr hostname port &"
    Or something like that.
    null

  • Forms10gr2 taking 2 min to connect database with same server

    Hi ,
    i have installed oracle11gr2 & forms10gR2 on same server . But when i am connecting forms to database it is taking 2 Min to connect .
    on server i have two Lan card .
    how to minimize time to connect to database .
    Thanks
    Ravi

    Hi
    have you installed a normal Oracle Client also on your Host? normal Oracle Client
    Did you connect with host:port:sid or with a Oracle Naming Service? through TNS Service
    Can you test tnsping <alias> yes, It is working fine
    Did other user have the same problem? yes
    Did you connect through WAN or LAN connection? LAN (Intranet)
    Can you tell more about you client/database setup?
    Database setup:
    OS: Window 2008 server
    version: 11.1.0
    Client: 11.1.0
    OS: Window 2008 server
    Now I am not able to execute single select query which table contains 6 records and 15 columns it is taking long time I have waited 30 min still no resutls
    only one table is behaving like this remaining is working fine
    Edited by: user9235224 on Oct 6, 2012 7:06 PM

  • Connecting databases with the Appletviewer

    Is there any Code needed to include in .HTML file of Applet for Database Connectivity.
    I m running an Applet, which is not connecting to Database Side.
    Running the Applet gives me an Exception, which is:
    java.security.AccessControlException: access denied
    (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
    please help.

    JDBC-ODBC driver need privileges for dll loading.
    Here you can find the solution [http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/dba.html] .
    This is a text fragment
    The stack trace means the applet needs read permission to the encoded (binary) file. Here is the DbaOdbPol policy file with the permission indicated by the stack trace added to it:
      grant {
        permission java.lang.RuntimePermission
           "accessClassInPackage.sun.jdbc.odbc";
        permission java.util.PropertyPermission
           "file.encoding", "read";
    Run the applet again. If you use the above policy file with the Runtime and Property permissions indicated, it works just fine.
      appletviewer -J-Djava.security.policy=DbaOdbPol  DbaOdb.htmlSee also [http://www.ryerson.ca/~dgrimsha/courses/cps530/javaPolicyFile.html] , [http://exampledepot.com/egs/java.security/UsePolicy.html] .

  • Cant connect jsp with mysqlserver..help needed from person in jsp on linux

    hii,
    I have installed mysql on linux 7.x.This was installed during installation of linux.From the shell prompt i can go inside mysql and can successfully execute all query statements.
    Now have downloaded mm.mysqljdbc driver(i.2c) and installed it,set the classpath in .bash_profile,sh file
    Everything ,including Tomcat Apache server is running fine
    But i am unable to connect a jsp page to mysql database.
    A error message "server configuration denies access to datasource " is coming .
    My code is like this
    <%
    String username-"root"
    String password="sdctest"
    %>
    <% try
    class.forname("org.gjt.mm.mysql.Driver");
    java.sql.Connectioncon= java.sql.DriverManager.getConnection("jdbc:mysql://localhost/products"username,password);
    then opening recordset ....
    Error is coming in the second line while establishing connection.
    Here i would like to mention that username and password is the username and password of the root user in LInux.
    Now i mm confused what username and password will have to be used in JSP.Because i did nt have to specify any username or password while entering mysql.
    If my problem is clear,somebody please help...all jobs stuck.

    Try doing it without the username and password, otherwise create a new user in MySQL.

  • Connecting Database with Struts

    package assignment.actions;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;
    import java.sql.Statement;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import assignment.forms.QuizBeann;
    * @version      1.0
    * @author
    public class QuizActionAction extends Action
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response)
    throws Exception {
    ActionErrors errors = new ActionErrors();
    ActionForward forward = new ActionForward(); // return value
    QuizBeann quizBeann = (QuizBeann) form;
    try {
              String qns = quizBeann.getQuestion();
              String ans = quizBeann.getAnswer();
              String op1 = quizBeann.getOption1();
              String op2 = quizBeann.getOption2();
              String op3 = quizBeann.getOption3();
              String op4 = quizBeann.getOption4();
         if(qns != null || ans != null || op1 != null || op2 != null || op3 != null || op4 != null){
                        try{
                             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                             Connection con = DriverManager.getConnection("jdbc:odbc:Quiz");
                             Statement s = con.createStatement();
                             String sql = "INSERT INTO Quiz(Qns,Ans,Option1,Option2,Option3,Option4) VALUES ('"+qns+"','"+ans+"','"+op1+"','"+op2+"','"+op3+"','"+op4+"')";
                             ResultSet rs = s.executeQuery(sql);
                             ResultSetMetaData rsmd = rs.getMetaData();
                             int columnCount = rsmd.getColumnCount();
                             StringBuffer result = new StringBuffer();
                             result.append("<HTML><BODY><TABLE border=\"1\" width=\"100%\">");
                             while(rs.next()){
                                  result.append("<TR>");
                                  for(int i =1; i <= columnCount; i++){
                                       result.append("<TD>");
                                       result.append(rs.getString(i));
                                       result.append("</TD>");
                                  result.append("</TR>");
                             result.append("</TABLE></BODY></HTML>");
                             //((HttpServletResponse) quizBeann).getWriter().write(result.toString());
                        catch(Exception e){
                             System.out.println(e.toString());
                        return mapping.findForward("success");
    // do something here     
         else {
              return mapping.findForward("failed");
    } catch (Exception e) {
    // Report the error using the appropriate name and ID.
    errors.add("name", new ActionError("id"));
    // If a message is required, save the specified key(s)
    // into the request for use by the <struts:errors> tag.
    if (!errors.isEmpty()) {
    saveErrors(request, errors);
    // Forward control to the appropriate 'failure' URI (change name as desired)
    //     forward = mapping.findForward("failure");
    } else {
    // Forward control to the appropriate 'success' URI (change name as desired)
    // forward = mapping.findForward("success");
    // Finish with
    return (forward);
    I can't seem to run my page with this action mapping. Any idea what is wrong with the codes?

    1. When you post code, use code tags to preserve formatting.
    2. The way you are trying to do, Struts is an overkill.
    3. Struts has a tag to configure a datasource in struts-config.xml.
    4. You should not be generating HTML in an Action class. That is not the reason an action class is provided for.
    5. Your problem is the beginning of what happens when you mix too much code. Make better use of classes and separate out functionality that does not belong to the action class. It will make life easier for you.
    6. You never close the Connection, Statement or ResultSet. Eventually, it would lead to bigger problems. Close all your resources properly.

  • Cant connect Wrt54g with SBC! please help

    Ok i just got the at&t internet package in the mail and i already set it up. I got a linksys wrt54g router and it just doesnt want to work. I get to the part where it says connecting to the internet but it just never connects. I went to dslreports.com and it says i actually have pacicific bell - SBC. I used to have sbc adn even then i could never intstall the router. Someone please help me. oh yeah its a motorola modem.

    Try following settings .....
    Please access the setup page of the router by launching an Internet
    Explorer and type on the address bar, 192.168.1.1 and press enter. When
    it prompts for the username and password, leave the username field
    empty and provide password as “admin "" all in lower cases and then
    click on ok.
    On the main setup page select the "Internet Connection Type"
    as "PPPoE”. Then provide the username and password provided by your ISP
    (Internet service provider) for your connection(Example:
    [email protected])- Select the "Keep Alive" option and choose the
    redial period as 30 sec" and then click on the Save Settings button.

  • Connecting databeses with WML and JSP pages..!

    I need information about how to connect databases with wap technologies using wml and jsp , I am waiting your resources, codes and helps.. And I would like to remind you , I am beginner about this topic , Only things that I know are Jsp and WML , I have no experience about wap and how to combine wml and jsp , So please be helper while you send your messages , If all your messages contains much detailed and supported complete sources and files , it will more helpfull for me ..
    Thanks in Advance.
    P.S : 1- ) if you want to contact direclty , mail address : [email protected]
    2-) Don't post me complex references' URL , I have already made search on google,yahoo and etc

    Additionally , I would like to learn what I have to need for this project .. Now , I already have winwap wap emulator and Websphere Studio.. Do I need special wap server or something else to test my applications..
    Please , hurry up .. I really need your helps..
    Ergin

  • Autoconfig cant connect to database.

    i was trying to change the domain name of oracle application 11.5.10.2 , by making changes in both .xml files . but when i was nt success , i return to what i had changes as i had the backup of old .xml files. but now when i m running adautocfg.sh in both the tirs, it cant connect to the database .
    ANY HELP ????

    Oracle Apps:11.5.10.2 OS: Redhat ES linux 3.0
    Yes i have changed the domain name back on the OS.
    The Autoconfig logfile when i run at dbtier says:
    Starting AutoConfig at Fri Dec 8 11:53:36 2007
    Using adconfig.pl version 115.64
    Classpath : /dev1/visdb/9.2.0/jre/1.4.2/lib/rt.jar:/dev1/visdb/9.2.0/jdbc/lib/ojdbc14.jar:/dev1/visdb/9.2.0/appsutil/java/xmlparserv2.zip:/dev1/visdb/9.2.0/appsutil/java:/dev1/visdb/9.2.0/jlib/netcfg.jar
    ===========================================================================
    Starting Utility to Report Version Conflicts at Fri Dec 07 11:53:36 IST 2007
    Using VersionConflictListGenerator.java version 115.2
    All driver files processed.
    No version conflict encountered.
    ===========================================================================
    Using Context file : /dev1/visdb/9.2.0/appsutil/VIS_wbsebdev1.xml
    Attempting to create a back up of the Context file
    Created back up file of name :
    /dev1/visdb/9.2.0/appsutil/out/VIS_wbsebdev1/12071153/VIS_wbsebdev1.xml
    ===========================================================================
    Starting synchronization of file system Context file and its templates with those in the database
    Database connection : Failed
    OAM Context editing support feature: Unverified
    OAM Customization support feature : Unverified
    File system template : /dev1/visdb/9.2.0/appsutil/template/adxdbctx.tmp
    Checking for customizations to Context template
    Warning: Unable to connect to Database.
    If the system is OAM enabled, this may result in loss of customizations.
    Looking for custom template at : /dev1/visdb/9.2.0/appsutil/template/custom/adxdbctx.tmp
    Custom template : Not available
    Customizations found : None
    This i m giving a part of logfile, where you can see "Database connection : Failed" in bold letter.

  • I have problem with my wifi in 4 S, i cant connect to any wifi itried resetting network setting and reset all setting but the result was the same, its only keeps searching for wifi and cant find any, itried to use OTHER but also didnt work.please help me

    i have problem with my wifi in 4 S, i cant connect to any wifi itried resetting network setting and reset all setting but the result was the same, its only keeps searching for wifi and cant find any, itried to use OTHER but also didnt work.please help me???

    If Join was on then your home wi-fi must be set to Non-Broadcast.  If you did not set this up (maybe your provider did) then you will need to find the Network Name they used, and any password they used.  The SSID is Security Set ID and to see more try http://en.wikipedia.org/wiki/SSID .  Basically it is the name used to identify your router/network.  A lot of times the installer will leave it set as LinkSys, or Broadcom or whatever the manufacturer set it as for default.  Your best bet is to get whoever installed it to walk you through how they set it up, giving you id's and passwords so you can get in.  HOWEVER, if you are not comfortable with this (if you set security wrong, etc.) you would be well ahead of the game to hire a local computer tech (networking) to get this working for you.  You can also contact the vendor of your router and get help (if it is still in warranty), or at least get copies of the manuals as pdf files.  Sorry I can't give you more help, I hope this gives you an idea where to go from here to find more.

  • How to specifiy the provider to be Oracle.ManagedDataAccess.Client when creating a dynamic connection string with EF Code First from Database?

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

    I am trying to use the relatively new Code First from Database with the newest EF (6.x) and on an Oracle database (11g, but I have installed the newest ODTwithODAC). First of all, it works fine as long as the connection string is inside the App.Config file. But when I try to build it dynamically in the C# code (or rather, statically at the moment) it fails. I have it working with a dynamically built connection string when doing Model from Database though, so I'm at a loss right now.
    First, I have created a second constructor for the context class that takes a string and does base(connectionString). Then I build the connection string via
    OracleConnectionStringBuilder oracleBuilder = new OracleConnectionStringBuilder();
    oracleBuilder.DataSource = "TEST.BLA.COM";
    oracleBuilder.UserID = "ABC";
    oracleBuilder.Password = "abc";
    oracleBuilder.PersistSecurityInfo = true;
    string connection = oracleBuilder.ToStrin();
    Now trying to open an EntityConnection by giving to it this provider-specific connection string (or even the static one from the App.Config) doesn't work; I get "keyword not supported: user id"). Trying it by creating a context and giving this connection string doesn't work either. I'm pretty sure that this is because I didn't specify the provider to use; after all, it should use the Oracle.ManagedDataAccess.Client provider and not an SQL Server based one.
    I then tried to get around this by using an EntityConnectionStringBuilder on top and specifying the provider keyword there, but then I get "keyword not supported: provider" when using it in the context constructor, and "the 'metadata' keyword is always required" when using it with the EntityConnection constructor.
    As I said above: I bet it's the provider that I have to specify somehow, but I don't know how. The code that does work is the following:
    using (var context = new Model())
    context.Database.Connection.Open();
    context.Database.Connection.Close();
    When I read context.Database.Connection.ConnectionString, it is exactly the provider-specific connection string I created above, but I don't know where to specify the provider again. Do you know of any way to do this? Certainly there must be one.
    PS: I have also posted this question on http://stackoverflow.com/questions/27979454/ef-code-first-from-database-with-managed-oracle-data-access-dynamic-connection because it is quite urgent and I'd like to use Code First from Database. Otherwise I'd have to go "back" to using Model from Database again, which is not ideal because we have updatable views where the .edmx-file has to be edited after every reload of the model, while with Code First from DB inserting into the view automatically works.

  • Hey, my ipad is disabled and i cant open. i tried connecting it with itunes in recovery mode to restore it but it wont work it doesnt show and options itunes doesnt detect my ipad in recovery mode. what do i do know? please help!!!

    Hey, my ipad is disabled and i cant open. i tried connecting it with itunes in recovery mode to restore it but it wont work it doesnt show and options itunes doesnt detect my ipad in recovery mode. what do i do know? please help!!!

    If you followed these instructions and you were unable to enter recovery mode, I'm still leaning toward a hardware problem.  Also, since you have IOS-7, read this.  It might help.

  • Hi I just got my new Apple TV and I cant figure out how to connect it with My MacBook Air (11-inch, Late 2010- Processor  1.4 GHz Intel Core 2 Duo) OSX Version 10.8

    Hi
    Hi I just got my new Apple TV and I cant figure out how to connect it with My MacBook Air (11-inch, Late 2010- Processor  1.4 GHz Intel Core 2 Duo) OSX Version 10.8

    Are you referring to mirroring or you just unable to set up homesharing.
    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.

  • To connect oracle database with ms access database

    i want to connect oracle database with ms access database
    i have follow the following steps
    1. create ms access database.
    2. create system dsn.
    3. make change in listener.ora.
    4. make change in hs folder.
    5.change the tnsname.ora.
    6. lsnrctl stop and lsnrct start.
    7. create database link in oracle sql*plus.
    8.select the table of ms access
    but i have return the foloowing error.
    ORA-12154: TNS:could not resolve the connect identifier specified
    using window 2000, oracle 10g

    Have a look on ths thread, may it helps ...
    Re: copy access data into oracle with form builder 9i

Maybe you are looking for

  • 5D Mark II file conversion with CS3

    I just bought a 5D Mark II, but CS3 Bridge won't open my files. So I downloaded DNG converter 4.5, but when I tried to do the conversions I got a message saying "There was an error parsing the file". How can I use CS3 Bridge with my 5D Mark II files?

  • .mov exif data problem - Time is off by hours

    I have the same problem that SD_Christina posted 2010: "I import my photos and videos taken on my iPhone using "Image Capture", then I sort them using Adobe Bridge CS5. When I take a video (.mov file), the exif data shows the "Date Created" at 7 hour

  • FLA PROMOTIONAL SITE + FLEX

    Hi, I need to determine wheather this is possible or not use. I have an ASP.NET / SQL SERVER 2005 backend and and full flash front-end. The FLASH is an 'animation' with tours for buildings and user zones. It is possible to edit the FLASH and bind the

  • Transferring iTunes library from PC to Mac

    Hey guys, i bought me this new MacBook Pro and i am amazed! Before that i was using Windows 7 and synced my iPhone with all the music and movies, etc. i have. Now im trying to find a way to sync my iPhone to the new mac (i already got all the music a

  • Loading an Image to the Database

    Hello I have a requirement to load 1000's of images to a database. In the pass we have successfully loaded images from a screen using select blob_content, id into image, apex_id from apex_application_files where name = :P120_LOAD for update; I now tr