Create DB link without tns

Dear All
Could you pls tell me there is any way to create DB link without using tnsnames.ora ? Can I create like below
create database link PRODUCTDB
connect to scott
identified by tiger
using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.2.1.6)(Port=1908)))(CONNECT_DATA=(SERVICE_NAME=ORCL)))';
Note : I dont have to privilages to modify tnsnames.ora.
Thanking you

duplicate thread

Similar Messages

  • Creating a Link to a Folder on a Server with Sharepoint Foundation 2013

    Hi All,
    I am looking to create a link from a page on my Sharepoint site to a folder on one of the companies servers. I have had a lot of trouble with this.
    Is there a piece of code I can use to do this?
    Thanks in advance.

    Ahh. You are using SharePoint Foundation. Yes in that case you would not have that feature.
    That makes your requirements bit tricky given I verified creating this link without Publishing feature activated and it did not work and hence I tend to believe that it would not work in your case without that feature.
    What you can try is drop the page viewer web part and try configuring it to open your file share and see if that helps. I do not have Foundation otherwise I would have verified this before posting but give it a try and see if it helps.
    http://neelb.wordpress.com/2011/09/16/displaying-a-web-site-or-file-or-a-folder-in-the-page-viewer-web-part/
    Amit

  • Can I create multiple links to the same file without duplicating file?

    does anyone know if it is possible to create multiple links to the same file using iWeb without the program automatically making multiple copies of that file in the published output? It seems that one file is created for each link.
    Thanks!

    Hi Franz,
    have a look at the second method on this page
    http://alyeska.altervista.org/en/iWeb_Downloads.html
    see if you understand how it works (if you don't, please ask me)
    Regards,
    Cédric

  • How to create links without using widgets

    I am using a vertical menu via the widget, but want to create a submenu without using the widget. btw, the rollover feature is fun

    To create a sub menu without using the sub menus in the menu widget you can combine the menu widget and the tooltip widget to create your menu.
    There is plenty of examples and widgets that do what you are asking if I understand correctly at the Muse exchange and places like musegrid.com.

  • Creating a link to external website

    Hello all,
    Could anyone confirm if its possible to create a link to mobile me gallery without creating a photo page with the mobile me gallery link on it?
    EG: I have the pages: Home, About me, Photos. I would like to link the photos page so it goes directly to my mobile me gallery instead of open the photo page.
    Is this possible?
    Thanks,
    Rob

    Rob ~ Yes, it's possible...
    In your empty Photos page add an HTML Snippet with the following code:
    <script type="text/javascript">
    parent.window.location = "http://gallery.me.com/wintersgrass"; // change this to your own URL
    </script>
    ...Once published, clicking on "Photos" in the navbar will immediately redirect to your MobileMe Gallery page. (Thanks to Cyclosaurus for the code).

  • Creating a link to a Multibyte file with PDF 1.4

    I am trying to create a link to a file that contains multibyte characters (specifically Japanese) - unfortunately, I need to conform to the PDF 1.4 standard (I can make things work fine using PDF 1.7 and /UF).
    The 1.7 standard says that as of PDF 1.2, a file specification can contain multibyte character codes if you represent them in hexadecimal format. I cannot get this to work, and wonder if someone has any insight into why this might be.
    My multibyte file spec is UTF-8 encoded, and this is how I write it (in hex) to the document (without thr UTF-8 BOM). When I later click on that link, I get an error that the specified document does not exist - the part of the filespec that is English characters are displayed correctly, but the Japanese characters show up incorrectly.
    Does Acrobat expect these characters to be UTF-8 encoded, or otherwise? I've tried prepended the UTF-8 BOM, but that didn't make a difference. Do I need to UTF-16BE encode them (like with /UF)?
    Additional info: I've tried using Acrobat 5 to create a new PDF and inserted a link to a file whose name contains Japanese characters - when clicking on the link in this, I also get the 'file does not exist' error. Also, looking in the PDF, the filespec is NOT hex encoded, and the Japanese characters have been replaced by ???.

    Hmm... so, what does it mean when the 1.7 spec says 'In PDF 1.2 or higher, a file specification may contain multiple-byte character
    codes, represented in hexadecimal form between angle brackets (< and >).'? If Acrobat 5 supports PDF 1.4, I would have thought this would mean that Acrobat 5 would support multibyte character codes...
    I would guess that this puts the final nail in the coffin of creating links to filenames with non Roman characters from Acrobat 5.
    Just so I can report this upwards, I see that you are an Adobe employee - are you a support person?

  • Creating a link to a file on a Windows server?

    I am trying to create a link to a file located on a Windows server that I can email to users and they can click on the link and it will open the actual file.
    Here is what I have done so far:
    smb://server/sharedfolder/document.doc
    The user can click on the link but it just opnes up the "sharedfolder" and then you have to find the file you want and then open it and that works.
    I need the link to be able to just open the actual file.
    Is there a way to do this??
    Thanks

    Since it's a file download, there's no reason to add the target="_blank", I'm guessing your file is 404 for some reason which would give you a blank window per the target.
    Make sure the case structure of the file and link are identical. Servers are case sensitive, a server sees CheckIPApp.zip and checkIPApp.zip as totally different files. Your local OS sees them as the same thing so during local testing it will work, when uploaded, it won't.
    Make sure you've loaded the file onto the server at the exact location specified by the link. It should be in a folder called "Zip Files" that resides on the same directory level as the page that the link is on.
    You may also want to normalize your file names. They should be all lower case alpha-numerics without any spaces (use hyphens or underscores instead) and without special characters ($%&*). You can use DW's Files window to change names and DW will fix the links automatically.

  • Creating a Link on the Column Heading

    Good afternoon,
    I know with reports, you can create a link for each cell in the report attributes section. My question is it there's any way to create a link for the column header without hard coding it into the query that generating the results.
    Thanks in advance,
    Ivan

    Ivan,
    If you are using the classical reports, you have the option of creating column header using pl-sql block which will be dynamic. Thanks
    Regards,
    Manish

  • Contact Form: How do i create a link from an XML file to another domain to read a PHP File

    So i purchased a template from Template Monster and im having a little trouble with the contact form. The server that im uploading it to is a privite server that the company owns. It supports ASP and not PHP. I cant seem to get the ASP form to work so all i want to do it create a link to another one of there servers that supports PHP and have the contact form link to there and read the PHP file (that i will upload to that server) and send the email from there.
    This is the XML that i have to fill in in order to make it work
    Everything in Red is what i needed to fill out in order for the form to work.
    <?xml version="1.0" encoding="utf-8"?>
    <!--
            Please read this information to learn how to set up the contact form integrated
            into the template.
            This readme file explains in details the meaning of the settings that can be
            done in the fcContactFormConfiguration.xml configuration file.
            It is recommended for you to use an XML editor to make changes to this file
             because it’s less possible to make an error in the markup which can cause to
            a not working contact form.
      -->
    <contactFormConfiguration>
        <!--
                An e-mail address which will be used to receive messages from your contact form.
                You can specify several e-mail addresses separating them with a comma.
                For example: [email protected], [email protected], [email protected]
          -->
        <emailTo>[email protected]</emailTo>
        <!--
                A server script type which will process sending e-mails. It depends on your
                hosting and in the current version of the contact form it is allowed to use
                two types:  php (Apache, PHP Hosting); asp (IIS web server, ASP).
          -->
        <serverProcessorType>php</serverProcessorType>
        <!--
                A name of the script file which process sending e-mails on your server (without
                extension). The name contact is used by default.
          -->
        <serverProcessorFileName>contact</serverProcessorFileName>
        <!--
                Set whether to validate only required fields (true/false).  The default value is
                true which means the not required fields of your contact form will not be validated.
                For example if the e-mail field of your form is set as not required (imagine it)
                the form will be processed even if the user types in an incorrect e-mail address.
          -->
        <validateRequiredOnly>false</validateRequiredOnly>
        <!--
                Set whether to submit the form when the Enter key is pressed even if the focus is
                not on the Submit button (true/false).
          -->
        <submitFormOnEnter>false</submitFormOnEnter>
        <!--
                Text showing to the user when the form is submitted without any errors.
          -->
        <messageSentText>Thank you for your message.</messageSentText>
        <!--
                Text showing in case the form is not submitted because of a server error.
          -->
        <messageSentFailedText>Sorry, your message couldn't be sent</messageSentFailedText>
        <!--
                Text your visitor will see while waiting till the processing is over.
          -->
        <formProcessingText>processing...</formProcessingText>
        <!--
                Your SMTP server (for ASP only).
          -->
        <smtpServer>localhost</smtpServer>
        <!--
                Your SMTP port (for ASP only).
          -->
        <smtpPort>25</smtpPort>
        <!--
                Set whether to send the message as a plain text (true) or as HTML (false).
          -->
        <plainText>false</plainText>
        <!--
                ID of the input field (in the structure XML file) to use for the “from: ”
                or email to use instead (for example: [email protected]).
          -->
        <emailFromSource>2</emailFromSource>
        <!--
                Subject of the e-mails that will be sent through this contact form or ID of
                the input field (in the structure XML file) to use for the “subject: ” label
                in your e-mail client.
          -->
        <subjectSource>Contact Form from your site</subjectSource>
        <!--
                Validation error messages that are showing to the user when the form fails to
                validate. The form supports different types of validators. You can change the
                text of the error messages the validators produce here.
                You can use the {LABEL} keyword in these messages. It will replace it with the
                label value of the field where an error occurs.
          -->
        <validationErrorMessages>
            <!--
                    A required field is not filled in.
              -->
            <message type="fieldIsRequired">{LABEL} is required.</message>
            <!--   
                    The specified e-mail address is incorrect.
              -->
            <message type="emailNotValid">{LABEL} - is not valid email address.</message>
            <!--
                    The specified number of characters in a field is less than a required minimum.
              -->
            <message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less than a required minimum.</message>
            <!--
                    The specified string does not match with the regular expression.
              -->
            <message type="reqExpError">{LABEL} - The specified string does not match with the regular expression.</message>
            <!--
                    The specified number is greater than an acceptable biggest number for this field.
              -->
            <message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable biggest number for this field.</message>
            <!--
                    The specified number is lower than an acceptable lowest number for this field.
              -->
            <message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable lowest number for this field.</message>
            <!--
                    The data is not a number.
              -->
            <message type="notANumberError">{LABEL} - The data is not a number.</message>
            <!--
                    The specified number must not be negative.
              -->
            <message type="negativeError">{LABEL} - The specified number must not be negative.</message>
            <!--
                    The minimum number of variants is not selected
              -->
            <message type="minRequirementError">{LABEL} - The minimum number of variants is not selected</message>
            <!--
                    The number of variants selected exceeds the maximum
              -->
            <message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the maximum</message>
            <!--
                    The fields that should be equal do not match
              -->
            <message type="shouldBeEqualError">{LABEL} - values do not match</message>
            <!--
                     The date has wrong format.
              -->
            <message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
        </validationErrorMessages>
    </contactFormConfiguration>
    THIS IS THE ACTUAL CONTACT.PHP Form That i would like to link to.
    <?php
    //-----------------Getting data sent by flash---------------------
    foreach ($_POST as $key => $value){
            if ($key != 'mail_to' && $key != 'smtp_server' && $key != 'smtp_port' && $key != 'mail_from' && $key != 'mail_subject' && $key != 'plain_text'){
                $mail_body .= '<b>'.str_replace('_',' ',$key).'</b>:<br/>';
                $mail_body .= ''.stripslashes($value).'<br/>';
    $message = '<html><body>'.$mail_body.'</body></html>'; //  mail body
    //------------if plain text is set to true removing html tags------
    if ($_POST['plain_text']=='true') {
        $message = str_replace('<br/>',"\r\n", $message);
        $message = strip_tags($message);
    } else {
    //----otherwise composing message headers---------------------------
        $headers  = 'MIME-Version: 1.0' . "\r\n";
        $headers .= 'Content-type: text/html; charset=windows-1251' . "\r\n";
    //------------setting conf data-------------------------------------
    $to = $_POST['mail_to'];
    $from = $_POST['mail_from'];
    $subject = $_POST['mail_subject'];
    $smtp_server = $_POST['smtp_server'];
    $smtp_port = $_POST['smtp_port'];
    //---------setting header info--------------------------------------
    $headers .= 'From:' .$from;
    if (mail($to, $subject, $message, $headers)){ // sending mail
        print('&mail=1');  //succes
    } else {
        print('&mail=0');//failure
    ?>

    You can open both Muse files at once, copy the content of a page on one site, then paste it into a new page on the other site. You might have to redo some of the page styling.

  • Failed to create Database Link in OWB 9.2 for remote SQL Server

    Hi,
    I have to create Database link for connecting to SQL server in a different machine.I am using OWB 9.2 and XP.
    Dataserver is the machine name which is running SQL Server
    I included follwing lines in TNSNAMES.ORA file
    hsodbc.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
    (CONNECT_DATA = (SID=hsodbc.world)
    (HS =OK)
    I included follwing lines in Listener.ORA file
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
    (SID_DESC=
    (SID_NAME=hsodbc.world)
    (ORACLE_HOME=C:\ora92)
    (PROGRAM=hsodbc)
    I included follwing lines in inithsodbc.ORA file
    HS_FDS_CONNECT_INFO = testdsn
    HS_FDS_TRACE_LEVEL = 0
    While creating new database link I gave the follwing values
    DB Link Name : Mylink
    SQL * Net Connect String: hsodbc
    User Name: sa
    password:<my password>
    Then clicked "Create and Test" button to get the follwing error message
    Testing...
    Failed.
    ORA-12154 TNS:could not resolve service name
    *Cause: The service name specified is not defined correctly in the TNSNAMES.ORA file
    *Action: Make the following checks and correct the error:
    - Verify that a TNSNAMES.ORA file exists on your repository server
    in the proper place and is accessible. See the operating
    system specific manual for details on the required name and location.
    - Check to see that the service name exists in one of the
    TNSNAMES.ORA files and add it if necessary.
    - Make sure there are no syntax errors in the file.
    Particularly look for unmatched parentheses or stray characters.
    Any error in a TNSNAMES.ORA file makes it unusable. See
    Chapter 4 in the SQL*Net V2 Administrator's Guide. If possible,
    regenerate the configuration files using the Oracle Network Manager.
    Is there anything wrong in my configuration. Please help me in getting out of this problem.
    Thanks in advance
    Andy

    Hi Mark,
    Thanks Mark.I did the changes in the specified .ora file but now it shows a different error message.
    The error is
    Testing...
    Failed.
    Cwm Error Message: SQL Exception
    Cwm Error: SQL Exception
    Class Name: CacheMediator
    Method Name: getDDEntryFromDB
    Repository Error Message: ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from MYLINK
    Query: select 1 from dual@MyLink
    I got the same error when i tried manually in sql plus.
    Please help me in getting out of thid problem
    Thanks in advance
    Andy

  • How do you create a link to download a PDF file?

    I'd like to create links so that when clicked, a PDF file associated with the link will automatically be downloaded. I've created a folder where I've stored all of the PDF files, but where on my web host do I put the folder--is it part of the published iWeb folder or should it be kept separate? (I'm using a 3rd party web host, Lunarpages.com)
    Second, to create the links, I've written "Download Page" on for each link, highlighted the words, then enabled it as a hyperlink with the inspector. However, this changes "Download Page" to the name of the PDF file. How can I keep the words "Download Page" without changing it to the name of the file? Also, is this the correct way to have a PDF file automatically downloaded when "Download Page" is clicked?
      Mac OS X (10.4.7)  

    Hi there,
    While I do not use iWeb, I do use PDF files on my website.
    I first create a new folder to hold my PDF files and upload this to my website. When I create and upload PDF files I will upload to this folder. When someone wants to view this files, all they need to do is click on the link I created. After clicking on link, if the user is on a PC, Acrobat Reader is automatically used to view the file or if they are on a Mac, Preview is usually the default viewer (if the they are using Safari, it will simply open in Safari). Just having the extension on yourfile.pdf will cause this and you will not need to do anything else on your end.
    FOR EXAMPLE: Download Sample PDF - try it on different browsers and PC's
    As far as 'download page', it automatically starts as soon as you click on link. If you are talking about 'saving' the user will always have that option on their end...
    Rick
    iMac G5 iSight 20" - 30G iPOD in Slimming Black -   Mac OS X (10.4.7)   - HP Pav 15" WS and Toshiba Sat 17" WS LP's - Canon 20D & A620

  • How do I set up my Airport Extreme to create a LAN without being connected to the internet?

    I'm trying to set up a POS(point of sale) for my small restaurant. ADSL internet is not available at the site. I have set up my system(finally)while hooked up to my router at home, however my system will not work when disconnected from my router. How can I configure the Airport to operate my printers without an internet connection?

    First off- Thanks for taking the time to answer me.
    I have 2 Star Micronic Ethernet connection printers that I hope to operate using a POS software interface called Ambur.
    The program is pretty straight forward and while my Airport Extreme was WAN ethernet connected to my D-Link Router, I had the program and printers integrated and operating surprisingly easily.
    My issue is that I don't have internet available at the restaurant, so I need to create a network without an internet connection.
    I did the hard reset and the rest.
    Now I have the same configuration, but not connected through the router, trying to acheive the same result, but its not connecting.
    I've tried programming the software with every IP address, including the ones that worked while connected to the other router, to no avail.

  • My client needs to be able to create a link to a document on the server in Incontext editor

    My client needs to be able to create a link to a document on the server, but I dont want to allow FTP/File manager access as this gives him opportunity to delete pages and files.
    How can you give him safe access without giving access to the files?

    The only other way to upload the document to his site is to use Media Downloads, also known as Literature in some part of the system. Then, inside the InContext Editor you click on the link and and select page from my site, then link to the literature item created.
    That's all.
    Cheers,
    -mario

  • How to create a link to a document in the KM content

    I work in BI.  I have a document in the KM Content folder and I want to create a link to this document from another folder that I created in Portal Content.  Can someone tell me I can do this?
    Thanks.
    Ryan

    There seems to be some confusion between Portal and KM features here.
    The problem is that I have no idea of BI. But as I understand it correctly, BI stores some objects like Web Reports in KM folders.
    To your point 1.: ZSANDYTEST looks like a customer development. This is not a standard navigation node. Also you speak of "folder". The navigation nodes "Content Administration" and "Portal Content" have nothing to do with KM at all. The are comming from a portal role. So the question is, what is ZSANDYTEST below the Portal Conten navigation node? Is it an iView? What kind of iView is it?
    You say you want to have a "link" in this "folder" but without getting more details about what kind of object "ZSANDYTEST" is I can only guess, what you are having there.
    I suggest to first get a basic understanding on portal content and portal roles starting about here
    http://help.sap.com/saphelp_nw70/helpdata/en/6b/a7a62102194ad0879b19731905d2de/frameset.htm
    No if you now what a role is and what an iView is, we can talk about how to integrate something into an already existing role. You can create an iView of a fitting type to integrate any content into the portal.
    For example create an SAP transaction iView if you want to integrate an SAP transaction.
    Now KM is an application using the portal. Things stored in KM can be intergrated in different ways.
    If you want to integrate a word document stored in KM it is a good idea to create a KM document iView. If you want to intergrate a whole KM folder structure you need to use a KM navigation iView. In the standard portal roles there are already KM navigation iViews, so to integrate a new object like a word document you can simply create a new KM folder and upload the document there.
    So try to specify if you mean a KM folder or a portal navigation node or a PCD folder. Because whithout seeing the system while talking about this there will be confusion.
    2. When creating a link in KM you will get a popup with KM entry points in it for which you have permissions. There is also a small link called "more" if not all entry points are fitting into the window.
    Form the link to this SRA_LOGO_TEST you posted before this seems to be stored in a subfolder of the "Public Documents" entry point (folder) so navigate into the Public Documents entry point and into the subfolder containing the object you want to link to. Of course, if you do not have read permission to the folders or objects you want to link to, you will not see them.

  • Create a link to a specific spot in PDF document

    Is it possible to create a link from a Table of Contents item to a specific heading on a page within the same document. So far from what I've read and what I've tried I can only link to a specific page but not a specific section on that page. Is that possible? If so how to I do that? It's basically the same idea as HTML anchor links within the same HTML page. So if you have a links up top you can create named anchors for the destination spot later on down the page. I tried using the destinations in Acrobat also but it seems to also only point to the page, not the specific area on a page.
    If anyone knows if that's possible, could you either show me how to do it or point me to a tutorial online that shows how to do that. I've searched and searched but just cannot seem to find anything. Maybe I'm not using the right keywords to search.

    You can either link to an existing named destination or a view that you establish when you create the link. A named destination is a combination of a page and the view settings (e.g., fit width, fit visible, 200% zoom and scrolled 1/4 way down the page, etc.)
    When you add a new named destination, go to the page you want and set up the display of the page to what you want. Give the named destination a meaningful/descriptive name.
    When you create the link that you want to target a named destination, select an action of "Go to a page view" and set it to the current view. You then have to go and edit the action and select "Use Named Destination" and select from the list of named destinations in the document.
    You do not need to set up named destinations to link to a specific area of a page, but they are helpful when linking from other documents or systems, particularly if the document that's linked to changes with any frequency.
    To set up the same type of link without using named destinations, just add a new link and when you're presented with the "Create Link" dialog, select "Go to a page view" and navigate to the corresponding page, set the view you want, and click the "Set Link" button.

Maybe you are looking for

  • I am getting below error while taking RMAN backup.

    Friends, I am getting below error while taking RMAN backup. The issue is related with a lock while trying to backup the controlfile. The lock is more likely caused by the autobackup controlfile process started just before RMAN process was also trying

  • My camera is not working, just a black screen, won't take pics please help

    WWhy won't my camera take pics..just a black screen ?

  • Solaris 8 boot messages

    Hello I have a client who has an old sun blade system running Soalris 8. A few days ago he rebooted his system. Please notice the following boot messages regarding the volume manager genunix: [ID 936769 kern.info] dad0 is /pci@1f,0/ide@d/dad@0,0 Nov

  • Can't open Safari. Quits unexpectadly every time

    Since yesterday I cannot open Safari My report is : Process: Safari [145] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 3.2.1 (5525.27.1) Build Info: WebBrowser-55252701~3 Code Type: X86 (Native) Parent Pr

  • Bootable clones on iMac

    Hi Guys! I have two macs: 1 - 20-inch 2.4GHz Intel Core 2 Duo iMac - 3GB Ram 2 - 1.5GHz Mac mini G4 - 512MB Ram On the iMac I created a 20GB partition and installed Windows XP using Boot Camp. Everything went through perfect. I boot holding down ALT