Bug in file opening "SP2-0310: Unable to open file." How to register it ? ( Version 4.1.0.18)

Steps to repeat in version 4.1.0.18
1) mkdir sql
2) cd sql
3) touch script2.sql
4) touch script1.sql        and  write  @@script2.sql
5)  open the script1.sql from "Files" tree in sqldeveloper, choice connect to any oracle db , run script(F5)
Error starting at line : 1 in command -
@@script2.sql
Error report -
SP2-0310: Unable to open file: "script2.sql"
If try to execute this  case in  version 4.0.3.16 then  all work will be fine.
How to register it ?
Message was edited by: DmitryZaytsev

Hi!
The SP2-0310 error occurs when you have not fully-qualified the PATH to the file.  Rather than rely on a variable, specify the fully-qualified path.
HTH!

Similar Messages

  • How to store SP2-0310: unable to open file errors in log file

    We are using oracle 10g on Linux platform.
    When we send scripts to the clients, then we also send a control file that executes all the sql files e.g.
    control.sql
    SPOOL test.log
    SELECT 'Start of Control File at:'||systimestamp from dual;
    SPOOL OFF
    @./dbscripts/00_insert_scripts.sql
    SPOOL test.log APPEND
    SELECT 'End of Control File at:'||systimestamp from dual;
    SPOOL OFFThe scripts are executed from SqlPlusW only by typing @control.sql
    The problem is that when SP2-0310: unable to open file error comes, it appears on the screen only. It does not go in the test.log file. Is there any way to store these errors in a file from SQLPlusW.
    Thanks.

    try mentioning full path....
    try
    @<fully qualified path>/00_insert_scripts.sql
    also check if the file has necessary permission
    ls -l <fully qualified path>/00_insert_scripts.sql

  • Error: sp2-0310 unable to open file c:\desktop\oracle\table.sql

    I am not able to open any files that I have downloaded and put into a file path. I keep getting the error sp2-0310 unable to open file. I made sure to save my files in a path with no spaces. What can I do to resolve this error message.
    Thanks.

    As already said, you need to verify you've really got the correct path. After that, you can also check to see that the file name is really table.sql. If you created the file in a simple text editor, sometimes the editor will append .txt to the file name. But if you have "Hide Extensions" turned on in Windows Explorer, then you wouldn't see the .txt extension. Check the file name and make sure it really is as you think and doesn't have another extension on it.
    Finally, how are you trying to use the file in SQL*Plus? If the path and file name are correct, you should be able to do this:
    SQL> get c:\desktop\oracle\table
    and it should bring up the file into the SQL*Plus buffer. Or, you should be able to use:
    SQL> @c:\desktop\oracle\table
    to execute the contents of the file.
    If you are simply using:
    SQL> @table
    then you could add the SQLPATH environment variable to point to c:\desktop\oracle and that would allow you to skip entering the path.
    Hope this helps,
    Karen

  • SP2-0310: Failed to open the file "coreins.sql"

    Hi, when i try to install apex 3.0... on oraclexe , in the file install****.log show this error SP2-0310: Failed to open the file "coreins.sql"

    You will find the answer to your problem in this forum..
    Database Installation

  • I saved a word file onto my imac.  when i go to open file in documents with pages the file is grey and unable to open.  the workable files are highlighted in bold.  is there a way to open this file????

    i saved a word file onto my imac.  when i go to open file in documents with pages the file is grey and unable to open.  the workable files are highlighted in bold.  is there a way to open this file????

    THis is safe for Mac's? Sorry, I have just never heard of this site before.
    And there are literally tens of thousands of sites of which I've not heard, too. Not this one.
    It's legit. There are lots of links in Apple Support Communities to the LibreOffice web site, as well as others that are legitimate open-source developers of options to buying MS Office, such as NeoOffice and OpenOffice. I have Open Office installed on one of my older Macs that can't run Office 2011 and it is rock-solid.
    I've been here too long to start posting bogus urls now.

  • I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.

    I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.
    Also, does reinstallation takes the back up automatically or the files will be lost. Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • Mail program converts my csv attachment into a zip file that i am unable to open

    when i receive email thecsv attachment is being converted in zip files that i am unable to open does anyone know why this is is happening is this a apple iisue or something to do with my exchange server?

    Exe files are Microsoft Windows executables and will not work on Macs. Your Office 2008 is Microsoft Office 2008 for Mac. That's why it works.

  • SP2-0310: impossÃble open archive  "c:bdbiblio.sql"

    Hi,iam new in oracle, and new in english too.
    If any one, could help me i wil be happy.
    I'm trying to execute, a file, that i create in notepad, in sql plus, but i've got thid=s message error:SP2-0310: impossibe open archive "c:bdbiblio.sql".
    If someone could help me please mail me: [email protected]

    Thank's for the help.
    The soluction, you gave to me, did not resolve my problem.
    My paltaform is windows 2000, and i use oracle 9i, maybe this information could help. When i use one archive, that was executed one time with the sql/plus in other machine, it work's. But if i just create, an archive, in my machine, they dont start and the error message is the same.
    Please help me, i need it for my graduation.

  • Open doc URL: unable to open the report in same window

    Hi
    I'm trying to open a report using open doc url with "swindow=same" but still it opens in a separate window. This happens only when I use JAVA viewer. it works fine in ActiveX and HTML but I want this in JAVA viewer as i'm including this page in my JAVA application and it should open the report in the same window. I tried using "<a>URL</a>" and also target="_self" by HTML interpretation for that object but still the same problem. I'm unable to open the report in the same window by using JAVA viewer for Crystal Reports in info view. Please help me!!!
    Envirorment Details: Crystal Reports 2008 SP3, BOE XI R3 SP3
    regards
    Raghavendra.G

    I have tested that myself and It seems that HTML interpretation does not work with the Java viewer.
    I have also tried using a hyperlink containing javascript
    eg.
    javascript:window.location.href='http://www.sap.com'
    but the java viewer seems always to launch a new window before processing the command.
    I would recommend to open a case by SAP support ( httP://service.sap.com/support )
    Regards,
    Stratos

  • After Effects Error: Rendering error while writing to file... Unable to open file.(-1610153459)

    Hi there,
    As the title states, this is the error message I get ONLY when trying to render .mov files.
    I have posted here before with a similar problem related to quick time files.
    After Creative Cloud does its own updating, I can no longer render .mov files.
    I have been through the trobleshooting list for QuickTime file errors, none of that works.
    This is now the 3rd time that I have reinstalled AE CC.  On a clean install, everything works fine, but after updates it starts bugging out.
    ALSO
    I cannot install the lates AE update...12.1.
    CC says that I there are no new updates.
    The manual update function within AE is greyed out so I cant click it.
    I downloaded the entire patch and tried installing but I get another error stating that 'Udates have been surpressed by the Administrator.'
    I am the Admin user, and I have tried running the patch as admin too.
    I am getting extreemely frustrated with this CC package.
    Please....please, someone help.

    So....its been a few peacuful days.....but here I am again....with the same issue.
    There have been no new Windows updates, quicktime updates or CC updates that I know of.
    The problem however seems to be quite random.  Sometimes it doesnt  happen if I restart After Effects, while other times it occurs even If I restart the whole machine.
    The best part though:
    I contacted Adobe technical support for the patching issue as I am still running 12.0
    The technician remotely takes over my machine and proceedes to uninstal After Effects.  Then he tries to log onto Adobe's download site only to find out it is down (not quite sure how this isnt known to him before the fact).  He says the site will be back up after an hour and asks that I wait while still connected.  I do so.
    Sure enough, the site is back online, but the tecnician is not responding to my communications even after a direct email to him and an aditional 30 minutes of waiting.
    I have no option but to cut off the remote control and reinstall After Effects......again.
    I count my bleesings and carry on the next day with normal work.  I have a product that can at least render the format I require.  I brush off the notion of getting the latest update.
    So here I am today, with a 'brand new' quicktime issue.
    I contact support again and explain the problems, but I am told that the technical staff are only online in 5 hours.

  • When opening Mail Application "Unable to open a PIM session. Error ; Playbook 64GB

    Support:
    With the new software update to 2.0 email has been working excellent for my gmail.com and me.com accounts.  This morning, I was asked to re-enter my [email protected] password, which I did .... and from then on I got the above ERROR message and no access to current or prior email messages.
    I do not have a Blackberry phone, so this is confiusing.  There is an open support ticket open "Your incident number is INC000024603432", but no reply as yet. I am on vacatiuon and thus reaching out to see if someone can assit me with this issue.
    1)  (Should I ??)  How do I delete the email accounts and start over?
    2)  Is there another way to solve this error?
    I have screen shots of the entire error message which indicate a possible database error or encription error.
    Thank you in advance.
    Rich
    Solved!
    Go to Solution.

    Look into the mail accounts and delete their profiles. You should not lose any data you entered into contacts or calendar. After you delete them re-enter the profiles again. Hopefully it should resume working again.

  • I have 2 windows open but am unable to open more. I can open tabs within the windows I do have open.

    I have tried clicking on the shortcut and have gone to the Start menu to try to open a new window.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • SR3 installation on solaris10 - unable to open file error

    Hi Guru's
      I am installing Netweaver 7.0 system BI, ECC ,Portal on solaris 10 and oracle 10g database. I am using SR3 installation Master for solaris sparc 64. During installation i come across errors such as 'Error : SP2-0310 unable to open ora_query3_tmp1_1.sql" .When i check in the 'sapinst' directory i see that this file has only read permssions. When i change the permission to full and rerun sapinst, again the same error appears. When i check the permission for this file, it is again in read only mode.
    What is happening is, sapinst creates this file with rw-rr permission each and every time i run sapinst. i set the umask of the root user from which iam running the install to '000', but still the same error. root user is part of sapinst group. i checked all possibilities but couldn't get rid of this error. Seems like a bug in SR3 for solaris.
    Has anyone come across this error before. If so is there any fix for this.
    Would award points for whoever come with solution to this.
    Moses

    You can circumvent that problem if you don´t use "/tmp" as installation directory but a different directory. I always do a (as root)
    mkdir /install
    cd /install
    <path-to-sapinst>/sapinst
    This will also make things easier since you don´t have to step deeply into nested directory structures...
    Markus

  • Unable to open a script file

    I received an error SP2-0310 : unable to open file when i tried to excute a script file. my user have a connect and resource privilege. Is it enought? what's wrong?

    you are not providing enough information. However, it sounds like you login-in successfully, but whatever file (script) you are trying
    to execute, it cannot find. Are you providing the correct path\filename?
    I received an error SP2-0310 : unable to open file when i tried to excute a script file. my user have a connect and resource privilege. Is it enought? what's wrong?

  • Unable to open .sql file through console window

    Getting error msg sp2-0310 while opening sql file

    Hemant_Khandare wrote:
    Getting error msg sp2-0310 while opening sql fileUse a fully qualified filename (with path). E.g.
    SQL> @y.sql
    SP2-0310: unable to open file "y.sql"
    SQL> @/tmp/y.sql
    SQL> select * from dual;
    D
    X
    SQL> If the problem is more complex than this, then please copy-and-paste the actual contents of what you're doing and the error that results.

Maybe you are looking for