HOW TO establish connection to database in netpoint in sample aspx page

Hi ,
Can anyone to help me to establish database connection using netpoint dll ,pls guide me.

Hi Kannan,
you will find the connection string that the Netpoint API needs in the NPSynchConfig.XML file which is in whatever folder you installed the Netpoint Synch Tool, just copy the value of the NPConnString.
Most of the time you need to make a "connection" to the database via the API, you just set the NPConnection.GblConnectionString static member to this value, any function that requires a connection will take the global NPConnection object as a parameter
Is that what you are looking for, or is there a specific requirement?

Similar Messages

  • How do we connect two databases in Oracle other than Database Link?

    Good Morning,
    How do we connect two databases in Oracle other than Database Link?
    I am using Oracle 10g, I heard that we can connect two database in Oracle through ODBC. Is it possible? How?
    Thanks
    Nihar

    See if this helps.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358

  • How Middle Tier connect to Database Tier?

    Desktop tier never directly interact with Database tier. It is the Application tier which is also called Middle tier that connect to Database tier to fullfill the end user request.
    My question is how Application tier interact with Database tier under the hood?
    I know Middle tier consist of Forms Server, Report Server, Concurrent Server, Web Server, Administration Server.
    Let's say I want to know how Concurrent Server connects to Database tier? which file or connection does it use?
    Similery how does Forms Server, Reports Server, Web Server interact?
    Any overall/broad picture of this whole structure?
    Thanks,

    Refer to [Oracle Applications R12 Concepts|http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120oacg.pdf] and [Oracle Applications 11i Concepts |http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf] manuals, it is explained properly there.

  • How to establish a MYSQL Database connection in JSP page.

    Hi People,
    Tell me how to establish mysql database connection in JSP page.
    Needed details on:
    1) what are all the mysql drivers need to be included.
    2) what is the syntax for establish a database connection

    hi,
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.htmlsee down for mysql config with tomcat

  • How to establish connection with the outgoing email server?

    Cannot set up Lightroom 5 email capability with Google Mail. Have confirmed proper smpt address, email and password and error message still comes up:
    "eFailed to establish connection with the outgoing email server. Please make sure you have entered the email account and password correctly."
    How can I clear this up. Help, Adobe!

    Have you checked your Gmail in-box? See if this helps:
    https://forums.adobe.com/thread/1642613

  • How sap application connect oracle database

    The gurus,
    I just to known how sap application connect to oracle database. Where or what the configuration files at SAP level and oracle level.
    Thank you
    Edited by: Muzaidi Marjuki on Apr 28, 2011 8:58 AM

    existing database to other database that also running on oracle ( right now we testing for recovery server) in case the existing server going down or have a problem that cannot been restore
    Its similar to DR setup, then why don't you install application at time of initial installation of DR?
    *Explain in  detial with a clear query
    Regards,
    Nick Loy

  • How to establish connection when call is made to another cell phone

    hi all
    I want to know what code we use to establish connection when we call someone. which API we can use .
    please tell me because i m searching but not getting n i m in beginning position to work on j2me. please send me some hint
    teenu
    Message was edited by:
    teenu_java

    Hi,
    Actually I am confused abt wht you want.
    If you want to establish connection at the instant of calling :-
    The Voice call has the higher priority than Data call so u cant establish a connection at the instant when you are calling
    If you want method to establish a connection for call then
    you can try with platformRequest(url) of midp2
    Regards
    @rjun

  • [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.

  • How to store images in database and retrieve them back to page?

    Well I don't know how to store an image file to a database (say MSSQL) from the JSP and retrieve it back whenever needed and put it on the JSP page? Please help me.

    I am not sure how to store images in database but what you can do is store the image into particular folder using FileOutputStream and its unique name into the database...and than retrieve it from the folder using that name retrieved from database...
    <%
    response.setContentType("text/html");
    response.setHeader("Cache-control","no-cache");
    String err = "";
    String lastFileName = "";
    String contentType = request.getContentType();
    String boundary = "";
    final int BOUNDARY_WORD_SIZE = "boundary=".length();
    System.out.println("contentType --> "+contentType);
    System.out.println("BOUNDARY_WORD_SIZE --> "+BOUNDARY_WORD_SIZE);
    if(contentType == null || !contentType.startsWith("multipart/form-data"))
    err = "Ilegal ENCTYPE : must be multipart/form-data\n";
    err += "ENCTYPE set = " + contentType;
    else
    boundary = contentType.substring(contentType.indexOf("boundary=") + BOUNDARY_WORD_SIZE);
    System.out.println("boundary --> "+boundary);
    boundary = "--" + boundary;
    try
    ServletInputStream sis = request.getInputStream();
    byte[] b = new byte[1024];
    int x=0;
    int state=0;
    String name=null,fileName=null,contentType2=null;
    java.io.FileOutputStream buffer = null;
    while((x=sis.readLine(b,0,1024))>-1)
         System.out.println("************ x ********** "+x);
         String s = new String(b,0,x);
                   System.out.println("************ s ********** \n"+s);
         if(s.startsWith(boundary))
         state = 0;
         System.out.println("name="+name);
         System.out.println("filename="+fileName);
         name = null;
         contentType2 = null;
         fileName = null;
         else if(s.startsWith("Content-Disposition") && state==0)
              System.out.println("-- 1 --");
              state = 1;
              System.out.println("s.indexOf(filename=) --> "+s.indexOf("filename="));
              if(s.indexOf("filename=") == -1)
                   name = s.substring(s.indexOf("name=") + "name=".length(),s.length()-2);
                   System.out.println("after name substring 1 "+name);
              else
                   name = s.substring(s.indexOf("name=") + "name=".length(),s.lastIndexOf(";"));
                   System.out.println("after name substring 2 "+name);
                   fileName = s.substring(s.indexOf("filename=") + "filename=".length(),s.length()-2);
                   System.out.println("fileName --> "+fileName);
                   //String fileName1 = s.substring(s.indexOf("filename=") + "filename=".length(),s.length());
                   //System.out.println("fileName1 -->"+fileName1);
                   if(fileName.equals("\"\""))
                   fileName = null;
                   else
                        String userAgent = request.getHeader("User-Agent");
                        System.out.println("userAgent --> "+userAgent);
                        String userSeparator="/"; // default
                        if (userAgent.indexOf("Windows")!=-1)
                        System.out.println("test --> "+"\\");
                        userSeparator="\\";
                        if (userAgent.indexOf("Linux")!=-1)
                        userSeparator="/";
                        System.out.println("userSeparator "+userSeparator);
                        System.out.println("fileName before inserting userSeparators "+fileName);
                        fileName = fileName.substring(fileName.lastIndexOf(userSeparator)+1,fileName.length()-1);
                        System.out.println("fileName after userSeparators "+fileName);
                        if(fileName.startsWith( "\""))
                        fileName = fileName.substring( 1);
              name = name.substring(1,name.length()-1);
              System.out.println("name 2 --> "+name);
              System.out.println("final file name "+fileName);
              if (name.equals("file"))
                   if (buffer!=null)
                   buffer.close();
                   lastFileName = fileName;
                   buffer = new java.io.FileOutputStream("/Documents and Settings/sunil/Desktop/images/"+fileName);
         else if(s.startsWith("Content-Type") && state==1)
                             System.out.println("-- 2 --");
              state = 2;
              contentType2 = s.substring(s.indexOf(":")+2,s.length()-2);
              System.out.println("contentType2 --> "+contentType2);
         else if(s.equals("\r\n") && state != 3)
                   System.out.println("-- 3 --");
              state = 3;
         else
              System.out.println("-- 4 --");     
              if (name.equals("file"))
              System.out.println("Final x :: "+x);     
              buffer.write(b,0,x);
    }     // while closing
    sis.close();
    buffer.close();
    }catch(java.io.IOException e)
    err = e.toString();
    boolean ok = err.equals("");
    if(!ok)
    out.println(err);
    else
    %>
              <SCRIPT language="javascript">
              history.back(1);
              alert('Uploaded <%=lastFileName%>');
              window.location.reload(false);
              </SCRIPT>
    <%
         out.println("done");
    %>
    </BODY>
    </HTML>
    I think it will solve ur problem..

  • Establish connection with database to send/receive data through Xcelsius

    Hi
    Iu2019m working on a Xcelsius project that requires to establish 2 way communication with the SQL server.
    2 way communication requirement: When user selects an option (country) from the accordion component, it needs to send that to database as a query and retrieves that particular country data onto Xcelsius and refresh the chart data accordingly.
    Iu2019m thinking of using ASPX to communicate between Xcelsius and the SQL server, but not sure how to proceed.
    Appreciate if anyone can provide instructions or pointers to where I can get started with it
    Thanks,
    Malik

    Malik,
    I had worked on a similar requirement, where Sql server should be integrated with Xcelsius and should retrieve real time data.
    Here is what we did...
    -->Configured web service on SQL server side (you will find plenty of doc related to this on google)
    -->Configured Web Service connection in Xcelsius (by passing the WSDL url generated from the SQL server)
    -->Developed dashboard in Xcelsius which retrieves data from SQL server realtime i.e. when user passes Variable value through a component (Combo box or anything), then this value in inturn passed to webservice, and then this web service will retrieve the data to Xcelsius.
    Hope this helps...
    -Anil

  • How to establish connection with oracle........

    Hi,
    I'm using ODBC driver and
    I've given
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection cn=DriverManager.getConnection("jdbc:odbc:mydatabase","scott","tiger");
    where mydatabase is the datasource name,scott is the user name,tiger is the password.
    while running I got the error as:
    java.sql.SQLException:[Oracle][ODBC][Ora]ORA-12560:TNS:protocol adaptor error.
    I don't know how to solve this one.
    Should I give the "ServiceName" while creating my datasource name............?????
    Can anyone help me...........
    Thanks in Advance.
    Subha.

    There are a couple of things that you might need to take into account while using the ODBC. Firstly, you need to set up an ODBC connection to the database. Secondly, you need to have the tnsnames.ora to point to the database the connection info.

  • How Other PCs connect to Database

    Hi,
    I'm very new on Database. What I would like to do is install Database version 9i to a machine using Window XP Professional and let other PCs connect to this machine. How do I need to do? Please anyone kindly recommend how to do this.
    Many thanks,
    Santi B.

    In the final configuration, you want one machine to be the 'server' and one to be the 'client'.
    Server specification:
    - network connectivity (these days, simple TCP/IP is pretty much good enough)
    - a well known network name (well known implies it doesn't change often)
    - a well known or easily resolvable network address (IP address in DNS or a hosts file)
    - the server softwre installed and listening on the network.
    Client specification:
    - network connectivity
    - a way to 'find' the server (etc/hosts or DNS)
    - client software
    Network connectivity - simple TCP/IP should do the trick. But you want to have constant and simple-to-use computer names instead of IP addresses to make the communication easier.
    Analogy: You have a bunch of friends. You want to go to Fred's house. You look in your address book to translate "Fred's house" to "123 Anywhere Street".
    When your client wants to connect to 'PC1' it looks up the IP address for PC1 in the /etc/hosts file (in Windows, look at C:\windows\system32\drivers\etc\hosts. file) OR in a bigger organization, it uses a central DNS database to do this 'host name resolution'.
    Server:
    To install Oracle, a static or fixed address is 'required'. Most people with WIndows end up installing the Loopback Adapter to get a local IP address (127.0.0.1) However, that address is local to the machine. You need to add or use an address that is visible to the other machine as well. That is well documented on the 'net and is outside the scope of this forum.
    Once the server's address is known, the information is made available to the client. The client should be able to 'ping' the server (on command line, enter 'ping servername').
    The database server uses the database 'listener' to monitor the network. The listener must be
    - up (Control Panel > Admin Tools > Services -or- command line 'lsnrctl start') ;
    - listening on the network for the server, on a certain port (lsnrctl status)
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver)(PORT=1521)))where myserver is the server's name as found the the hosts file, 1521 is the port. This is controlled by the %ORACLE_HOME%\network\admin\listener.ora file. (A common problem is the mismatch of the host name in that file and the PC's host name.)
    And the listener must be aware of the database once the database is started. Agains, from lsnrctl status
    Service "TEST" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...which tells me that clients asking for access to service 'TEST' or to service 'xe' will be directed to the 'XE' database instance.
    Client:
    The client can be any machine on the network, including the server, as long as it has the appropriate client software installed.
    Requirements:
    - TCP/IP with a hosts file that resolves to (has an entry for) the server (or resolves using DNS)
    - Oracle client install
    - the %ORACLE_HOME%\network\admin\tnsnames.ora file that translates the 'database alias' to a {host + port + service} set. See Two Oracle base in the same server for a typical tnsnames.ora file.
    When installed properly, the client should be able to (form the command line)
    ping server <- server found in /etc/hosts and in host part of tnsnames.ora
    tnsping database-alias <- database-alias found in tnsnames.ora on left of a DESCRIPTON
    sqlplus system/password@database-alias
    note that "sqlplus / as sysdba" needs additional config, but routine remote admin with sysdba is not a 'best practice'.
    Hope that helps

  • How to establish connection between two different IP Range

    Hi All,
    Currently in my office  there are two different ip range that we are using one for the Wi-FI(192.168.1.X) & 2nd  for local machine & servers 192.168.2.x series ip.
    In current situation if any Wi-Fi user(Laptop User) wants to communicate with local machine or server then he has to switch from Wi-Fi to Lan.
    So is there any way to provide communication between Wi-Fi & local network.
    if this happen then there will be no need to switch from Wi-Fi to Lan, Wi-Fi user who has ip range 192.168.1.x is easily communicate with local machine & server(192.168.2.x).  
    Shailendra Vishwakarma

    Thanx for the reply..
    In my office i am using Microsoft Thread management Gateway(Software Firewall).
    Can i set Security like as below,
    Users can connect Wi-fi Network but they would not able to access  internet but  they should be able to access for local network & for the internet they should go via Microsoft Thread management Gateway.
    Thanks,
    Shailendra Vishwakarma

  • How to establish connection between mac(Ichat) and PC

    I'm the happy owner of a brand new Isight camera.
    I want to establish contact to my father in Poland.
    He owns a PC.
    Wich kind of account and messenger should he use in order for me to be able to speak with him via Ichat?
    Yours in advance
    K Kidon

    Hi,
    Also look at http://discussions.apple.com/thread.jspa?threadID=406147
    11:42 PM Thursday; April 13, 2006

  • I am not able to connect to database in sql developer.how to do?

    I downloaded sqldeveloper 1.5.4.59.40. iam not able to establish connection to database. Can anyone tell me ?

    Have you created a database (or have one you connect to)?
    Have you created the Net Service connections for SQL Developer to use?
    Does SQL Developer have access to this Net Serviice name?
    Have you created the connections from SQL Developer?
    Can you post an error message?
    See
    <br>
    Oracle Database FAQs
    </br>

Maybe you are looking for

  • Creative Zen Firmware overd

    Its been almost 8 months since the latest firmware upgrade. Is there plans on a new upgrade before the end of the year :smileyindifferent:

  • [svn:bz-trunk] 13716: since include-read-only is a server global setting, we can't have two channels with different value.

    Revision: 13716 Revision: 13716 Author:   [email protected] Date:     2010-01-22 09:26:12 -0800 (Fri, 22 Jan 2010) Log Message: since include-read-only is a server global setting, we can't have two channels with different value.  remove the test for

  • Skype on Windows 8.1 lock screen

    When I first upgraded my Skype to 7.6, it asked me whether I would like to put Skype as an app on my lockscreen but all slots were filled at the time so I declined it, thinking I could go back later to make room for it.  Now that I have, Windows does

  • Help with NM-CE-BP configuration

    Hi, I'd like to do some caching of web pages using the NM-CE-BP for clients that are local to the module. I'm have problems getting the module to "talk" with a C3750 switch using WCCP v2. Can someone provide me with some simple configs fo the Switch

  • Corrupted Photos

    Recently my iPhone photo's became corrupted. Earlier today  my iPhone seemed to be working fine.  I took photos for work, then when I got to my office and tried to download them, the automatic downloader (not iTunes) said I didn't have any photos on