Error: can't open file (-43)

Hi Guys,
I am a newbie to iphone development....I was trying my hand on audio recording module using apple SpeakHere demo....
The problem is that I want to save the audio file in NSDocumentDirectory and want to playback the audio recorded from there...
But if i am changing the path from NNSTemporaryDirectory to NSDocumentDirectory i got error stating "can't open file (-43)".
I searched forum , but did not found any satisfactory answer...Can any body please tell me a way how to overcome this error.
Waiting for your valuable suggestion.
Thanks in advance
Quest.

It would be best to post a little example code showing where your problem is.

Similar Messages

  • Adobe photoshop lightroom won't install on my Mac - error can not open file

    Adobe Photoshop Lightroom4 will not install on my Mac. "Error can not open file" when trying to open will installer. If I cannot get it to work I would like to return product.

    What version of Mac OS are you using?  What is the exact name of the file which you are double clicking on?  If you right click on the file and select Get Info what does it state under the Open With section?

  • My iWeb site is receiving an error - can't open file.

    I've got quite a big iWeb website (5.51GB) and this is the first time I encountered this problem. Today, I tried starting my website and it would not open. The error was "can't open file '.../domain ed.sites2.' I can't seem to fix it with the things I'm finding on this community support centre.

    The following might be helpful: in Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    You can download an already compiled version with this link: iWeb Switch Domain.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Fatal error : can not open file 'msvcrt.lib'

    Hello dudes !
    I am using windows and jdk1.6. I want to develop one application using JNI. As steps for JNI, i have created Helloworld java class and compiled it, then created header file using jnh. After that i have created HelloWorld.c file.
    To build dll file, i am executing the below command
    "cl -Ic:\java\include -Ic:\java\include\win32 -MD -LD HelloWorld.c -FeHelloWorld.dll".
    Command giving the output as follows:
    HelloWorld.c
    Microsoft (R) Incremental Linker Version 8.00.50727.42
    Copyright (C) Microsoft Corporation. All rights reserved.
    /dll
    /implib:HelloWorld.lib
    /out:HelloWorld.dll
    HelloWorld.obj
    LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'
    Can anybody say why it is giving this problem.
    Also i tried giving the msvcrt.lib path as the value for -MD option,
    cl -Ic:\java\include -Ic:\java\include\win32 -MD"c:\Microsoft Visual Studio 8\VC\lib" -LD HelloWorld.c -FeHelloWorld.dll
    Then it is giving "can not open file LIBCMT.lib" .
    Note : ...\VC\lib and ....\VC\include are added in the path.
    Can anybody tell the solution for this ?
    Thanks in advance!!

    Hi,
    I was with the same problem. You have set the your VCC environment.
    Path, Include and Lib.
    In your directory VCC (2003 toolkit), you have a .bat file (vcvars32.bat)
    Run the bat, or copy and past this command in your command prompt.
    In my compilation, I run the code, wihtout -MD and -LF. In your, just:
    cl -Ic:\java\include -Ic:\java\include\win32 HelloWorld.c -FeHelloWorld.dll
    thanks,
    Fabio Pinheiro
    Brasil.

  • Getting error Can't open file "~/Library/Application Support/iWeb/Domain.sites2." when trying to open iWeb?

    I recently had to replace my harddrive a few months back and tried to open my iWeb to update my website.  When I click to open it, I get "Can’t open file “~/Library/Application Support/iWeb/Domain.sites2.”  I uploaded iLife again but that didn't seem to help.

    Did you confirm that you have a Domain.sites2 file in your Users/Home/Library/Application Support/iWeb folder?  If so double click on it to try to open with iWeb.  If that doesn't work try the following:
    delete the iWeb preference file, com.apple.iWeb.plist, that resides in your Home()/Library/Preferences folder.
    go to your Home()/Library/Caches/com.apple.iWeb folder and delete its contents.
    launch iWeb and try again.
    If that doesn't help continue with:
    move the domain file from your Home/Library/Application Support/iWeb folder to the Desktop.
    launch iWeb, create a new test site, save the new domain file and close iWeb.
    go to the your Home/Library/Application Support/iWeb folder and delete the new domain file.
    move your original domain file from the Desktop to the iWeb folder.
    launch iWeb and try again.
    OT

  • HELP! Illegal operand error - can't open file!  (v.2)

    I have a file that I've done about 40 hours on since last duplicating it. It's been saved multiple times, and successfully. Now, however the file seems to be corrupt. I'm getting the following error message when opening it:
    Cant open the illustration. The illustration contains an illegal operand.
    Offending operator: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( (((((((
    After i last closed the file, i've defragged my hard drive because it's been sluggish. Ive also deleted a couple of random temp files that I'm now thinking may have been in regards to the Ai file. Does anyone have any ideas on what i can do to open this file (preferable) or anything else?
    Thanks in advance for any help or info you can provide!
    Ben
    (ps-this is my second posting of this - frantically trying to fix this and didn't pay attention to what i was typing. i forgot to mention a few things so i just resubmitted rather than constantly adding messages. thanks for understanding ;)

    First. Can't tell you how helpful this forum post/thread has been today. I successfully recovered two files that had "illegal operand" due to a corrupted Font, despite every Adobe tech support person writing me off – writing my files "gone". 
    Second. For anyone interested my "offending operator" was:
    %AI3_EndEncoding TrueType' 
    Specifically, the context:
    [/_[-Andvari-]-Regular/[-Andvari-]-Regular 0 0 0 TZ
    %AI3_EndEncoding True Type
    The did exactly as explained here (below, by Levitikon).
    24.Levitikon, 
    Community Member
    Jul 4, 2011 9:31 AM   in reply to (Ben_Grefsrud)
    Report
    However, my Library/ and Preferences/ were hidden...which made it frustrating because I had to find how to make them visible.  Well, here's the link to explain how to do that : http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion/
    Cheers!

  • HELP! Illegal operand error - can't open file

    I have a file that I've done about 40 hours on since last duplicating the file. It's been saved multiple times, and successfully. but after i last closed it, i've defragged my hard drive because it's been sluggish. Ive also deleted a couple of random temp files that I'm now thinking may have been in regards to the Ai file. Does anyone have any ideas on what i can do to open this file (preferable) or anything else?
    Thanks!
    Ben

    D'oh! I completely forgot to add this important info:
    This is the error message:
    Cant open the illustration. The illustration contains an illegal operand.
    Offending operator: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((( (((((((

  • InterMedia Text indexing error - can't open files

    I am getting the following error on 3 of 4 files for which I am trying to set up a simple text index:
    DRG-11101: failed to open file \drgit3
    Here are the steps/cmds I followed:
    begin
    ctx_ddl.create_preference('tracker_file_datastore','FILE_DATASTORE');
    ctx_ddl.set_attribute('tracker_file_datastore','PATH','d:\temp\pptd\doc');
    end;
    create index doc_index on document(qualified_file_name)
    indextype is ctxsys.context parameters ('datastore TRACKER_FILE_DATASTORE lexer TRACKER_LEXER')
    The table "document" contains an id column and a text column called "qualified_file_name". Qualified_file_name contains the full path and file name ("d:\temp\pptd\doc\1.doc", etc.)
    I am running Oracle 8.1.6 with InterMedia installed on NT 4.0. I have also tried to run the filter program ctxhx, but it only produces a zero length text file. Ctxhx is also very sporadic in that it does not always create an output file (buggy???).
    The error documentation does not give any helpful suggestions for resolving this problem. The cause is: failed to open a file. The action is: check whether file exist or access permission available. I checked both.
    Any suggestions would be greatly appreciated.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Mike Verdugo ([email protected]):
    I am getting the following error on 3 of 4 files for which I am trying to set up a simple text index:
    DRG-11101: failed to open file \drgit3
    Here are the steps/cmds I followed:
    begin
    ctx_ddl.create_preference('tracker_file_datastore','FILE_DATASTORE');
    ctx_ddl.set_attribute('tracker_file_datastore','PATH','d:\temp\pptd\doc');
    end;
    create index doc_index on document(qualified_file_name)
    indextype is ctxsys.context parameters ('datastore TRACKER_FILE_DATASTORE lexer TRACKER_LEXER')
    The table "document" contains an id column and a text column called "qualified_file_name". Qualified_file_name contains the full path and file name ("d:\temp\pptd\doc\1.doc", etc.)
    I am running Oracle 8.1.6 with InterMedia installed on NT 4.0. I have also tried to run the filter program ctxhx, but it only produces a zero length text file. Ctxhx is also very sporadic in that it does not always create an output file (buggy???).
    The error documentation does not give any helpful suggestions for resolving this problem. The cause is: failed to open a file. The action is: check whether file exist or access permission available. I checked both.
    Any suggestions would be greatly appreciated.<HR></BLOCKQUOTE>
    I forgot to mention that the file types are Microsoft Word documents (both Win 2000 and 97).

  • SQL Plus Error - "Can't open file" when spooling

    Hi:
    I have a user who is either able or unable to spool when running a script depending on what Oracle user she logs in as. She's always logging in as the same Linux user but connecting to Oracle as different Oracle users via SQL Plus. When spool files are created they are created with that user's account and group settings, so the OS account seems to be fine.
    I'm having a problem with the idea that there is an Oracle role or something that controls this. Spool isn't UTL_FILE. Is this a SQL Plus application setting or something?
    We're using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    Thanks

    Well, I'm working off an email so maybe they cut and pasted and maybe they didn't. They say the error is
    spool error: "Cannot create spool file"
    I'll have to recreate their situation and see what it really says. But either way, my confusion is how this same OS user can log in as a different Oracle user and spool away. Perhaps the comment above is correct. It worked the first time and they tried to run under the other account without removing the current file. I tend not to think so because these users have been running similar reports for years and they usually have to remove the old output file before re-running.

  • Permission Error: Can't Open File

    Good morning,
    I'm unable to open any of my previously created Captivate 4 files and get this message: "Adobe Captivate could not open ".cp" because of permission error." Nothing about my software or the files have changed in the 36 hours since I last opened and saved these files.
    Can someone help me troublehsoot?
    Thanks,
    Melissa

    I just got this error as well.
    If I look at the file size in the directory, everything looks fine. Try to launch it, and it gives the "Loading project" timer at the bottom.
    Except it doesn't open the .cp file.
    Other ,cp files that I had worked with just before and after were saved properly.
    Any gurus out there to help?!

  • Can't open file error in Keynote 3. But OK in 2.

    I have a file (with custom themes) that opens fine in keynote 2 but can't be opened with keynote 3. It gives me the error "can't open file ... ".
    Any ideas?

    Just forgot about the issue.

  • Can't open file "~/sites/index.html." in iWeb09

    I have been searching through posts and I have noticed some that are very similar to this question, but are not exactly related. My domain file worked fine before upgrading to iWeb09. Now I get the error: can't open file "~/sites/index.html." Has anyone found a way to import the iWeb08 domain file into version 09?
    Nice job Apple! How can you release a product that does not correctly import or update the file from the previous version(s)? There is no way that you could have missed this in testing...

    You will never be able to open this file with iWeb, because, as it states it is a User/Sites/index.html file and iWeb cannot open this files - anything with html on the end of it is already published and iWeb cannot open this. It is not the same as your domain file.
    Go to User/Library/Application Support/iWeb/domain.sites and try opening your domain file, rather than something that is already published. iWeb cannot import - at least not published pages.

  • Can't open file "/private/Network/Servers...

    Sometimes in an Active Directory environment....
    We open file error
    Can't open file "/private/Network/Servers/xxx-fs01.mycompany.edu/HomeXXX$/Students/YOG15/UserNa me/DOCUMENTS/filename.key"
    This happens when using the recent file/items from within Safari.
    The workaround seems to be to logout then login again. Or some seem to think that you should re-login with the UserName being case sensitive.
    I have a hard time duplicating this problem but is does in fact occur and I have a ScreenShot.
    iMac 1.83 Core Duo 1GB RAM   Mac OS X (10.4.7)   Safari 3.0.1

    Sometimes in an Active Directory environment....
    We open file error
    Can't open file "/private/Network/Servers/xxx-fs01.mycompany.edu/HomeXXX$/Students/YOG15/UserNa me/DOCUMENTS/filename.key"
    This happens when using the recent file/items from within Keynote
    The workaround seems to be to logout then login again. Or some seem to think that you should re-login with the UserName being case sensitive.
    I have a hard time duplicating this problem but is does in fact occur and I have a ScreenShot.
    I will try and see it it happens in Pages recent items list.

  • Vi error on nfs mount; E212: Can't open file for writing

    Hi all,
    I've setup a umask of 0 for testing on both NFS client (Centos 5.2) and NFS server (OSX 10.5.5 server).
    I can create files as one user and edit/save out as another user w/o issue when directly logged into the server via ARD.
    However, when I attempt the same from an NFS mount on a client machine, even as root I get the following error using vi;
    "file" E212: Can't open file for writing
    Looking at the system.log file on the server, I see;
    kernel[0]: add_fsevent: no name hard-link! dropping the event. (event 2 vp == 0xa5db510 (-UNKNOWN-FILE)).
    This baffles me. My umask is 0 meaning files I create and attempt to edit as other users are 777, but I cannot save out edits unless I do a wq! in vi. At that point, the owner of the file changes to whomever did the vi.
    This isn't just a vi issue as it happens using any editor, but I like to use vi.
    Any help is greatly appreciated. Hey, beer is on me!

    Hi all,
    Thanks for the replies
    I've narrowed it down to a Centos client issue.
    Everything works fine using other Linux based OS's as clients.
    Since we have such a huge investment in Centos, I must figure out a workaround. Apple support wasn't much help as usual however they were very nice.
    There usual response is "its unsupported".
    If Apple really wants to play in the enterprise of business space, they really need to change there philosophy. I mean telling me that I shouldn't mount home directories via NFS is completely rediculus.
    What am I supposed to use then, Samba of AFP? No, I don't think so. No offense to Microsoft but why would I use a Windows based file sharing protocol to mount network shares in a Nix env???

  • Error message: "Can't open file"

    Using Keynote 3.0.x I try to open a keynote file created a year ago and when I try to open the "Opening" dialog comes up, you see the progress bar, and then, I get the error message, "Can’t open file" followed by the file name. Any recourse?
    PowerMac G5   Mac OS X (10.4.7)   FInal Cut Pro 5.1

    I later discovered the file was damaged. Went back to a backup copy and things were fine. Good think we have backups.

Maybe you are looking for

  • How to use Vendor Hierarchy in Vendor Rebate Agreements

    Hi Friends, I need to use vendor hierarchy in vendor rebates agreements. Here are some inputs from my end so far I have done: Customizing Settings for vendor hierarchy and rebate agreement (agreement type 3000 and condition types A003/ A004) have bee

  • What is the difference between  alv_List_display   AND   alv_Grid _display?

    Hi  all , Please explain me the exact difference b/w   alv_List_display  AND alv_Grid _display  . I found that we pass same parameters in both FMs. why should we go for Grid _display in stead of List display .i  mean what can be and  can't be done in

  • MDM GDS

    Hi, Do we need to know java programing to work on GDS Console. Thanks, MS Reddy

  • Needed, Advice for Graphics Card & OSX Capabilities

    I have a Dual 1 GHz Power PC G4 (Mirror Door) tower from 2002 (s/n#XB24706DMMA) (Model#M8570) The graphics card is the original ATI 64MB AGP slot. Can anyone recommend a better card 128MB or 256MB? Also, Currently I run OS 10.3.9 which is Panther. Do

  • How do I see the changes made in the settlement rule?

    Dear Experts, I would like to see the changes that was done in the settlement rule. I have perform the following: In the 'maintain settlement rule' screen in project builder (CJ20N) - Goto > Change Document > All Rules. The system gives message that