How start the tnslistener / how edit connection string

hi master
sir i am useing jsp with oracle
my page give me right result in my system but when i test client system then system give me this error
Database Log In Failed
TNS could not resolve service name
Verify that the TNS name in the connectstring entry of the DAD for this URL is valid.
sir i post my problem in java.sun forum he reply me as under
================
on your machine where your db is installed, start the tnslistener of your database, make sure that your connection string is pointing to that machine
jdbc:oracle:thin:@<ip or hostname of machine where your db is installed>: 1521:aamir
===========
please give me idea how i run my page in client system
tahnk's
aamir

Strat TnsListener with
C:/>LSNRCTL START
Check the status of the listener with
C:/>LSNRCTL STATUS

Similar Messages

  • How get connection string of default database of CreateUserWizard control

    hi,
    i am creating website in which I add create user wizard control, I want to restrict user to use one email id only for one time,
    but after creating and testing,I get that it allow same email id more than one time, for that I search lot and get this on msdn library,  they show that to change config file
    <configuration>
    <connectionStrings>
    <add name="MySqlConnection" connectionString="Data
    Source=MySqlServer;Initial Catalog=aspnetdb;Integrated
    Security=SSPI;" />
    </connectionStrings>
    <system.web>
    <membership defaultProvider="SqlProvider" userIsOnlineTimeWindow="15">
    <providers>
    <clear />
    <add
    name="SqlProvider"
    type="System.Web.Security.SqlMembershipProvider"
    connectionStringName="MySqlConnection"
    applicationName="MyApplication"
    enablePasswordRetrieval="false"
    enablePasswordReset="true"
    requiresQuestionAndAnswer="true"
    requiresUniqueEmail="true"
    passwordFormat="Hashed" />
    </providers>
    </membership>
    </system.web>
    </configuration>
    but,I didn't figure out any database in vs2010 that store data of create user wizard, mean i don't know how to access it in from vs2010
    site is working fine, it add new user , allow me login, but where the database???
    I want connection string of it's
    mandar26

    Hello Mandar26,
    The question should be asked on http://forums.asp.net/ Please reopen a new case there for help.
    Regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What are the username, password and connect string for Designer 6.1.1?

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    Oracle designer6.1.1
    - Date/Time
    - Browser + Version
    IE 6.0
    - O/S + Version
    Win 98
    - Error Msg
    ORA-12154:TNS:could not resolve service name.
    RME-00220:Fail to connect to repository
    These error messages were shown after I entered system, manager and internal, respectively.

    Hi YungJen Chen,
    There is no general username, password and connect string for
    Designer 6i Release 4.1.1.
    First, you install the client tools using the Installer. See also the
    Designer Installation Guide, Chapter 1, 'Client Side installation'.
    Second, you install the repository into an existing database, using
    the Designer Installation Guide, Chapter 2, 'Server-side installation,
    migration and upgrade'.
    The Installation Guide provides step by step instructions on what
    users you need to create for various purposes. Any database users
    you may need to use such as System or Sys will use the password
    given when you installed the database, or whatever passowrd you
    changed it to since.
    The Installation Guide is available as part of the download, or from
    your Windows Start Menu once the Designer client tools are installed
    or from the Designer Documentation page here on OTN.
    Hope this helps. Regards,
    Dominic Battiston
    Designer/JDeveloper Product Management

  • What are the username, password, and connect string for Designer6i R4.1.1

    As the title, I tried system, manager and internal.
    But it did not work out.
    Thank you for your help.

    Hi YungJen Chen,
    There is no general username, password and connect string for
    Designer 6i Release 4.1.1.
    First, you install the client tools using the Installer. See also the
    Designer Installation Guide, Chapter 1, 'Client Side installation'.
    Second, you install the repository into an existing database, using
    the Designer Installation Guide, Chapter 2, 'Server-side installation,
    migration and upgrade'.
    The Installation Guide provides step by step instructions on what
    users you need to create for various purposes. Any database users
    you may need to use such as System or Sys will use the password
    given when you installed the database, or whatever passowrd you
    changed it to since.
    The Installation Guide is available as part of the download, or from
    your Windows Start Menu once the Designer client tools are installed
    or from the Designer Documentation page here on OTN.
    Hope this helps. Regards,
    Dominic Battiston
    Designer/JDeveloper Product Management

  • Could not start the TNSListener service on Local Computer

    I installed Oracle 10g rel 2 under Windows 2000. The computer is DHCP, so I installed the MS loop adapter, and am able to successfully the new IP address.
    SQL*Plus returns this error:
    ORA-12541: TNS:no listener
    When I try to start the listener via control panel > services, I get this Microsoft Management Console error:
    Could not start the OracleOraDb10g_home1TNSListener service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator.
    My full computer name (via control panel) is dimension4100.ora.newmiddleclass.com and it is a member of workgroup WORKGROUP.
    C:\WINNT\system32\drivers\etc\hosts contains (I added the 2nd line):
    127.0.0.1 localhost
    192.168.255.255 dimension4100.ora.newmiddleclass.com dimension4100
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora.newmiddleclass.com)(PORT = 1521))
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora.newmiddleclass.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.ora.newmiddleclass.com)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    My SID is HCM.
    Can someone please suggest a solution? Thanks.

    That helped somewhat... now I am able to start the listener. However, SQP*Plus now says:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    My tnsnames.ora now looks like this:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    HCM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dimension4100.ora.newmiddleclass.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HCM.dimension4100.ora.newmiddleclass.com)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I'm using dimension4100 for the SQL*Plus Host String in the login window.

  • How to connect to Oracle?

    Hello Everyone,
    I am new to Oracle - but I have done some work with SQL Server.
    So I started an application in C# and I want to open a connection to the Oracle Database ( I downloaded the Express Edition of 10g)
    However when I go to the top of my file and I want to say
    using System.Data.OracleClient only System.Data.SQLClient comes on by default.
    Do I need to import any additional references to my project in order to be able to see the namespace?
    I am using VS 2005 Academis Edditon.
    Thanks in Advance.
    Susan

    Hi There,
    I wrote an app for a customer in .NET 2005( VC#) and using microsoft's data provider for oracle. I have oracleXE 10g on my laptop to test my app. there's no problem when testing on my laptop. but after I installed the app to the customer's client pc, I couldn't reach the server on another main pc. the server is oracle 8 installed on IRIX(unix based) OS and the client is the same version on the client PC.
    my connection string in the program is like "data source=the IP of the server PC;user id=***;password=*** "
    I think I miss something small.
    I'll be very pleased if you help me urgently.
    thanks

  • How to connect labviewv database toolkit to SQL CE server

    Dear sir,
                      i am using labview 8.2.1 and Database Connectivity 8.2.i need same simple  concept of how to connect  LV database toolkit to SQL CE Server.

    When opening the database connection, you will need to provide either a connection string, or a path to a UDL (which will contain a conenction string). The easiest way to get a connection string is to go to (no I am not kidding) www.ConnectionStrings.com. Once there you enter the type of DBMS you are trying to connect to, and the system will list connection strings that you can use based on the drivers that you're using.
    How much experience do you have with LV and/or databases?
    Mike...
    PS: you might also want to check out a series I did a bit ago on database connectivity in my blog. See the link in my signature...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to connect Oracle 11g in CF9 using tnsnames

    Hi, I'm using CF9 running on Solaris and I just had Oracle 11g installed using tnsnames. Can someone explain to me how to add the Oracle string in CF admin? I have confirmed that I can connect to the database but I don't think I have the correct syntax for connection string. I think it should be similar to the following: jdbc:datadirect:oracle:TNSNAMES_FILE=/d01/oracle/product/v.11.2.0.3_client/network/admin/ tnsnames.ora:@dbserver.com:1549:SIDname;driver=oracle.jdbc.Oracle
    Does anyone have an idea?
    Thanks in advance

    I have Oracle client installed on the web server with Oracle database installed on separate server. When I add DSN and SID, I get the following error:
    Connection verification failed for data source: dsn_test
    java.sql.SQLNonTransientConnectionException:[Macromedia][Oracle JDBC Driver][Oracle]ORA-12505 Connection refused, the specified SID (SID_NAME) was not recognized by the Oracle server.
    The root cause was that:java.sql.SQLNonTransientConnectionException:[Macromedia][Oracle JDBC Driver][Oracle]ORA-12505 Connection refused, the specified SID (SID_NAME) was not recognized by the Oracle server.
    Any ideas?

  • Not able to start the Connection Digital Networking Replication Agent Service

    Hi All,
         I am getting the following alert through RTMT, when i tried to start the service in Unity Connection Serviceability, it doesn't start.   Unity Connection 8.5.1.  It is still in the stopped status, Although service is not important, however it is pushing a lot of rtmt alert.   Could you please help me how to start this Connection Digital Networking Replication Agent Service. 
    Service operational status is DOWN. Connection Digital Networking Replication Agent.
    Thanks
    Barry

    Thanks for Nadeem and Aokanlawon, for the quick reply.
    1.  You are right  i got only one cluster i understand its not working,  However howcome this service was started in pub UC and was working. I will disable anyway now as i got only one cluster. It all started when I started to fix the following alerts which was pushed by sub Unity Connections(Branchsite)
    Failed to retrieve DbSpace usage information when running the "Monitor the Unity Connection databases" SysAgent task.
    This alert started coming after there was a network connection drop between HQ cucm and the branch sub UC, after the drop, all ports disconnected between these two servers, services deactivated in Sub UC, after the network connection back again, ports connected back and the most of the services activated.  However the following services were not in the running state in Sub UC.   I found these information from the sysagent trace log.  I thought to fix this error  is to start the Connection Database Proxy in Sub UC.  However this has stopped the following service 'Connection' Database Proxy' and 'Connection Digital Network Replication Agent' in Pub UC.  I managed to start Connection Database Proxy in Pub UC, however Connection Digital Network Replication agent is now in deactivated status.
    Critical Services
    connection exchange notification web service
    connection mailbox sync
    connection message transfer agent
    connection notifier
    Optional services
    Connection Database Proxy
    Connection Digital Networking Replication Agent
    Connection Speechview processor
    2. How do I stop the alert from sub UC
    Failed to retrieve DbSpace usage information when running the "Monitor the Unity Connection databases" SysAgent task.
    Thanks

  • Server name problem-jdbc connection string

    hi..
    my server name is SERKANPROX\LOCALHOST .. i couldn't connect to this server with this server name . how can i write the server name in connection string?. this is the part my code:
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://serkanprox//localhost:1 433;DatabaseName=NorthWind","serkan","serkan");
    the exception is : [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    i can connect to the server which name is "serkan" . but when there is a '\' character ,i couldn't..
    how can i can change the connection string for connecting to this server ..
    thanksss

    hi..
    my server name is SERKANPROX\LOCALHOST No it isn't. Get the right server name. This problem has nothing to do with your username and password and such.

  • Need PL/SQL Code to get Oracle connection string

    Hi
    Could you please give any solution to below requirement?
    Requirement :
    I have an existing pl/sql program (Registered as concurrent Program) in which i am calling a "C" Program. The "C" program expects a parameter to pass the value of oracle connection string (userid/pwd@instance). The C Program takes the connection string to connect to oracle and manipulate data.
    Question. How will I get Oracle userid,pwd and connection string being in PL/SQL Session so that it will run for every instance i move the code in.
    Note :
    1.) We have limitations to call another concurrent program to fetch these data.
    2.) We cannot hard code the value in the program because of compliance issue.
    Any example of code will help.
    Thanks in Advance.
    Cheers
    Samar

    Hi,
    Check the below link, It might help you.
    http://download.oracle.com/docs/cd/B13789_01/appdev.101/b10802/d_obtool.htm
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adgsec04.htm
    Twinkle

  • RAC connection without connect string

    Hi All,
    We used to connect to single instance database using the following (without using connect string),
    conn scott/[email protected]:1521/orcl
    How to do the same or Is it possible , if it is a RAC database ?
    Regards,
    Anand.

    We used to connect to single instance database using the following (without using connect string),
    conn scott/[email protected]:1521/orclWhat do you consider to be a "connect string"?
    How to do the same or Is it possible , if it is a RAC database ?conn scott/[email protected]:1521/orcl

  • Driver name and connect String ??

    hi guys..
    i have developed some JDBC applications connecting to Oracle servers.
    Now, i want to develop a JDBC application that connects to DB2 server;
    how do i know the driver name and connect String im supposed to pass to
    class.forName(driver_name);
    and to
    DriverManager.getConnection(connect_string);
    i use db2java.zip that ships with DB2..
    Appreaciating ur cooperation..
    Mourad

    Look at your DB2 docs. You'll have to download their JDBC driver, of course.
    You should know the drill - you've done this with Oracle. - MOD

  • Not able to start the TNS Listener in OracleXE 10g Database

    Hi All,
    I have Installed OracleXE 10g database sucessfully, but when i'm trying to open the homepage it is not displaying anything.
    Because i have checked in the services the TNSListener has not been started. When i am trying to start the TNSListener it is giving the below description.
    Note: The OracleTNSListener service on LocalComputer started and then stopped.
    Some services stop automatically if they are not in use by other services or programs.
    Please can anybody can help me to resolve the issue.
    Regards,
    Chakri

    I had a similar problem after an IT technician installed an instance of Oracle Client on my laptop that was originally configured to run an Oracle instance (server). The issue was resolved after I edited the ORACLE_HOME environment variable so it was pointed to its original location rather than the one of the new client installation . Verify that the ORACLE_HOME environment variable is pointing to your XE server home.

  • Connect string for scott/tiger

    i've personal oracle 8i with only scott/tiger schema on my pc. i installed forms 6i. when i try to connect to my scott/tiger schema it gives me tns listener error. i'm using scott/tiger as username/password. i tried keeping Host string null and 'ORCL' but no luck....
    any help is appreciated
    thank you very much
    ---himanshu

    Himanshu,
    When u have the default database and Oracle Forms on the same machine, from SQL prompt it will connect to the database without any connect string. But when u connect from Forms u NEED to have a TNS entry. Open explorer --> Oracle Home directory --> Network --> Admin and u will find the Tnsnames.ora Open this file and create a new TNS entry ( u will find examples ) Give ur machine IP address/or user name and SID ( which will be ORCL by default ) save this file. Then connect from Forms it will connect. Good luck
    orcl.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = your machine IP)
    (Port = 1521)
    (CONNECT_DATA = (SID = ORCL)
    now orcl is ur TNS name

Maybe you are looking for

  • Is there a way to open Front Row without the remote?

    I wonder, is there some keyboard shortcut that will open front row? I ask because a while ago I was about to force-quit an application(cmdoptesc), and then I cancelled(esc) that and toggled to another application's window(cmd+tab), etc., all of this

  • Work flow overview in PR

    Hi Iam facing a problem in customized work flow. Work item is found in T-code SWIA and in SBWP(business work place). But When i go to Purchase requisition screen(ME53N) and click Work flow overview,I receive  a message "There are no work flows that h

  • TS3694 How do I restore my iPhone from recovery mode when I get an error 3194 message

    I am trying, unsuccessfully, to restore my iPhone 4 from recovery mode. When I attempt to restore through iTunes I get a message telling me the process cannot be completed because of an error 3194. There is no documentation or information on what thi

  • Array Comparison ( Flash 8 )

    Hello, I am trying to write a function that will "highlight" days in a month--for a calendar I'm making. The dates I have come in from PHP/MySQL look like this: YYYY-MM-DD. I split up the date by "year", "month" and "day" then put them into an array

  • Plant calendar in infopackage period selection

    Hi , i have a requirement texts for which i am pasting ! "In some of the infopackages on Production system , period selections are calculated dynamically via ABAP program. Check all info packs for the use of a plant calendar and rewrite the program w