Unable to open "coreins.sql" file

Hi friends,
I am installing a fresh apex 3.2 version in oracle XE
I have installed a oracle XE and while installing apex 3.2 i first created tablespace called apex.
After that i excuted a command @D:\Apex\apex_3.2\Apex_Setup\apex\apexins APEX USERS TEMP /i/ where APEX is the name if the tablespace for the apex application
The coomand run successfully but in between it has thrown an error called unable to open file "coreins.sql" , but coreins.sql file is present in same directory.
please let me know how to get rid of this problem. looking forward for your kind reply
thanks in advance

I think you are not working from the correct working directory for SQL*Plus (if that's what you're using).
If you are using SQL*Plus, then click File / open and from the dialog box open a file in the install directory you used for Apex. It doesn't matter which file, this is just to tell SQL*Plus that you're working from that directory (in your case: D:\Apex\apex_3.2\Apex_Setup\apex\)
Instead of
@D:\Apex\apex_3.2\Apex_Setup\apex\apexins APEX USERS TEMP /i/you will then be able to use
@apexins APEX USERS TEMP /i/hth

Similar Messages

  • Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    hi,
    am running the below command for moving sql serevr mdf and ldf files  from one  drive to another : c  drive to d drive:
    but am getting the below error
    SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".
    use master
    DECLARE @DBName nvarchar(50)
    SET @DBName = 'CMP_143'
    DECLARE @RC int
    EXEC @RC = sp_detach_db @DBName
    DECLARE @NewPath nvarchar(1000)
    --SET @NewPath = 'E:\Data\Microsoft SQL Server\Data\';
    SET @NewPath = 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\';
    DECLARE @OldPath nvarchar(1000)
    SET @OldPath = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\';
    DECLARE @DBFileName nvarchar(100)
    SET @DBFileName = @DBName + '.mdf';
    DECLARE @LogFileName nvarchar(100)
    SET @LogFileName = @DBName + '_log.ldf';
    DECLARE @SRCData nvarchar(1000)
    SET @SRCData = @OldPath + @DBFileName;
    DECLARE @SRCLog nvarchar(1000)
    SET @SRCLog = @OldPath + @LogFileName;
    DECLARE @DESTData nvarchar(1000)
    SET @DESTData = @NewPath + @DBFileName;
    DECLARE @DESTLog nvarchar(1000)
    SET @DESTLog = @NewPath + @LogFileName;
    DECLARE @FILEPATH nvarchar(1000);
    DECLARE @LOGPATH nvarchar(1000);
    SET @FILEPATH = N'xcopy /Y "' + @SRCData + N'" "' + @NewPath + '"';
    SET @LOGPATH = N'xcopy /Y "' + @SRCLog + N'" "' + @NewPath + '"';
    exec xp_cmdshell @FILEPATH;
    exec xp_cmdshell @LOGPATH;
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    go
    can anyone pls help how to set the db offline. currently  i  stopped the sql server services from services.msc and started the  sql server agent.
    should i stop both services for moving from one drive to another?
    note: I tried teh below solution but this didint work:
    ALTER DATABASE <DBName> SET OFFLINE WITH ROLLBACK IMMEDIATE
    Update:
    now am getting the message :
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    (3 row(s) affected)
    (3 row(s) affected)
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    First you should have checked the database mdf/ldf name and location by using the command
    Use CMP_143
    Go
    Sp_helpfile
    Looks like your database CMP_143 was successfully detached but mdf/ldf location or name was different that is why it did not get copied to target location.
    Database is already detached that’s why db offline failed
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    Attached step is failing as there is no mdf file
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)"
    Solution:
    Search for the physical files(mdf/ldf) in the OS and copy to target location and the re-run sp_attach_db with right location and name of mdf/ldf.

  • Error message: "Unable to open the physical file" when trying to attach AdventureWorks database

    I have searched the internet and this forum and have not found an answer...
    I am trying to install the AdventureWorks database into my single instance of MS SQL Server Express 2005.  I am logged into my machine as an administrator and logged into SQL Server 2005 express 'sa'.  I attempt to run the following script:
    exec sp_attach_db @dbname = N'AdventureWorks',
    @filename1 = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf',
    @filename2 = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_log.ldf'
    The error message I get back is:
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf". Operating system error 5: "5(Access is denied.)".
    The folder "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data" and all the files in it are read-write.  I am 100.0000% certain the files "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf" and "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Log.ldf" exist!  They are the result of running the installation program AdventureWorksDB.msi, which I downloaded from: http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004.
    What do I have to do to install the AdventureWorkds database????

    Hello,
    To try to help you, please, could you give some more informations ?
    - the operating system (XP/Vista), the edition ( Pro/Home...) and the service pack
    - usually, the installer installs the both files in C:\Program Files\Microsoft Sql Server\Samples. Is there any change in the location or have you moved the both files ?
    - could you check with the files explorer , that the 2 files are read-write and not read only( find one file, right-click on it, properties and in the 1st tabpage, you should see a checkbox read-only ( if checked , unchecke it ) ?
    - have you Sql Server Management Studio Express Edition ( at least SP1 ) ?
    If no, download it and use it to attach
    in the object explorer,
    click on your instance to expand it
    right click on databases
    in the contextual menu, click on attach
    in the new form,click on add
    you arrive on a second form : find your file , click on it, and OK
    it's the simplest way to attach ( the sp_-attach_db is complicated to type )
    the error messages are sometimes more clear in SSMSEE than in Sqlcmd
    Try also to attach ( thru SSMSEE or Sqlcmd but in using the windows authentification )
    NB: i hope that you are not trying to attach AdventureWorks on a remote instance and on a remote computer ( it would explain access denied )
    We are waiting for your feedback to try to help you more efficiently
    Have a nice day

  • [SQLSTATE 22001] (Error 8152)Unable to open Step output file.

    Hi,
    I have configured the backups from our SQL Server instance to tape directly with out storing in the local drive, so that the disk space allocated for storing the backups in the local drive is saved. 
    but i end up with the below error.
    Executed as user: CORP\devsqlservice. select       DATABASE_NAME   = db_name(sd.database_id)      from       sys.databases sd      where         -- ONLINE    
      sd.state = 0        and sd.is_read_only = 0      group by sd.database_id      order by 1 [SQLSTATE 01000] (Message 0)  String or binary data would be truncated. [SQLSTATE 22001] (Error 8152)Unable
    to open Step output file.  The step failed.
    I am clueless , why i face this error, Do any one of you face such problems in backup (scheduled backups) job. 
    hemadri

    Hi Hemadribabu,
    >>”string or binary data would be truncated”
    As my research, the error above could occur in the case of passing string or binary data, whose length is larger than received object. So I recommend you to run the Transact-SQL script in SQL Server query window to check if this kind of issue exists, or
    you can post your entire script for further analysis.
    >> “unable to open step output file”
    In addition, as for the error above, this issue can be caused by two reasons below.
    1. The path of the output file is invalid. To fix the issue, please follow the steps below.
        a. Double click on the SQL Agent job.
        b. Switch to Steps tab, and click Edit.
        c. Click Advanced option.
        d. Change the path under Output file or delete the path. For a UNC path, you can 
    map a network drive and use the network drive instead.
    2. Your account doesn’t have access to the folder. Transact-SQL job step runs as the owner of the job step, or as the SQL Server Agent service account. So please check the type of the job step and the account which your job step runs as, and make sure that
    it has access to the folder. For more information about the process, please review the similar thread:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/7610b484-98b7-42dc-816f-dbc884e84c6d/backup-database-permission-problem   
    Regards,
    Michelle Li

  • REP-0004: Warning: Unable to open user preference file.

    Hi,
    I am creating an invoice header in Payable through open interface in r12. I have inserted one line in  ap_invoices_interface table.
    When I run Payables Open Interface Import request, it completes normal but invoice does not create.
    Please see below log file and provide your guidence.
    Payables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    APXIIMPT module: Payables Open Interface Import
    +---------------------------------------------------------------------------+
    Current system time is 24-DEC-2013 12:39:46
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_source='MANUAL INVOICE ENTRY'
    p_batch_name='test4'
    p_purge_flag='N'
    p_trace_switch='N'
    p_debug_switch='N'
    p_summary_flag='N'
    p_commit_batch_size='1000'
    p_user_id='19334'
    p_login_id='2499994'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.AR8MSWIN1256
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    MSG-00000: 0 invoice(s) were created during the process run
    MSG-00000: 0 invoice(s) were fetched during the process run
    MSG-00000:  summarize flagN
    MSG-00883: After Repport Trigger: Setting the Org Context to Multiple
    Report Builder: Release 10.1.2.3.0 - Production on Tue Dec 24 12:39:47 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Regards
    Farooq

    Please also see if the following docs help.
    R12: Master Troubleshooting Guide for Supplier Contacts Open Interface Import Report (APXSCIMP) [Video] (Doc ID 1373699.1)
    R12: REP-0004 Error While Running Supplier Contacts Open Interface Import Program (APXSCIMP) (Doc ID 1195815.1)
    R12: APXSUIMP Ends With REP-0004 Error, But Output Does Not Display Reason for Rejection (Doc ID 1060824.1)
    Thanks,
    Hussein

  • Unable to open the downloaded file

    Unable to open the downloaded file:
    Hyperion Enterprise Performance Management System Foundation Services Release 11.1.2.1.0 -> for Windows x86 -> File2
    http://www.oracle.com/technetwork/middleware/performance-management/downloads/hyperion-foundation-1112-086772.html
    Error message -
    Cannot open file: it does not appear to be a valid archive. If you download this file, try downloading the file again.
    Tried many a times and used various unzipping tool.

    do not pause the download in the middle of the download.
    with some download software, you can pause/stop the download in middle and continue.it will corrupt the software.
    else in middle the due to network... it may corrupt.
    check/compare the size with the original bytes mentioned in the oracle software download index size matches your downloaded file size.
    try to download it again.
    Good Luck.

  • Unable to open Form Repsonse File

    Hello,
    I am unable to open a response file to one of my distributed forms.
    I have made no changes to my system or the file. I get the following error
    "To view the Flash technology content in this pdf file, please install this version of Flash Player that supports Adobe Reader and Acrobat"
    If I click Proceed to download page, nothing happens.
    Any suggestions??
    NB: All other flash content works on this computer, Flash version 11,7,700,179

    do not pause the download in the middle of the download.
    with some download software, you can pause/stop the download in middle and continue.it will corrupt the software.
    else in middle the due to network... it may corrupt.
    check/compare the size with the original bytes mentioned in the oracle software download index size matches your downloaded file size.
    try to download it again.
    Good Luck.

  • REP-0004 warning: Unable to open user preferance files

    Hi,
    I am new to R12. This is the upgradation project 11.5.1.2 to R12. we are newly installed the R12 application and 10g database.
    I am going to customize the standard report 'Printed Purchase Order Report', the rdf file is 'POXPRPOP'. but it is not getting any out put and xml tags also. even standard report also not getting any output and I noticed in logfile that the error like 'REP-0004 warning: Unable to open user preferance files'.
    I have tested in backend, its getting the data. then I have added command MO_GLOBAL.SET_POLICY_CONTEXT('S'.org_id) in before report trigger also. but getting same issue.
    Could you please help me wheather I need do any setups/modifications in RDF or Application. This is very urgency.
    Thanks in Advance.
    Regards,
    Thirupathi

    Hi Hussein,
    Thank you for your valuable response.
    I have followed the same steps for this customization what they are given in the metalink ID 374165.1.
    And one more thing, I am not getting any output if i ran the standard program 'Printed Purchase Order Report (Portrait)' in R12. what it could be the problem.
    Regards,
    Thirupathi

  • Unable to open the XML files in Nakisa

    Hi Gurus,
    We are unable to open certain XML files in Nakisa. They show up as encrypted in the notepad or fail to open using the XML Marker. The files in question are
    AppResources.xml
    LoginConfiguration_SAP_Standard
    LoginConfiguration_Anonymous
    Purpose: We want to enable the SSO with the portal . We have checked the radio button but nakisa does not recognize the SSO ticket from the portal (Any folder in Nakisa where we need to place the Portal ticket?)
    Also we want Nakisa to show the org chart for the logged in user. Luke had mentioned that some changes need to be made in the AppResources.xml (hope i correctly remember this) and we were looking to make these changes (rather try out.. any pointers please..?)
    Thanks and Regards,
    Arun E V

    Hi Arun,
    These files are encrypted. If your organisation is a partner with Nakisa you can obtain the decrypter from them.
    Portal SSO works without any configuration directly in the XML files. If you are getting an error stating that the Portal ticket cannot be interpreted then your configuration is not correct. In your URL iView you need to ensure the fully qualified domain name (FQDN) is used for the application URL. In the Administrator Console you need to ensure you enter the system details (Host, Sys Nr and Client) for the backend system which holds your SSO ticket for that Portal. You need to use FQDN here too.
    There is additional security configuration that can be done in the XML files but SSO will still work with just the Administrator Console configuration.
    I hope that helps!
    Luke

  • Unable to open in pdf files in ipad 3 using adobe reader 10.2 but able to do so in ipad 2 using adob

    Unable to open in pdf files in ipad 3 using adobe reader 10.2 but able to do so in ipad 2 using  adobe reader x 10.1 .

    Can you please share the file you are trying to open with us at [email protected]? Also, can you please confirm that you've updated the Adobe Reader on your iPad 3 to the latest version using iTunes or the AppStore app?

  • I am unable to open a PDF file in Firefox 4. I have no problem with IE8

    I am unable to open a PDF file in Firefox 4. I have no problem with IE8

    Hi Nupoorv,
    Thanks for contacting us.
    Could you please provide some details like from where you downloaded your pdf , and what happens when you click on 'Open in Adobe Reader' .
    On tap on 'Open in Adobe Reader' does Adobe Reader application come in focus .
    You can follow think link also which provide details of how you can open documents in Adobe Reader http://forums.adobe.com/docs/DOC-2532
    Let us know if you still face problem.
    Thanks
    -Satyadev

  • When I open an encryted pdf file in my Hp  Slate 7 voice Tab it was unable to open the pdf file.Tje same file was opening with other pdf reader software.Kindly Help.

    When I open an encryted pdf file in my Hp  Slate 7 voice Tab it was unable to open the pdf file.Tje same file was opening with other pdf reader software.Kindly Help.
    [spam link removed]

    Could you please send the pdf to [email protected] so that we may investigate the issue?
    Thanks,
    Adobe Reader Team

  • After updating silverlight, i'm unable to open any pdf files in the system

    After updating silverlight, i'm unable to open any pdf files in the system

    According to your User Agent you posted this question using Internet Explorer 11 on Windows 8.1. Are you having a problem with Firefox? What Firefox version?
    You said you are having a problem opening PDF files on your system. Can you explain that better? Mozilla Support can help you with opening PDF files in Firefox, which uses a built-in PDF reader. Maybe one of these articles will help?
    * [[View PDF files in Firefox without downloading them]]
    * [[How to disable the built-in PDF viewer and use another viewer]]

  • How to open multiple sql files in only one ssms instance

    how to open multiple sql files in only one ssms instance, I can't get anything to work that I find online..I hope you can help us.

    I tried opening two files but selecting and hitting enter. it opens one SSMS and two tabs.
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Unable to open some psd file -   "could not complete your request ,unable to parse the path data"

    Hi I am unable to open some psd file that i created . I get this message "could not complete your request ,unable to parse the path data"  I am curently using cs6. Any idea how to fix it. I tried opening on other computer with photoshop but no luck yet.

    Is Vista a supported CS6 system????
    Photoshop CS6 / Tech specs
    System requirements
    Windows
    Intel® Pentium® 4 or AMD Athlon® 64 processor
    Microsoft® Windows® XP with Service Pack 3 or Windows 7 with Service Pack 1. Adobe® Creative Suite® 5.5 and CS6 applications also support Windows 8. Refer to the CS6 FAQ for more information about Windows 8 support.*
    1GB of RAM
    1GB of available hard-disk space for installation; additional free space required during installation (cannot install on removable flash storage devices)
    1024x768 display (1280x800 recommended) with 16-bit color and 256MB (512MB recommended) of VRAM
    OpenGL 2.0–capable system
    DVD-ROM drive
    This software will not operate without activation. Broadband Internet connection and registration are required for software activation, validation of subscriptions, and access to online services.† Phone activation is not available.

Maybe you are looking for

  • Unable to update iPhoto and other iLife products

    Hi, I bought a MacBook Air last year, which came with iLife pre- installed. The iPhoto version is 9.1.1. But for some reason I can't get auto update for it.  I tried to register it, hoping that this may solve the problem, but it requires a MPN number

  • My Mac Pro is dieing.. I need help!

    I have a lot of symptoms and not sure what the problem is. 1st thing I notice is TONS of beach balls on simple tasks. Using Mail, sometimes beachballs while typing, even if it's the only program open. Opening small programs takes 10 times as long. So

  • Watching DVDs & other video via PBG412" & HDTV

    Hello. I've been using a PBG412" as a media center for the last 4+ years. I have a remote attached (third party infra-red remote) and it works great! This winter my wife and I are considering a new TV for the first time in, well, a long time. Right n

  • Oracle's 'Interval day to second' data type in Hibernate

    Hi! Has anyone implemented Hibernate access to a column in Oracle using 'Interval day to second' data type? I've seen this link while searching Google. http://www.oracle.com/technology/sample_code/tech/java/codesnippet/jdbc/intervaldaytosec/intervald

  • BAPI Update

    Hello Friends, I am using the BAPI "BAPI_BUPA_CENTRAL_CHANGE", in order to update the SAP Business Partner data. But dont know what is wronge, its not working, here is my sample code. ftemplate = repository.getFunctionTemplate("BAPI_BUPA_CENTRAL_CHAN