exp utility

Posted on 2006-05-24
Last Modified: 2008-02-01
At MSDOS command window I issued these command:

set oracle_sid=mxt
exp scott/tiger file c:\oracle\emp\tas.dmp

I am getting these errors

EXP-00056: ORACLE error 12560 encountered
ORA-12560: TNS:protocol adapter error
EXP-00000: Export terminated unsuccessfully

Any help would be appreciated to resolve this problem
Thanks in advance
Question by:Smruti1
    LVL 3

    Expert Comment

    after you set your sid can you sqlplus "/ as sysdba" ?

    Author Comment

    LVL 3

    Expert Comment

    Dont know if its a typo but there should be an = after file and also your export options, full ,owner
    exp scott/tiger file=c:\oracle\emp\tas.dmp full=y
    exp scott/tiger file=c:\oracle\emp\tas.dmp owner=<username>
    LVL 16

    Accepted Solution

    >> ORA-12560: TNS:protocol adapter error

    This means there is some error in connecting to the database

    sqlplus scott/tiger


    set see whether the environment variables ORACLE_HOME and ORACLE_SID is set.

    click on "my computer" -> "properties" -> "advanced" -> "environment variables"

    Also check whether Oracle service is up and running

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
    This article describes some very basic things about SQL Server filegroups.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now