How to get rid of #2038 error in a flex iphone app

I have created an flex mobile app in which I want to save a file in pdf format in an ipad/iphone (any IOS device) but while saving that file its throughing #2038 error. And another thing I don't want to save the pdf file in applicationStorageDirectory, because after saving the file I want use that pdf file. Here is my code.
var file:File = File.documentDirectory.resolvePath("indicators.pdf");
if (file.exists)
file.deleteFile(); //delete it if exists
//create a file stream to be able to write the content of the file   
var fileStream:FileStream = new FileStream();
var popUpPage:AlertPage = new AlertPage();
try
//open the file stream and set for Write
fileStream.open(file, FileMode.WRITE);
//writes the bytes
fileStream.writeBytes(pdfBytes, 0, pdfBytes.length);
//close the stream
fileStream.close();
PopUpManager.addPopUp(popUpPage,this,true);
popUpPage.lblAlert.text = "indicator saved in pdf format = "+ file.nativePath;
PopUpManager.centerPopUp(popUpPage);
this.visible = false;
catch(err :Error)
PopUpManager.addPopUp(popUpPage,this,true);
popUpPage.lblAlert.text = err.message + "  "+ file.nativePath;
PopUpManager.centerPopUp(popUpPage);

This doesn't look like a problem with Acrobat forms.

Similar Messages

  • How to get rid of the error message we could not complete your iTunes store request?

    How to get rid of the error message we could not complete your iTunes store request?
    having this problem when trying to authorise an newly downloaded app in iTunes

    Based on the numerous posts regarding iTunes and the App Store, there appears to be an issue at Apple's end. Although Apple has not provided any indication on the cloud status page.
    Do not change your settings.
    Edit

  • How to get rid of ios6 file downloaded to my iphone?

    My iphone4 downloaded ios6 two days ago, as far as I know without my intervention (I may have accidentally given order for that...). I've noticed an icon badge with '1' on settings and with surprise I found ios6 had been downloaded and was ready to install!!! I don't want in any way to install by now, but the problem is the huge space occupied by the file - more than 2 GB. So I'd like to know how to get rid of the file. I didn't find anything about...

    Same question ! 2 GB of space is waisted 4 the moment ...

  • How to get rid of kSMCKeyNotFound errors

    I have a macbook pro mid 2010 running OS X 10.9.5. I wanted to test resetting the smc, don't ask why, so I followed the steps, hold down opt control left-shift power button. Now I get 6 smc errors in the console:
    PM kernel[0]: SMC::smcReadKeyAction ERROR: smcReadData8 failed for key LsNM (kSMCKeyNotFound)
    kernel[0]: SMC::smcReadKeyAction ERROR LsNM kSMCKeyNotFound(0x84) fKeyHashTable=0x0
    kernel[0]: SMC::smcGetLightshowVers ERROR: smcReadKey LsNM failed (kSMCKeyNotFound)
    kernel[0]: SMC::smcPublishLightshowVersion ERROR: smcGetLightshowVers failed (kSMCKeyNotFound)
    kernel[0]: SMC::smcInitHelper ERROR: smcPublishLightshowVersion failed (kSMCKeyNotFound)
    kernel[0]: SMC::smcInitHelper ERROR: MMIO regMap == NULL - fall back to old SMC mode
    I checked the old system logs, system.log.#.gz and these errors are not found so I am guessing I caused the problem when I tried to reset the smc. Anyone have any idea why this happened, besides pure stupidity, and how I can clean up these errors.
    thanks
    john

    If you're sure you weren't getting the messages before you reset the SMC, all you can do is reset it again. Also, make sure the SMC firmware version is up to date.
    Hold down the option key and select
               ▹ System Information...
    from the menu bar. Do the following:
              Boot ROM Version
              SMC Version
    match what's shown for your model on this page?

  • How to get rid of the camera flip on an iphone 4?

    Hey, I have been using my iPhone 4 for just over four months now, and I hate how the camera works...
    Every time I take a picture, it flips it and makes it look like a mirror reflection or something. I don't like that at all. It exposes the unbalances at my eye level.. makes it look like a lazy eye..The only solution I had up till now was using Instagram, but they updated their app, and now it flips the picture as well.
    Can somebody please provide me with an app that will take a picture and NOT flip the photo that's saved to the library?
    Thanks & Happy Holidays.

    Other data
    Should only be about 1GB and larger than this may indicate corrupt data
    Read http://www.maclife.com/article/howtos/how_remove_other_data_your_iphone
    https://discussions.apple.com/thread/4542883?start=0&tstart=0
    To get rid of it you need to Restore not from a backup
    Restoring  http://support.apple.com/kb/HT1414

  • How to get rid of Registration Wizard screen when compiling VB6 app?

    I have inherited a VB6 application that uses CR 10.  I have a fresh Win XP w/SP2 installation, I have a fresh Visual Studio 6 w/ SP5 installation.  And I have a brand new copy, supplied by SAP of CR 10.  When I compile the VB6 app I get multiple instances of the CR Registration Wizard with my serial number  already filled in and grayed out.  But I can't get rid of these registration nags.  I've found no solution in the knowledge base.  Any help is appreciated.

    Go to the Download page and install all of the available patches.
    Then check the Life Cycle page, CR 10 has been out of support for 4 or 5 years now. If you fully supported product then purchase CR 2008 or wait a little for CR 2010/2011.
    Thank you
    Don

  • How to get rid of sync error message

    Hello,
    When I first installed CC on my computer, our company's proxy was refusing the connections to the Adobe cloud servers and I couldn't sync my test file "test.indd".
    From that moment I'm getting the "unable to sync "test.indd" due to server error" message.
    After having determinated all the server ips that Adobe uses in the Amazon cloud and added manually the exeptions to our proxy server, syncing files finally worked. Great thanks to Adobe for not giving the server ips out and not helping at all.
    Syncing files now works but I keep receiving the "unable to sync "test.indd" due to server error" message.
    I have tried to recreate the file with the exact filename and sync it again but that doesn't solve my problem.
    As a paying customer (7 x CC for teams licences) I contacted the Adobe support and they told me that they don't do any support for server problems !???!!!!! and redirected me to this forum page http://helpx.adobe.com/creative-cloud/kb/arent-my-files-syncing.html which has nothing to do with my problem. Can't find any words to describe that customer support...
    Maybe there is someone in this community willing to do the job of Adobe support and help me?

    Thanks for your reply Mylenium,
    Sorry I forgot to mention my system: Windows 7 Pro 64Bit SP1.
    In C:\users\You\AppData\Roaming I find many cache related files, but only a few that are not related to any specific CC app:
    C:\Users\***\AppData\Roaming\Adobe\CEPServiceManager4\cache\ExtensionManifest
    C:\Users\***\AppData\Roaming\Adobe\Common\Media Cache
    C:\Users\***\AppData\Roaming\Adobe\Common\Media Cache Files
    I have backuped those files, removed from their respective folders and restarted the CC Desktop app but the message is still popping up.
    Does anyone know in which file(s) the sync cache is stored exactly? I can't find any information about that on the net nor forum.

  • How to get rid of install errors?

    The following errors installing trial of Photoshop CS6 extended:  DF029, DF024, DW063, DW050.  I am installing on Windows 8.

    Hi Barry,
    Please reboot the computer in selective startup mode and login by enabling the inbuilt hidden Admin account and then try to install the software.
    Also please refer :
    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-installation-problems-pepe-win7- vista.html
    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-install-using-logs-elements.html

  • How to get rid of "Waiting for Activation" on old iphone 3G?

    Ok I just upgraded to the new 4 & planned on giving my old 3G to my son to play games, music, photos etc.
    I'm in the process of re-syncing it with everything for him
    But there seems to be a message on the screen "Waiting for Activation, this may take some time"
    How do I get that to go away as I will NOT be activating this phone again, but it will basically be used like an ipod touch?
    Thanks.

    Turn Airplane mode on followed by turning on wi-fi access.
    The no longer activated SIM card will need to be inserted in the iPhone to restore the iPhone with iTunes if wanted or needed and to install a firmware update or to complete the process - the SIM card that was used with the iPhone when it was activated.

  • How to get rid of an apple id from a iphone

    I gave my sister my old iphone to get a difrent phone and when she got a new sim recently I keep getting popups to add the number to my ipod's facetime , imessenger ect. she was using my apple id and then made a new one and just signed in to her phone. So every time she reactivates imessanger or anything else my apple id comes up automatically. Is there any way to remove my id keeping all her data without having her having to start from scrach.

    Icttv123 wrote:
    is there any other solution????
    Erasing the iPhone is the solution; there are at least two ways to do that, though. 
    The second one is, go to icloud.com and login with your Apple ID and password.  Go to "Find My iPhone" and click "Devices."  From there you'll be able to erase the iPhone.  All the magic will happen as soon as the iPhone has internet access.

  • I have an iPhone 5 and I have revived a virus it will click on things all on its own and will go on till I lock my phone it's getting really annoying and I don't know how to get rid of the virus I have the virusbarrier app but i don't know how to get it t

    Please help it's getting really annoying and  it's hard to do things on my phone when it freaks out and go all over the place.

    superjedishadow wrote:
    i wasnt saying that there were any viruses made to date, im just saying that a virus could be made for it
    No one's been able to do that yet.  And people a lot smarter than you (and me) have tried.
    The basic way malware works is that it runs a program on the device.  However, the iOS does not allow any program to be downloaded or installed onto the device, unless they are from the App Store.  And Apple thoroughly checks all apps submitted by app-developers before allowing them onto the App Store.
    In essence, imagine that there is a fortress that has absolutely only one entrance; a guarded front gate.  And the guards will only let in people that have proper identification.  Without that identification, they will not open the gate.
    The fortress is the iOS device.  The guards are the operating system.  The identification is the App Store.
    You didn't come from the App Store?  Then you can't come in.  It's as simple as that.

  • How to get rid of activation required popup on unlocked iPhone 4s?

    I bought an iPhone 4s online around a month ago and got it in the post a few days after, I had bought it from America and I live in Ireland and when it got here it was locked only to the Sprint network. I got an e-mail a few days ago to say that the seller had been in contact with Sprint and they had unlocked it and all I needed to do was to restore it and then connect it to iTunes with my irish sim (48 is the one i have). This seemed to work as now i can see signal bars and the 48 icon in the left corner but then a few seconds after the it comes up activation required and I can't work it until I take the irish sim out. Does anyone know anyway I could resolve this? There's two photos below of the problem, thanks!

    Other is usually around 1 GB...
    A  ' Large Other ' usually indicates Corrupt Data...
    First Try a Restore from Backup... But... if the Large Other Persists, that is an Indicator of Corrupt Data in the Backup... Then a Restore as New is the way to go...
    Details Here  >  http://support.apple.com/kb/HT1414
    More Info Here...
    maclife.com/how_remove_other_data_your_iphone

  • How to get the current active browser url in my iPhone app?

    I have confusion in two points i.e. .
    1 - Ios have not NSAppleScrit class for execute script like Mac os.
    2 - There are no such API for providing the information .
    How can make possible it ?  

    You should probably try asking in the developers forums.

  • How to get rid of the weblogic.kernel.Default errors and warning?

    Hi there,
    When i'm running my application deployed on WLS8.1 SP3 and the application is running fine, but the following error and warnings were thrown.
    2004-08-05 11:26:30,453 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] ERROR com.bea.wlw.runtime.core.util.Config - Failed to obtain connection to datasource=cgDataSource, using generic DB properties
    <Aug 5, 2004 11:26:30 AM SGT> <Error> <WLW> <000000> <Failed to obtain connection to datasource=cgDataSource, using generic DB properties>
    2004-08-05 11:27:12,281 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.config.OptionConverter - Could not find value for key jcs.default.elementattributes
    2004-08-05 11:27:12,282 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.engine.control.CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.default.elementattributes', using defaults.
    2004-08-05 11:27:12,308 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.config.OptionConverter - Could not find value for key jcs.system.groupIdCache.elementattributes
    2004-08-05 11:27:12,308 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.engine.control.CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.system.groupIdCache.elementattributes', using defaults.
    2004-08-05 11:27:12,386 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.config.OptionConverter - Could not find value for key jcs.region.CodeTableCache.elementattributes
    2004-08-05 11:27:12,386 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN org.apache.jcs.engine.control.CompositeCacheConfigurator - Could not instantiate eAttr named 'jcs.region.CodeTableCache.elementattributes', using defaults.
    2004-08-05 11:27:13,527 [ExecuteThread: '13' for queue: 'weblogic.kernel.Default'] WARN com.bea.wlw.netui.script.el.NetUIReadVariableResolver - Could not create a ContextFactory for type "com.bea.netuix.servlets.script.PortalVariableResolver$PortalContextFactory" because the ContextFactory implementation class could not be found.
    May i know why this is so? How to get rid of these error and warnings?
    Thanks
    Derek
    Message was edited by derekchan at Aug 4, 2004 8:41 PM
    Message was edited by derekchan at Aug 4, 2004 8:42 PM

    you didnt seem to have configured the datasource / connection pool / database control with proper db properties
    you should check your configuration to see if you have done it right and then you should check your application and the properties settings in the controls to ensure they are right.

  • How to get rid of error message for the material?

    Hi everybody,there is a material which is showing an error message whenevr try to create a sales order, i've checked the material master...there is no check in X-plant Mtrl or X-dist chan or any flag for deletion...but still the red error message comes up while creating a sales order...how to get rid of this error?

    this means material is blocked for procurment
    three kinds of block can be there
    01 Blocked for procment/whse
    02 Blocked for task list/BOM
    03 Blocked for Purchasing
    GOTO MM42 give material n plant data
    Select BESIC VIEW
    there is a field called as material block remove the blocking reason
    Hope this will help
    Edited by: WISH on Mar 24, 2008 6:33 AM

Maybe you are looking for