ORA-00980: synonym translation is no longer valid

I have a two databases. CARRIER_DEV and TRANSPORT_DEV. Everything works fine in Oracle 11 g, but when we migrated to Oracle12c, INFO_FUNC (service Oracle) residing in CARRIER_DEV under carrier scheme is called TRANSPORT_DEV, throwing the ORA-01775: synonym of closure chain. which caused ~ 9 invalid objects.

SELECT INFO_FUNC('1','NAME') FROM DUAL; This has been called TRANSPORT_DEV.

The DB of TRANSPORT_DEV to CARRIER_DEV link has been created to help

CREATE THE DATABASE LINK RCAR PUBLIC
CONNECT TO CARRIER_USR
IDENTIFIED BY < PWD >
With the HELP of ' Carrier_dev. WORLD ';

We have created the synonym and gave the CARRIER_DEV necessary.

CREATE THE INFO_FUNC FOR CARRIER.INFO_FUNC PUBLIC SYNONYM;
GRANT EXECUTE ON CARRIER.INFO_FUNC TO CARRIER_USR;

Transport_dev database,

I created the following synonym to access the CARRIER.INFO_FUNC

CREATE THE INFO_FUNC PUBLIC SYNONYM FOR "PUBLIC".INFO_FUNC@RCAR;

After analysis of the issue, I found that the public synonym in Transport_dev uses 'PUBLIC' as a schema instead of CARRIER name. (It works fine in Oracle 11 g. Explain what is 'PUBLIC' means here).

So I decided to use the name of schema instead of 'PUBLIC '.

CREATE THE INFO_FUNC FOR CARRIER.INFO_FUNC@RCAR PUBLIC SYNONYM;

After this change, all invalid objects went into Oracle 12 c, but a new problem came.

SELECT INFO_FUNC('1','NAME') FROM DUAL;  This SQL sataement now gives ORA-00980: synonym translation is no longer valid

SELECT INFO_FUNC@RCAR('1','NAME') FROM DUAL; also gives the same error.


CARRIER_DEV the database


CREATE TABLE CARRIER. CARRIER_NAME
(
NAME_SEQ_NO NUMBER OF NON-NULL,
LNAME VARCHAR2 (50 BYTE),
FNAME VARCHAR2 (20 BYTE),
MNAME VARCHAR2 (20 BYTE),
VARCHAR2 (10 BYTE) SUFFIX
);

CREATE OR REPLACE FUNCTION CARRIER. "" INFO_FUNC "(pin_in VARCHAR2, field_in VARCHAR2: = 'TEST')
RETURN VARCHAR2
IS
tmpVar VARCHAR2 (100);

BEGIN

SELECT lname | ',' | fname | » '|| mname | » '|| suffix
IN tmpVar
OF Carrier_Name
WHERE name_seq_no = pin_in;

END INFO_FUNC;
/

CREATE THE INFO_FUNC FOR CARRIER.INFO_FUNC PUBLIC SYNONYM;
GRANT EXECUTE ON CARRIER.INFO_FUNC TO CARRIER_USR;

In TRANSPORT_DEV

CREATE THE INFO_FUNC FOR CARRIER.INFO_FUNC@RCAR PUBLIC SYNONYM;

Please guide me.

I've recreated the DBLink from TRANSPORT_DEV to CARRIER_DEV. The problem disappeared. Thank you for your help

  1. Re-create the synonym.
  2. Recreate the DBLink

Tags: Database

Similar Questions

  • ORA-00980 invalid synonym

    Oracle 11.2.0.4.0

    Talk to a mysql on heterogenuous services database called db and synonym error invalid link.  but only in a procedure

    Database1: select * from t1@mysql_link--cela works

    Database1: create synonym user1.vw1 for t1@mysql_link

    Database1:

    base2: schema user2 has a db_link private linking as User1 to database1

    base2: conn user2

    base2: select * from vw1@database1--cela works

    base2: but put that select statement in a procedure and it fails

    User2@Database2 > select *.

    2 of user1.vw1@database1

    col1

    ------------------------

    27432

    Elapsed time: 00:00:05.84

    User2@Database2: > declare

    2 v_cnt number;

    3. start

    4 Select

    5 in v_cnt

    user1.vw1@database1 6

    7 dbms_output.put_line (v_cnt);

    8 end;

    9.

    Select *.

    *

    ERROR on line 4:

    ORA-06550: line 4, column 11:

    PL/SQL: ORA-00980: synonym translation is no longer valid

    ORA-06550: line 4, column 11:

    PL/SQL: SQL statement ignored

    You get the same error message when you use a different Oracle database instead of the MySQL database and a basic link of database gateway. The root cause of the error message is a documented restriction: ORA-00980 when PL/SQL block uses the synonym of synonym to Table through Dblinks (Doc ID 453754.1) that happens because PL/SQL cannot load database Central (databas1) follow the link of data during the compilation phase.

    -Klaus

  • ORA-0980 SYNONYM IS NO LONGER VALID

    Hi all

    11.2.0.1

    How to list all the "SYNONYM is LONGER VALID' in our database?

    Thank you very much

    zxy

    Please find some time to read the documents/manual or just google it.

    Select object_name, status from dba_objects where type_objet = 'SYNONYM' and status = 'INVALID ';

  • IMPOSSIBLE TO UPDATE ALL APS, CONTINUES TO RECEIVE YOUR COMPENSATION ACCOUNT PAL IS NO LONGER VALID, GO TO THE ITUNES STORE ETC., WHICH I DID SEVERAL TIMES GRRRRRRRRRR 50MINUTES W APPLE ADVISOR - IT HAS JUST FACT, BUT LOSE THE SETTINGS ETC. ??

    IMPOSSIBLE TO UPDATE ALL APS, CONTINUES TO RECEIVE YOUR PAY PAL ACCOUNT IS NO LONGER VALID, GO TO THE ITUNES STORE ETC, WHAT I'VE DONE SO MANY TIMES

    50MINUTES W APPLE ADVISOR - SHE HASN'T DONE, BUT LOSE SOME SETTINGS ETC. ??

    PayPal requires that a credit card account is valid.

    Payment methods, you can use in the iTunes Store, App Store and iBooks Store - Apple Support

  • How can I allow songs that were purchased with the old apple ID that are no longer valid

    I have a lot of music on iTunes, which was bought with old apple ID that are no longer valid. The music was allowed to play on my current computer until I recently updated the software. I am now struggling to re - authorize this music on my machine as the old apple id/email is no longer valid. All solutions?

    Use the iTunes menu' to go to the store > authorize this computer.

    Enter the old Apple ID and password.

    Repeat for each Apple ID that you want to allow on this computer.

    Allows up to five computers by Apple ID.

    You say that the old Apple ID are no longer valid.  If set to true, you no longer have everything that was purchased using these identifiers.

  • My e-mail given security id is no longer valid. How can I change

    My e-mail given to safety is no longer valid. How to change that?

    If you are referring to other e-mail addresses editing of your Apple ID then you can do so at https://appleid.apple.com

  • Account ID is no longer valid

    Summary of the issue
    Other issues of Windows Live family safety

    What version of Windows Live Family Safety do you use?
    Other
    Choose your operating system version:
    Windows 7

    Additional details
    I have installed parental control, and my email address is * address email is removed from the privacy *.  This email address is no longer valid, and it does not have the password I thought I had used.  I tried several times to add/modify my new e-mail address * address email is removed from the privacy *.  But my computer does not allow for any changes unless I connect using the * address email is removed from the privacy *.  How can I remove the * address email is removed from the privacy * email account and get my computer to recognize the new Windows Live id?

    Hi Julie,.

    Given that you can access your previous account because it is no longer valid, information for Windows Live Family Safety also will be missing. What remains on your computer is only the connection of your previous configuration information.

    Uninstall your Windows Live Family Safety will delete the information on your computer, and put it back, yet once will allow you to add a new account to Windows Live Family Safety parent.

    Thank you
    B. Litton

  • My Windows live ID is no longer valid

    When I try to access to * address email is removed from the privacy *. It leads me to say an error message sound is no longer valid, please follow these steps. I followed and then them it gives me an error message telling me that there is an error in updating my account.

    Help, please.
    Also, this account is linked to my Gamertag and I can't get it back.

    Hi Saul,

    Since you are faced with the question with the Windows Live ID, you can publish your application in the Windows Live forum to get help:

    Windows Live Support

    http://windowslivehelp.com/searchresults.aspx?query=Windows%20Live%20ID%20is%20No%20longer%20valid&ProductID=10

  • How can I change my password for my email account? The account has been hacked and my previous password is no longer valid.

    This account has been hacked and my previous password is no longer valid.

    View all Windows Live and Hotmail questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • Path is no longer valid, but search find real files.

    I have several thousand mp3 registered only user account (we tell new user).  The "New user" account has been deleted, and so all the files 'New user' had saved were lost.  When logged in as an administrator on the computer, the search will find all mp3, with the path of c: new user/music/music folder.  However, when I click on the file, it says that the network path is no longer valid...  OBVIOUSLY!  So I know that the files exist, I just need help, restoration as giving them a path name valid.  PLEASE HELP SOMEONE!  Thank you!
    It is on Vista.

    C:\New user/music/music maybe isn't a valid folder - it may be a virtual folder or the junction point and thus the files that you see can not really be there.  The REAL files may have been deleted.  We'll cover that later.

    Even if you are logged on as administrator, it could still be a permissions problem (I realize that is in contradiction with what you know without doubt about administrator rights, but I've seen it happen).  Sometimes when you install a program, even if an administrator, you must right click on the executable file, and then click Run as administrator so that it can work (not related to this issue, but try to make the point that being logged as administrator sometimes is not enough).  Some files are not accessible even as an admministrator without additional modifications (especially with Vista).  Not only you must reset the permissions but also recommend resetting the property (I know all say you that you already own, but the user has been deleted so that no one really has the files- but back to your new user name of the account just to be sure).  And make sure that all the user is not set on deny access (which replaces all other permissions) - although I doubt that this is the case or you would not be able to access through either search (which may be the problem because this seems to be the case as well).

    Where to find the files (full path)?  They should have been if they had moved in the folder of the profile so it is unclear why this happened or what permissions they carry are now (they could carry the permissions of file system blocking same adminisrators).  I would try to move them if the system allows you to do this (or after you have changed the permissions/ownership if it isn't).  Find one of them then go to the parent folder (or the top folder, if there are several layers) and right click to get properties and click Security to check things and change them if necessary.  Here is some good information on permissions and ownership that can help you solve the problem.

    To view your permissions, right-click on the file/folder, click Properties, and check the Security tab.  Check the permissions you have by clicking on your user name (or group of users).  Here are the types of permissions, you may have: http://windows.microsoft.com/en-US/windows-vista/What-are-permissions.  You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).)  Here's how to change the permissions of folder under Vista: http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/.  To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article: http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/.

    To resolve this problem with folders, appropriating the files or the drive (as an administrator) and give you all the rights and the property (you as a standard user or you as an administrator - since you have trouble, I use the administrator account AND add the standard account of right and give ownership of the administrator).  Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab.  Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK.  Back and now there is a new owner for files and folders/player who can change the required permissions.  You can change now switched to read-only (even if the main folder indicates that they are always read-only - you can access yourself as the owner).  You can keep them in read-only to other users, customers and administrators even (although they can support themselves and access, if they wish, and it is really not that you can do to stop it except protect the file with a password by using a 3rd party product.)  Here is more information on the ownership of a file or a folder: http://www.vistax64.com/tutorials/67717-take-ownership-file.html.  To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article: http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.

    ---------------------------------------------------------------------------------------------------------------------------------------------

    We can treat the lost files (even if you can see what you can see and try to restore those that have been deleted - although it's been a while and whenever you use your hard drive, you decrease the chances that it will work) and try to get back them.

    If you have Vista Business, Vista Ultimate or Vista Enterprise, you can be lucky.  They have so-called saves shadow copies, which are deleted or modified files that can be recovered in case changes/deletions made by mistake.  http://www.Microsoft.com/Windows/Windows-Vista/features/shadow-copy.aspx more information about how to use this feature to: http://blogs.techrepublic.com.com/howdoi/?p=145.

    If you have Vista Basic or Premium of Vista, shadow copies is not available; However, there is an alternative that is free and the shadow copies feature called Shadow Explorer. http://www.howtogeek.com/howto/windows-vista/recover-files-with-shadow-copies-on-any-version-of-windows-vista/.  Although it will not help you this time, it could very well save you in case this happens again.

    In case this does not work (not all files are available through shadow - it occurs periodically), here are some additional free recovery programs that might help (try Recuva):

    http://www.r-TT.com/

    http://www.SnapFiles.com/get/DiskDigger.html

    http://www.SnapFiles.com/get/easusdfr.html

    http://www.SnapFiles.com/get/restoration.html

    http://www.SoftPerfect.com/products/FileRecovery/

    http://www.SnapFiles.com/get/undeleteplus.html

    The files are not really deleted until they are crushed (although they are no longer available through conventional methods).  If you decide to try these recovery programs, you should stop using your drive hard immediately in order not to replace the data that you are trying to recover.  He slave on another PC and launch the recovery of this PC.  Even now you have definitely lost some of them if you use the same PC.  If you can not do this (slave on another PC), you run the risk of overwriting the data with every action you do on the PC (but you may still be able to recover some or most or even all files - it's a matter of luck).

    Only you can decide if the data is important enough to take the PC to an expert data recovery to recover files (they will have better programs and hardware to do that none of us do, and I've provided above).  Do NOT go to the Geek Squad or one of these centers of store-, they generally don't know what they are doing - it take for expert data recovery.  It will cost you a little and they generally offer no guarantees.  The decision is yours.

    Good luck and I hope this helps!

    Lorien - MCSA/MCSE/network + / A +.

  • Windows live ID is no longer valid, are unable to my mails

    When I logged in * address email is removed from the privacy * Monday I learned that my ID was no longer valid and that I had to create a new ID, I did - * address email is removed from the privacy *.

    The new works of fine ID and my Windows Live settings have been preserved with a problem. My 100 email and contacts in * address email is removed from the privacy * are no longer available. I still need access to it. How can I view these new ID or access them somehow?

    Concerning
    Kevan

    If you are unable to access the old ID, you will not be able to recover the data.

  • Problem of password of account, without that we can connect to the network on this computer. The error indicates, "the trust relationship between this device and the network is no longer valid.

    Hi, I hope you can help with this problem. A friend has 6 computers networked to a Tower Server and have a problem. A worker student put computers into hibernation, and since then, nobody can connect to the network on this computer. The error indicates, "the trust relationship between this device and the network is no longer valid. I tried to get into the pc to try removing network and replace it, but I can't get on the Administrators account because it has been disabled. I'm at a loss on how to proceed. My friend cannot afford a service call, so I'll try to help him.  Thank you

    If the computer is on a domain then there are at least two accounts that can be used to remove the computer from the domain:

    • A domain administrator account.
    • A local administrator account.

    When your friend has launched Windows for the first time after buying the machine, he was prompted to enter the name of an account. This account is created automatically with administrator privileges. He should use it now.

  • Unable to play media files during transfer to another machine mistake your use rights media have been corrupted or are no longer valid.

    I recently changed my laptop and transfer on multimedia files for the new laptop.

    The files are in WMA format, and when I try to read, I got an error message as below:

    "Your media usage rights were corrupted or are no longer valid. This can happen if you have replaced hardware components in your computer. »

    What should I do?

    Thank you!

    Hey Joe,

    Refer to these links that are marked as answer suggestions:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/your-media-useage-rights-have-become-corrupted/4c11d733-d0da-41cd-8b88-ffc161da28fb

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/your-media-usage-rights-have-become-corrupted-or/98a35b6b-515E-4dcf-a088-cb131087b214

    You can also follow the additional troubleshooting steps:

    1. Right-click on the Start -> Control Panel.
    2. Select appearance and personalization.
    3. Click on Folder Options.
    4. Select the view tab.
    5. In the Advanced settings area:
      • Click Show hidden files, folders and disk radio button
      • Uncheck the Hide protected files (recommended) operating system.
      • Press Yes when you get the Microsoft Warning prompt window.
    6. Click apply, then OK.
    7. Go to C:\ProgramData\Microsoft\Windows\.
    8. Find the DRM folder, rename the folder "DRM_old".

    Please let us know if the problem still persists.

  • Laptop computer replaced warranty, OEM key is no longer valid

    So after that my Macbook Pro (which of course doesn't come with windows) has been replaced under warranty the OEM version of windows 7 that I had installed on it has been lost and now that I have reinstalled windows on the new computer laptop to replace my OEM version is no longer valid, is anyway around this without just buying a new copy?

    It seems very unfair to my gear down and lose my copy of window too, it isn't as I have a "new" computer just a replacement one.

    problem solved, quick chat for customer support and they he reactivated remotely

  • The streaming videos on Windows Media Player error "your media usage rights were corrupted or are no longer valid. This can happen if you have replaced hardware components in your computer.

    I'm trying to videos from 3 completely different sites.

    The last post I got Windows Media player was

    "Your media usage rights were corrupted or are no longer valid. This can happen if you have replaced hardware components in your computer. »

    I replaced WITHOUT hardware on my computer, and last week, I could listen no problem at all!

    How to get corrupted my media usage rights and how to remedy the situation?

    I'm not a complete dummy, but sometimes I feel like one. :(

    Hello

    This problem can occur if the media rights (DRM) a folder is corrupted. We need to reset Windows Media DRM in delete/rename all the files in the Windows Media DRM folder. Note that the Windows Media DRM folder is a hidden system folder.

    Check out the links and follow the suggestions that are marked as an answer:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-Winapps/getting-error-messageyour-media-usage-rights-have/54bfacbb-C104-4c22-800F-f293d18d94c2

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/constantly-getting-this-message-your-media-usage/840c560d-04aa-4ae2-aed0-59022cfdef04

    Please let us know if the problem still persists.

Maybe you are looking for