Create database link not working..

sir,
i have created a database link using the following statement.
create database link orcl.vishnu.com;
but when i tried to insert the data it i get
ora-02019 connect description for remote database not found..
on both the database i have the same logins with the same passwords.. i have even created a serice name called orcl.vishnu.com. and it works well when connect manually.
when i use the following statement it works..
create database link link1 connect to vishnu identified by password using 'orcl.vishnu.com';
and also the insert statement works.
when i use the below statement then it fails again...
create database link link1 connect to current_user using orcl.vishnu.com...
it fails again.. saying that the userid and password is wrond...

hi,
You have must first read through the documentation and understand things, then you will understand the difference and you will not get the Issues.
http://www.psoug.org/reference/db_link.html
http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_5005.htm
Wish you Happy New Year 2010...!!
- Pavan Kumar N
Oracle 9i/10g - OCP
http://oracleinternals.blogspot.com/

Similar Messages

  • Database link not working on client

    All,
    Platform : Linux
    I have created a db link called "TEST_TO_MART " on 11.2.0.1 database which is pointing to another 11.2.0.1 database . Both are resides on same server. I'm getting following error when I'm trying to test.
    SQL> sho user
    USER is "TEST_APP"
    SQL> select * from dual@TEST_TO_MART;
    select * from dual@TEST_TO_MART
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-02063: preceding line from TEST_TO_MART
    Process ID: 3466
    Session ID: 360 Serial number: 16949Target database is up and able to connect without any issues.
    Can you guys suggest me what is the problem?
    Thanks.

    Sorry.  My error and situation seemed so close to this unsolved issue from a year ago, that I didn't copy and paste the details initially.  Here goes:
    oracle@linux99 ~]$ sqlplus
    SQL*Plus: Release 11.2.0.3.0 Production on Mon Aug 12 22:56:33 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Enter user-name: test_dblink_20130812
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> DROP DATABASE LINK "TEST_NOW.MDBT.XXX.COM";
    Database link dropped.
    SQL> CREATE DATABASE LINK "TEST_NOW.MDBT.XXX.COM"
    CONNECT TO APP_UHYDRAST_RW
    IDENTIFIED BY XXXXXXXX
    USING 'mdbt';  2    3    4
    Database link created.
    SQL> select * from dual@TEST_NOW.MDBT.XXX.COM;
    select * from dual@TEST_NOW.MDBT.XXX.COM
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-02063: preceding line from TEST_NOW.MDBT.XXX.COM
    Process ID: 6638
    Session ID: 544 Serial number: 1753
    In listener.ora, we have this (some other DB's are in lower case):
    (SID_DESC =
          (SID_NAME = MDBT)
          (ORACLE_HOME = /ora5/app/oracle/product/11.2.0)
          (GLOBAL_DBNAME = MDBT)
    and, in tnsnames.ora we have this:
    LISTENER_MDBT =
      (ADDRESS = (PROTOCOL = TCP)(HOST = linux99.XXX.com)(PORT = 1522))
    MDBT =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = linux99)(PORT = 1522))
        (CONNECT_DATA =
          (SERVICE_NAME = mdbt.XXX.com)
          (SERVICE_NAME = mdbt)
          (SID = MDBT)

  • DATABASE LINK NOT WORKING OR FETCHING QUERYIES

    Hello,
    Oracle Version : 9.2.0.1
    O/S : Win XP SP2
    Sir
    I have to dbs (orcl and reccat) I want to create a database link from reccat to orcl. I have performed following steps and getting error in fetching query through database link.
    SQL> Create database link foo connect to current_user using 'ORCL';
    Database link created.
    SQL> select * from scott.emp@foo;
    select * from scott.emp@foo
    *+
    ERROR at line 1:
    ORA-28030: Server encountered problems accessing LDAP directory service
    My Tnsnames.ora is as :
    TNSNAMES.ORA
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = standby)
    RECCAT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = reccat)
    RECCAT_LAPTOP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SID = reccat)
    (SERVER = DEDICATED)
    Listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = g:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = g:\oracle\ora92)
    (SID_NAME = orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = standby)
    (ORACLE_HOME = g:\oracle\ora92)
    (SID_NAME = standby)
    (SID_DESC =
    (GLOBAL_DBNAME = reccat)
    (ORACLE_HOME = f:\rec_cat)
    (SID_NAME = reccat)
    STANDBY =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    Pl. guide me where is the problem and how to rectify it.
    Regards
    Neeraj

    Which portion of the documentation is that quote from ?
    See this "+CURRENT_USER database links connect as a global user. A local user can connect as a global user in the context of a stored procedure--without storing the global user's password in a link definition.+ " at the 9.2 documentation that was provided to you earlier in this thread
    http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96521/users.htm#17355
    and "+CURRENT_USER database links connect as a global user. A local user can connect as a global user in the context of a stored procedure, that is, without storing the global user password in a link definition+." in the 10.2 documentation
    http://68.142.116.70/docs/cd/B19306_01/network.102/b14266/admnauth.htm#i1006269
    and the CURRENT_USER clause and the "Defining a CURRENT_USER Database Link" Example of the CREATE DATABASE LINK documentation in 10.2
    http://68.142.116.70/docs/cd/B19306_01/server.102/b14200/statements_5005.htm#i2061505
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Database link not working properly

    I have to link to another database...I have created an entry in my TNS names on the oracle server and have used the following script to create the link:
    CREATE PUBLIC DATABASE LINK DATA
    CONNECT TO USERNAME IDENTIFIED BY PASSWORD
    USING 'DATA';
    Data is the name of the database sid, and I am able to connect to the server using the username/password@sid in sqlplus. Oracle tells me that the link is created successfully, however if I try to describe user_tables@data I get the following error:
    SQL> desc user_tables@data;
    ERROR:
    ORA-02085: database link DATA connects to DATA.WORLD
    Please help!
    Jes

    You will see this error when the global name of the remote database does not match what you have in your link. Although the link name might match the SID, the fully qualified link name does not.
    You can either:
    1) Set the GLOBAL_NAMES parameter to FALSE in the database in which you have created the database link.
    2) Recreate the link so that the full link matches the global name of the remote db (query GLOBAL_NAME in the remote db if you don't know it)
    Good luck!

  • Database link not working

    Hi,
    I created a database link and i added a tns entry also. But when i try to connect to a database using db link it throws me an error
    ORA-02019: connection description for remote database not found.
    Oralce 10g version on Windows 2003 NT.
    Thanks and Regards
    Jafar

    please check the username which is using Db link.. is it same which you have db links created.
    --Girish                                                                                                                                                                                                                   

  • OWB can not create database link

    Hello!
    We use OWB 10.1. We are unable to create database link in the owb as a source for metadata information. The database user we use to connect to the owb have got the right to create database links and the same user can create database links outside the owb. we get the error message
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    the database user is not the owner of the repository. if we use the repository owner to create the database link it works.
    it is also impossible to use a database link, that is created outside the owb, if we use an user that is not the repository owner.
    the error message is:
    java.sql.SQLException: ORA-02019: connection description for remote database not found
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:158) ....
    with the owner everything works fine.
    Regards Alex

    hi,
    If public dblink is a problem then u can create the table with PUBLIC SYNONYM and create a synonym of the table in ur DB so that u can access the table in ur DB and still make I/U/D in the table in the other DB. We just have to grant previlege for the synonym created for DML statements.
    Regards
    Bharath

  • Special characters in password for "create database link"

    It seems that one cannot create a DB link if the password has a special character in it (like '!')?
    create database link MYLINK connect to SOURCE identified by mypwd! using 'MYDB'
    - returns "ORA-00933: Command not properly ended"
    create database link MYLINK connect to SOURCE identified by values 'mypwd!' using 'MYDB'
    - returns "ORA-00988: missing or invalid password(s). This is the syntax that works in "create user".
    Nikolai

    1* create database link MYLINK connect to SOURCE identified by "mypwd!" using 'MYDB'
    SQL> /
    Database link created.
    SQL>
    Joel Pérez

  • Use of non-migratable database link not allowed ERROR

    Hello,
    We have a notification process (on disabled user) in OIM that needs to connect to a schema in another instance to check some information before the notification is sent out.
    We have OIM in an instance A and the other schema lives in the instance B. We created a database link from A to B, some synonyms, and grant the right permissions for OIM to select the tables in the schema on instance B.
    We can login to OIM using SQL Developer and execute the query without any problems.
    However, when the query is executed in the Disable User process task, we got the error:
    java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed
    We tried to create a view in OIM that is similar to the one that lives in the schema in instance B. However, the same error exists.
    How can we work around this error?
    Thanks

    with all the info you have put here all I can say is : (with some help from google ;-) )
    ORA-24777: use of non-migratable database link not allowed
    Cause: The transaction, which needs to be migratable between sessions, tried to access a remote database from a non-multi threaded server process.
    Action: Perform the work in the local database or open a connection to the remote database from the client. If multi threaded server option is installed, connect to the Oracle instance through the dispatcher.

  • Use of non-migratable database link not allowed - weblogic

    Can somebody help me with this error?
    The application use an entity bean for a view that use a dblink for accesing a table from another oracle database.
    Thank you.
    javax.ejb.EJBException: EJB Exception: ; nested exception is:
         Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed
    Error Code: 24777
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:120)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:102)
         at $Proxy190.queryVCommentMonitoring(Unknown Source)
         at ro.uct.capone.viewcontroller.Utils.getStatus(Utils.java:36)
         at ro.uct.capone.viewcontroller.forms.WatchListForm.validate(WatchListForm.java:114)
         at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed

    I've gotten past this by creating the dblink as SHARED.
    The SQL is
    CREATE SHARED DATABASE LINK "yourlink"
    CONNECT TO "dbuser" IDENTIFIED BY "dbuserpassword"
    AUTHENTICATED BY "dbuser" IDENTIFIED BY "dbuserpassword"
    USING 'databasename';
    note the quote character use.
    You can also use SQL Developer to adjust this.
    This does depend on shared database connections between your db's.

  • Unable to access table even after creating Database link

    Hi
    I have created a data base link.It was created properly.
    The Syantax that I have used is follows:
    create database link X_link connect to User1 identified by User1 using 'Other_Database'
    And on running the query:
    select count(*) from table1@X_link
    I am getting the error as follows:
    TNS could not resolve the connect identifier specified... TNS: could not resolve the connect identifier specified.
    Please tell me where is the problem?
    Thanks in Advance

    Your database link does not work because the entry you used does not exist in the tnsnames.ora in the database $ORACLE_HOME.
    Login to the database server, set the environment, and try to tnsping the entry you used for the database link, then fix the tnsnames.ora file (probably in $ORACLE_HOME/network/admin)
    You can test a database link using :-
    select sysdate from dual@link;

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

  • DB Link not working

    Hi,
    I am trying to do a Read-Only Snapshot replication.I set the global_names initialization parameter to false on both master and snapshot sites.I also renamed the global_name to <db_name>.world.Then,i created database link from snapshot site to master site and tested from the snapshotsite to see if i can query on tables in the master site. It did not work.
    I can successfully create snapshot replication on the same snapshot site to another master site with the same settings.Please suggest.
    Thanks,
    DV

    I am still working on this problem and i found that my replication server has few invalid packages like DBMS_DEFER_SYS,DBMS_REPCAT_UTL,etc.I tried compiling these invalid objects but they compile with errors.Can someone help asap?
    Thanks,

  • Can't create database link when password has special character

    I'm trying to execute the following statement within sqlplus
    create database link alpha connect to scott identified by tiger! using 'db_alpha'
    note that the password for the account has an exclamation point in it. the command fails. I've tried placing the password in quotes (') and double-quotes ("). The double-quotes work, but then the link fails to function properly.
    We are required to have a special character in our passwords... so how do I get that special character into the password for the database link?
    Thanks in advance,
    Darren

    for some weird reason, I can't post the reply I want. every time I try, the forum hangs and doesn't save the message. give me a sec...
    I have put the password within double quotes... so I'm starting to think the problem is something else. I've been reading other posts regarding creating database links and I've obtained limited results. Here's what I've done, and the results I'm getting.
    (names changed to protect the innocent)
    My oracle database is on SYSA. I'm on SYSB. I set my TWO_TASK=SYSA and just use sqlplus to connect as user1.
    I want to run a command on user2's tables. Normally I would just grant read access to user1 on user2's tables and use a command like
    nert spaces to get this to save (weird forum bug here, I can't delete the text to the left)
    SQL> sel{color:black}{color}ect * fr{color:black}{color}om u{color:black}{color}s{color:black}{color}e{color:black}{color}r{color:black}{color}2{color:black}{color}.{color:black}{color}m{color:black}{color}y{color:black}{color}_{color:black}{color}t{color:black}{color}a{color:black}{color}b{color:black}{color}l{color:black}{color}e{color:black}{color};
    However, user2 is for test data and those tables get dropped and recreated often and it is cumbersome to try to remind everyone to recreate the grants. So I can't trust that user1 will have access to user2's tables. So my goal with the database link is to create a private (for user1 only) database link and access the tables that way, that way I bypass the grant issue. This works out better for me because we only change that password every 2 months. I just recreate the database link once every two months, rather than recreate grants multiple times every week. Well, that's the theory anyway.
    Back to creating the database link, I thought my issue was the special character in the password because if I remove the exclamation point everyting works (except that the password is invalid). Below is what it looks like when I do this...
    Attempt #1:
    SQL> create database link BLAH connect to user2 identified by "tiger" using 'BLAH';
    Database link created
    SQL> sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_{color:black}{color}table{color:black}{color}@{color:black}{color}BLAH;
    sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_{color:black}{color}ta{color:black}{color}ble{color:black}{color}@{color:black}{color}BLAH
    ERROR at line 1:
    ORA-01017: invalid username/password; logon denied
    ORA-02063: preceding line from BLAH
    So that looks like it's just a password issue. If I put in the correct password... the error changes to this...
    Attempt #2:
    SQL> create database link BLAH connect to user2 identified by "tiger!" using 'BLAH';
    Database link created
    SQL> sel{color:black}{color}ect {color:black}{color}* fr{color:black}{color}om my{color:black}{color}_{color:black}{color}table{color:black}{color}@BLAH;
    sel{color:black}{color}ect * fr{color:black}{color}om my{color:black}{color}_ta{color:black}{color}ble{color:black}{color}@BLAH
    ERROR at line 1:
    ORA-02085: database link BLAH.AAA.BB.CCC.DDD connects to
    DEVDB.AAA.BB.CCC.DDD
    To me, that doesn't make sense. If the link isn't working... how did it get the "invalid username/password" in Attempt #1?
    Anyway, in perusing other forum posts, one post said to put in the full text from the tnsnames.ora file instead of the alias. So I do a little cut/paste and try this...
    Attempt #3:
    SQL> create database link BLAH connect to user2 identified by "tiger!" using
    2 '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server001.aaa.bb.ccc.ddd)(PORT = 9999)))
    3 (CONNECT_DATA = (SERVICE_NAME = devdb)))';
    Database link created.
    SQL> sel{color:black}{color}ect {color:black}{color}* fro{color:black}{color}m my{color:black}{color}_{color:black}{color}tab{color:black}{color}le{color:black}{color}@BLAH;
    sel{color:black}{color}ect {color:black}{color}* fr{color:black}{color}om {color:black}{color}my_{color:black}{color}tab{color:black}{color}le@B{color:black}{color}LAH
    ERROR at line 1:
    ORA-02085: database link BLAH.AAA.BB.CCC.DDD connects to
    DEVDB.AAA.BB.CCC.DDD
    Any ideas on what I'm doing wrong?
    Darren

  • Difference between create database link and create shared Database link

    Hi Guys,
    can any one suggest me where to use "create database link" statement and where to use "Create shared database link". I have only idea that using shared database link the process can reuse connections already established to the remote server.
    In my envrionment I am used to connect with db link but sometimes its not working so try with shared link and its working fine. In local as well as remote database we are using DEDICATED only not the shared server.
    so, what the cause behind this?
    Any suggestion?
    Thanks...

    Please refer to documentation:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_concepts.htm#sthref3878
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Add new document link not working in upgraded sharepoint 2013?

    Hello there,
    Upgraded SharePoint team sites from 2010 to 2013. add new document link not working for shared document in upgraded sharepoint 2013?. it is specially not working on machine where Office web apps set up with this sharePoint server and it
    is working fine with environment  Office web apps not configured with Sharepoint.
    Looking resoluion /suggestion, thanks in advance.
    Regards,
    Sushil

    Hi  Sushil,
    According to your description, my understanding is that the add new document link was not working on machine where Office web apps set up with this SharePoint server after you upgraded SharePoint team sites
    from 2010 to 2013.
    For your issue, it can be caused by integrating Office Web Apps with upgraded SharePoint Site.
    Firstly please make sure claims-based authentication is used by the SharePoint web application that is used to create the new document. Only web applications that use claims-based authentication can open
    files in Office Web Apps. To determine the authentication provider for a web application, follow these steps:
    1.In SharePoint 2013 Central Administration, click Manage web applications.
    2.Select the web application that you want to check, and click Authentication Providers on the ribbon.
    The authentication provider must be displayed as Claims Based Authentication for Office Web Apps to work correctly with the web application. To resolve this issue, you can delete the web application and recreate
    it using claims-based authentication, or you can change the authentication method of the web application.
    Secondly, make sure the WOPI zones match on the SharePoint 2013 and the Office Web Apps Server farm.
    To do this, run the following command on the SharePoint Server:
    Get-SPWopiZone
    The result will be one of the following:.
    internal-https
    internal-http
    external-https
    external-http
    Next, run the following command on the SharePoint Server.
    Get-SPWOPIBinding
    In the output, look for WopiZone: zone. If the results from Get-SPWopiZone don’t match the zone that is returned by Get-SPWOPIBinding, run the Set-SPWOPIZone -Zone cmdlet on the SharePoint Server to change
    the WOPI zone to match the result from Get-SPWOPIBinding.
    If not work, you can try to disconnect SharePoint 2013 from Office Web Apps Server and re-configure Office Web Apps for SharePoint 2013.
    For more information, please refer to the article:
    http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for