Error while writing to file using UTL_FILE

I've created below mentioned directory object and also granted the user appdevnew the appropriate previleges under SYSTEM user. Before giving this command, i've manually created the folder in c drive and created myspool.log file manually. Is it needed or can be created programmatically?
CREATE DIRECTORY mydir AS 'C:\mydir';
GRANT READ,WRITE ON DIRECTORY MYDIR TO appdevnew;
Then logged into appdevnew and ran the block below. But i had been shown with error code ora-29280.
DECLARE
hnd UTL_FILE.FILE_TYPE;
BEGIN
hnd := UTL_FILE.FOPEN ('mydir', 'myspool.log', 'w',80);
UTL_FILE.PUT_LINE (hnd, 'Some text here..', TRUE);
UTL_FILE.FCLOSE (hnd);
END;
/

Hi,
It's a common problem, people think utl_file can see their PC's, whereas in fact the code runs on a server sometimes miles away and has no clue about your PC! You aren't the first and you won't be the last either.
As for creating a directory, I take it you mean to somehow issue 'mkdir' or the equivalent to create an OS level directory (or Folder, as this is Whinedoze) on the server? You have to be careful with terminology here, because people will think (and quite rightly to) that you are referring to directory objects which utl_file now uses.
There is no native way of doing this in PL/SQL. You can if you wish write a java stored procedure which then gives you this ability inside PL/SQL. However, I would question the need to actually dynamically create OS directories. Better do it just once for setup and be done. Less moving parts, less headaches.
And I don't know what you mean by the file extension at all. You opened a file with the extension .log so that's what you will get. If you somehow asked utl_file to open a file called myspool.log and you ended up with myspool.txt this would be a bug and you had best log this with Oracle Support. However, if you are somehow confusing the file extension (a naming convention foisted on us by Micro$oft) with the actual contents of a file (plain text ascii or binary) then the answer is, in 9i, utl_file only gives you the abilty to write text files. Writing binary is available in 10g.
There are workarounds to write binary files in 9i.
HTH
Chris
Message was edited by:
Chris Poole (because I can't spel)
Message was edited by:
Chris Poole (still can't spel)

Similar Messages

  • Error while writing to file: C: \ Program Files (x86) \ iTunes \ iTunes.Resources \ el.Iproj \ iTunesExtrasDownload.png. Make sure you have access to this directory.

    When i try to install iTunes in my Windows 7, this error message apear "Error while writing to file: C: \ Program Files (x86) \ iTunes \ iTunes.Resources \ el.Iproj \ iTunesExtrasDownload.png. Make sure you have access to this directory." Someone help me!!

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Javax.mail.MessagingException: 451 Error while writing spool file??

    Hi all friends,
    Can any one plz tell me why Iam getting below error when Iam trying to send mail with attachment.Iam using Java Mail API.
    javax.mail.MessagingException: 451 Error while writing spool file
    Plz tell me what are the reasons behind it.
    Regards
    Bikash

    The problem here is that the SMTP server was unable to write its spool file.
    The error is probably on the OS side of things and has nothing to do with email except that the lack of the system resource is causing email to fail.
    Have the server admin take a look at his error log to find out why the the user that smtp is running as could not write the file.

  • After effects error: rendering error while writing to file. Disk full.

    Hi,
    I tried to render a video in AE CC 2014, with RGB + Alpha as I wanted to keep the background transparent (rotoscoped) so that I can then use it in Premiere.
    I chose to export in Quicktime, with uncompressed 8bit.
    After it rendered it for a little while I had a window pop-up saying
    After effects error: rendering error while writing to file "E:...blabla". Disk full. The file may be damaged or corrupted. (-1610153463).
    I read a thread posted in the forums but i do not understand the solution provided there.. What is a POD??
    I have a Win7 Ultimate, x64. Plenty of disk space, and 16 Go ram.
    Please help, I canoot go further in my project with this bug...
    Jaywaii

    Is the drive you are rendering to formatted FAT32 by any chance? If so you can only render up to 4Gb for one file. Try rendering out a TIFF sequence instead. Litte tip - push the LZW compression tickbox in format options for a lossless compression, this will keep you file size way down.

  • After Effects Error: rendering error while writing to file...Output Module failed - 1610153646

    Hi – I’m currently working with someone who is running After Effects 5.5v10.5.0.253 on a PC which is running Windows 7 Ultimate. The computer has just recently been built and the software is newly installed. (ie. a couple of weeks old, max). Up until now, we have been using After Effects with no real issues. But tonight, we started to see the following error message, when trying to render something out:
    “After Effects Error: rendering error while writing to file xxxxx. Output Module failed, the file may be damaged or corrupted -1610153646” – displayed during render, which meant the render failed.”
    We started to review forums to see if we could come up with a fix and tried a few of the more common suggested solutions, including:
    Make sure there are no third-party plug-ins or Windows incompatible elements installed - as it’s a pretty new install, we haven’t added anything except out-of-the box elements.
    Clear the render queue – did this, no change.
    Reinstall Quicktime – did this, no change.
    Reinstall Creative Suite – also no change.
    Check the default program to open .mov files is Quicktime – Quicktime was already the default.
    A bit more detail about the machine...
    Ram is 32gb
    GPU is GeForce GTX 660ti
    250gb soild states
    2tb raid drive
    Any help would be much appreciated. This is now happening on all AE files, even files that worked fine earlier in the week. Other than the AE and QT reinstalls mentioned above, nothing new has been added to the machine this week. On a deadline – so a quick response would be amazing, right about now. Thanks.

    Hi Mylenium- thx for the quick response. We have have tried a bunch of different settings. AVIs work and we can do image sequences too. The only major problem seems to be with Quicktime files. While I appreciate your suggetion to convert with AME - this is only a workaround. Was really hoping for a solution that will fix the problem in After Effects? Heard rumor from a few friends in the biz, that this is a major bug... if possible, some feedback from Adobe product devs or someone with a technical background would be great! Thx.

  • Broadcast Error( EXPORT XFA error while writing XFA files)

    Hi Gurus,
    Could any please help me in the below mentioned issue ,
    While one of our customer is broadcasting BW report to the list of users ,  getting  error message "EXPORT XFA error while
    writing XFA files"    , Broadcast setting s are as follows
    Distribution type : Broadcast Email  , Output format : PDF
    for few users Broadcast is success , where as for others it is unsuccessful
    Please help me in this regard
    Thanks
    Nagamani

    Hello,
    Please use the SAP Export Library instead of ADS. It has much better performance, for details see SAP Note 1112132. This will solve the issue.
    regards,
    Michael

  • EXPORT XFA error while writing XFA files

    Hello Experts,
    We are facing an error while exporting to PDF from BEx report.
    We are on EP7 SP14. BI on SP16.
    After the report is displayed and Export to PDF button is clicked, a new window opens which shows following:
    1. Error:
    Message: No message was provided.
    Stack trace: java.lang.NullPointerException
    at com.sap.ip.bi.export.model.layout.impl.Margins.<init>(Margins.java:32)
    at com.sap.ip.bi.export.model.layout.impl.CellLayout.<init>(CellLayout.java:48)
    at com.sap.ip.bi.export.model.layout.impl.CellLayout.dub(CellLayout.java:57)
    at com.sap.ip.bi.export.xfa.xftextensions.TableContentIterator.createCell(TableContentIterator.java:170)
    at com.sap.ip.bi.export.xfa.xftextensions.TableContentIterator.next(TableContentIterator.java:104)
    at com.sap.ip.bi.export.xfa.xftextensions.TableSubFormSet.writeXFD(TableSubFormSet.java:1189)
    at com.sap.ip.bi.export.xfa.core.Xft_subform.writeXFD(Xft_subform.java:1604)
    at com.sap.ip.bi.export.xfa.core.Xft_subform.writeXFD(Xft_subform.java:1604)
    at com.sap.ip.bi.export.xfa.core.Xft_template.writeXFD(Xft_template.java:216)
    at com.sap.ip.bi.export.xfa.core.Xft.writeXFD(Xft.java:62)
    at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:294)
    at com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)
    at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:96)
    at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:626)
    at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:405)
    at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:325)
    at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:71)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:593)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:132)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:349)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4494)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4568)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4204)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4150)
    at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:2948)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2794)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:994)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:883)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:860)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:359)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:276)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java
    :33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Message: EXPORT XFA error while writing XFA files
    Stack trace: com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA error while writing XFA files
    at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:311)
    at com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)
    at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:96)
    at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:626)
    at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:405)
    at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:325)
    at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:71)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:593)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:132)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:349)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:4494)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:4568)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4204)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4150)
    at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:2948)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2794)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:994)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:883)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:860)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:359)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:276)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java
    :33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.NullPointerException
    at com.sap.ip.bi.export.model.layout.impl.Margins.<init>(Margins.java:32)
    at com.sap.ip.bi.export.model.layout.impl.CellLayout.<init>(CellLayout.java:48)
    at com.sap.ip.bi.export.model.layout.impl.CellLayout.dub(CellLayout.java:57)
    at com.sap.ip.bi.export.xfa.xftextensions.TableContentIterator.createCell(TableContentIterator.java:170)
    at com.sap.ip.bi.export.xfa.xftextensions.TableContentIterator.next(TableContentIterator.java:104)
    at com.sap.ip.bi.export.xfa.xftextensions.TableSubFormSet.writeXFD(TableSubFormSet.java:1189)
    at com.sap.ip.bi.export.xfa.core.Xft_subform.writeXFD(Xft_subform.java:1604)
    at com.sap.ip.bi.export.xfa.core.Xft_subform.writeXFD(Xft_subform.java:1604)
    at com.sap.ip.bi.export.xfa.core.Xft_template.writeXFD(Xft_template.java:216)
    at com.sap.ip.bi.export.xfa.core.Xft.writeXFD(Xft.java:62)
    at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:294)
    2. Message:
    No metadata is available for "DISABLE_NAVIGATION":
    <parameterList>
      <param name="BI_COMMAND_TYPE" value="OPEN_DIALOG_DISABLE_NAVIGATION"/>
      <param name="TARGET_DIALOG_REF" value="DISABLE_NAVIGATION"/>
    </parameterList>
    In this window, complete screen of report is displayed as an image instead of PDF.
    Please let me know if anybody faced similar issue earlier.
    It was working perfect earlier, but suddenly error started.
    regards
    Kedar Kulkarni

    No proper findings, but issue resolved.
    Problem i found that we got a domain change and service values were not refreshed until we apply new patch.
    So when we applied patch level 6 on BI WEBAPP& BI BASE S URL for ADS got refreshed and we faced the issue.
    After resetting the URL to new domain problem got resolved.
    Regards
    Kedar Kulkarni

  • Error while writing wsdl file

    Hi,
    i' m working on jdeveloper 10.1.3.1.0 and when i want to add a partner link to my BPEL project i get 'error while writing wsdl file' 'exception null' error then i couldn't create file.
    so how can i solve this problem?
    HELP:)

    Once the wrapper procedure is created by the adapter, the adapter does a second search to obtain the information about the wrapper (i.e. parameters, their data types, etc.). What's likely happening here is that the wrapper is getting created, but the adapter can't find it. The XSD is based on the wrapper, so if it can't be found, then no XSD can be generated. Try removing the existing wrapper package or choose that option in the wizard when it generates a new one.

  • Rendering error while writing to file...Quicktime

    Hi all,
    I am brand new here and have an urgent question. I have been getting an error in After Effects CS6 whenever I try to render to a quicktime movie that says "Rendering error while writing to file...An output module failed. The file may be damaged or corrupted."
    I have spent days trying to fix this and I have read other peoples posts with the same question but I have cleared my disk cache and reinstalled quicktime without success.
    Any help would be great I am not super technology advanced so try to keep it simple if you can.
    Computer Specs:
    750gb Hard Drive
    8gb Ram
    Intel Core i5
    Nvidia Geforce GTX 660M graphics

    Start by going through all of the troubleshooting suggestions here:
    http://blogs.adobe.com/aftereffects/2011/02/troubleshooting-quicktime-errors-with-after-ef fects.html
    If you need additional help, please provide answers to all of the questions listed here: "FAQ: What information should I provide when asking a question on this forum?"

  • After Effect error: Rendering error while writing to file

    Greetings,
    I'm a beginner and am starting to learn most of the basics but every time I try to render a specific type of composition, I get this massage:
    After Effect error: Rendering error while writing to file "C:Users\Admin\Videos\720p.mp4".Unknown Error! (-1610153453)
    RENDER SETTINGS:
    LENGTH: 8min. and 30 sec
    FORMAT:H.264
    CODEC: mp4
    RESOLUTION: 1280 x 720
    AUDIO: 48.000 kHz, Stereo
    OUTPUT LOCATION: C DRIVE (22GB FREE)
    I got Windows Ultimate 64-bit and Adobe After Effect CS5.5 64-bit (both on C drive) installed in my laptop.
    When I first installed after effect, I rendered a part of the whole composition (AVI, 720p) and it worked but after that when I rendered with
    format H.264 it showed this massage. Then I tried to change it back to AVI. and rendered. again the same massage.
    My C drive isn't full, I have 22GB SPACE AVAILABLE.
    And when I try to save it on D (114GB free) or E drive (33GB free), It shows me the SAME MASSAGE.
    PLEASE HELP
    Thanks in advance.

    Hi HR and everyone that have the problem error (-1610153453)
    In my case I solved the problem changing the destination folder, I was rendering in a folder with a non english character! in my spanish language we have the "Ñ" ('n' with a wave on top ) after effects mp4 codec NO Ñ or cyrillic, etc...
    I finally solve it thanks the russian friends: (http://nix-studio-edition.ru/tutorials/faq/1083-ae-1610153453.html) and Google translator
    Hope it helps to desperate workers
    Thanks

  • Access denied error while writing a file to the file system - myfileupload.saveas() throws system.unauthorizedexception

    hi,
    as part of my requirement , i have to perform read and  write  operations of  few files [ using the file upload control in my custom visual web part] and on submit button click.
    but while writing these files - with the help of  fileupload control - and when i use  myfileupload.saveas(mylocation);
    - i am saving these files into my D:\ drive of my server , where i am executing my code -, am getting access denied error.
    it throws system.unauthorizedexception.
    i have given full control on that folder where i was trying to store my attached files. and also  after following asp.net forums,
    i have added  iusr group added and performed all those steps such that, the file is saved in my D:\ drive.
    but unfortunately  that didnt happen.
    also
    a) i am trying the code with runwithelevatedprivileges(delegate() )  code
    b) shared the drive within the  d :drive where i want o save the files.
    c) given the full privieleges for the app pool identity- in my case , its
    network service.
    the  other strange thing is that, the same code works perfectly in  other machine, where the same sp, vs 2012  etc were installed .
    would like to know, any other changes/ steps i need to make it on this  server, where i am getting the  error.
    help is  appreciated!

    vishnuS1984 wrote:
    Hi Friends,
    I have gone through scores of examples and i am failing to understand the right thing to be done to copy a file from one directory to another. Here is my class...So let's see... C:\GetMe1 is a directory on your machine, right? And this is what you are doing with that directory:
    public static void copyFiles(File src, File dest) throws IOException
    // dest is a 'File' object but represents the C:\GetMe1 directory, right?
    fout = new FileOutputStream (dest);If it's a directory, where in your code are you appending the source file name to the path, before trying to open an output stream on it? You're not.
    BTW, this is awful:
    catch (IOException e)
    IOException wrapper = new IOException("copyFiles: Unable to copy file: " +
    src.getAbsolutePath() + "to" + dest.getAbsolutePath()+".");
    wrapper.initCause(e);
    wrapper.setStackTrace(e.getStackTrace());
    throw wrapper;
    }1) You're hiding the original IOException and replacing it with your own? For what good purpose?
    2) Even if you had a good reason to do that, this would be simpler and better:
    throw new IOException("your custom message goes here", e);
    rather than explicitly invokign initCause and setStackTrace. Yuck!

  • Error while creating logical file using transaction FILE

    Hello there,
    I am facing an error while creating Logical File name definition using transaction FILE
    This is the input which I'm trying to give
    Logical file name: ZTEST
    Name : ZTEST
    Physical file : ZTEST_1<DATE><TIME>.csv
    Data format: ASC
    Application area: BW
    Logical path:ZTEST_1_DATAOUT
    when I tried to save it throws me an error like  ASSIGN_SUBSTRING_NOT_ALLOWED
    Please help.

    Hi,
    Please check the OSS Notes :
    Note 792061 - SP Case Locator: Dump: ASSIGN to a substring isn't allowed.
    SAP Note 1297989 - Short dump ASSIGN_SUBSTRING_NOT_ALLOWED
    Hope this solves the problem.
    -Vikram

  • Error while writing to file

    Hi all,i am trying to write some data into a file using utl_file.But i am getting UTL_FILE.WRITE_ERROR
    Here are the details
    '    v_file_name := 'File'||TO_CHAR(SYSDATE, '_DDMMYYYY_HH24MISS')||'.csv';
          v_file_handle := UTL_FILE.FOPEN(p_file_dir, v_file_name, 'w');
          v_message := '"*PRINTERNUMBER","*QUANTITY","*FORMAT","*DUPLICATES",'||
                 '"cust_b_name","cust_b_add1","cust_b_city","cust_b_state","cust_b_zip",'||
                 '"cust_s_name","cust_s_add1","cust_s_city","cust_s_state","cust_s_zip",'||
                 '"cust_b_add2","cust_s_add2",'||
                 '"order_date","order_po","reservation_no",'||
                 '"desc_1","desc_3","desc_5","desc_7","desc_9","desc_2","desc_4","desc_6","desc_8","desc_10","desc_11","desc_12",'||
                 '"serial_1","serial_3","serial_5","serial_7","serial_9","serial_2","serial_4","serial_6","serial_8","serial_10","serial_11","serial_12",'||
                 '"status_1","status_3","status_5","status_7","status_9","status_2","status_4","status_6","status_8","status_10","status_11","status_12",'||
                 '"upc_1","upc_3","upc_5","upc_7","upc_9","upc_2","upc_4","upc_6","upc_8","upc_10","upc_11","upc_12",'||
                 '"cur_ship_1","cur_ship_3","cur_ship_5","cur_ship_7","cur_ship_9","cur_ship_2","cur_ship_4","cur_ship_6","cur_ship_8","cur_ship_10","cur_ship_11","cur_ship_12",'||
                 '"order_qty_1","order_qty_3","order_qty_5","order_qty_7","order_qty_9","order_qty_2","order_qty_4","order_qty_6","order_qty_8","order_qty_10","order_qty_11","order_qty_12",'||
                 '"fut_ship_1","fut_ship_3","fut_ship_5","fut_ship_7","fut_ship_9","fut_ship_2","fut_ship_4","fut_ship_6","fut_ship_8","fut_ship_10","fut_ship_11","fut_ship_12",'||
                 '"item_price_1","item_price_3","item_price_5","item_price_7","item_price_9","item_price_2","item_price_4","item_price_6","item_price_8","item_price_10","item_price_11","item_price_12",'||
                 '"total_item_price_1","total_item_price_3","total_item_price_5","total_item_price_7","total_item_price_9","total_item_price_2","total_item_price_4","total_item_price_6","total_item_price_8","total_item_price_10","total_item_price_11","total_item_price_12",'||
                 '"gift_message","M_total","G_Total","SalesTax","shipping"';
          DBMS_OUTPUT.PUT_LINE('Message1:'|| v_message);
           --DBMS_OUTPUT.PUT_LINE(v_file_handle);
          UTL_FILE.PUT_LINE(v_file_handle,v_message);
       FOR ch_rec IN C1 LOOP
         UTL_FILE.PUT_LINE(v_file_handle, ch_rec.slip_text);
               DBMS_OUTPUT.PUT_LINE('Slip Text' || ch_rec.slip_text);
            DBMS_OUTPUT.PUT_LINE('Message:'|| v_message);
        --       DBMS_OUTPUT.PUT_LINE('File Handle' || v_file_handle);
        END LOOP;
        UTL_FILE.FCLOSE(v_file_handle);
            EXCEPTION
            WHEN UTL_FILE.INVALID_OPERATION THEN
                UTL_FILE.FCLOSE_ALL;
                v_error_msg := 'Invalid Operation. Exception - UTL_FILE.INVALID_OPERATION';
                DBMS_OUTPUT.PUT_LINE(v_error_msg);
             WHEN UTL_FILE.INVALID_FILEHANDLE THEN
                UTL_FILE.FCLOSE_ALL;
                v_error_msg := 'Invalid File Handle. Exception - UTL_FILE.INVALID_FILEHANDLE';
                DBMS_OUTPUT.PUT_LINE(v_error_msg);
             WHEN UTL_FILE.INVALID_PATH THEN
                UTL_FILE.FCLOSE_ALL;
                v_error_msg := 'Invalid Path. Exception - UTL_FILE.INVALID_PATH ' || p_file_dir ||' ' || v_file_name;
                DBMS_OUTPUT.PUT_LINE(v_error_msg);
             WHEN UTL_FILE.INTERNAL_ERROR THEN
                UTL_FILE.FCLOSE_ALL;
                v_error_msg := 'Iternal Error. Exception - UTL_FILE.INTERNAL_ERROR';
                DBMS_OUTPUT.PUT_LINE(v_error_msg);
             WHEN UTL_FILE.INVALID_MODE THEN
                UTL_FILE.FCLOSE_ALL;
                v_error_msg := 'Invalid Mode. Exception - UTL_FILE.INVALID_MODE';
                DBMS_OUTPUT.PUT_LINE(v_error_msg);
             WHEN UTL_FILE.WRITE_ERROR THEN
                UTL_FILE.FCLOSE_ALL;
                v_error_msg := 'Write Error. Exception - UTL_FILE.WRITE_ERROR';
                DBMS_OUTPUT.PUT_LINE(v_error_msg);
             WHEN UTL_FILE.READ_ERROR THEN
                UTL_FILE.FCLOSE_ALL;
                v_error_msg := 'Read Error. Exception - UTL_FILE.READ_ERROR';
                DBMS_OUTPUT.PUT_LINE(v_error_msg);
             WHEN OTHERS THEN
                UTL_FILE.FCLOSE_ALL;
                v_error_msg := 'Unknown Error in REGAL_PACK_SLIP_WORKTAB procedure';
                DBMS_OUTPUT.PUT_LINE(v_error_msg);
    END;When i am trying to execute the above using a function,below is the dbms message
    Message1:"*PRINTERNUMBER","*QUANTITY","*FORMAT","*DUPLICATES","cust_b_name","cust_b_add1","cust_b_city","cust_b_state","cust_b_zip","cust_s_name","cust_s_add1","cust_s_city","cust_s_state","cust_s_zip","cust_b_add2","cust_s_add2","order_date","order_po","reservation_no","desc_1","desc_3","desc_5","desc_7","desc_9","desc_2","desc_4","desc_6","desc_8","desc_10","desc_11","desc_12","serial_1","serial_3","serial_5","serial_7","serial_9","serial_2","serial_4","serial_6","serial_8","serial_10","serial_11","serial_12","status_1","status_3","status_5","status_7","status_9","status_2","status_4","status_6","status_8","status_10","status_11","status_12","upc_1","upc_3","upc_5","upc_7","upc_9","upc_2","upc_4","upc_6","upc_8","upc_10","upc_11","upc_12","cur_ship_1","cur_ship_3","cur_ship_5","cur_ship_7","cur_ship_9","cur_ship_2","cur_ship_4","cur_ship_6","cur_ship_8","cur_ship_10","cur_ship_11","cur_ship_12","order_qty_1","order_qty_3","order_qty_5","order_qty_7","order_qty_9","order_qty_2","order_qty_4","order_qty_6","order_qty_8","order_qty_10","order_qty_11","order_qty_12","fut_ship_1","fut_ship_3","fut_ship_5","fut_ship_7","fut_ship_9","fut_ship_2","fut_ship_4","fut_ship_6","fut_ship_8","fut_ship_10","fut_ship_11","fut_ship_12","item_price_1","item_price_3","item_price_5","item_price_7","item_price_9","item_price_2","item_price_4","item_price_6","item_price_8","item_price_10","item_price_11","item_price_12","total_item_price_1","total_item_price_3","total_item_price_5","total_item_price_7","total_item_price_9","total_item_price_2","total_item_price_4","total_item_price_6","total_item_price_8","total_item_price_10","total_item_price_11","total_item_price_12","gift_message","M_total","G_Total","SalesTax","shipping"
    Write Error. Exception - UTL_FILE.WRITE_ERRORWhen it could write into a dbms message,why can't it write into a utl_file?
    Any help is appreciated,
    Thanks in advance!!

    sandy wrote:
    I hope not why coz we are trying to write other files which work fine,is there any size restriction on utl_file?Yes. Max is 32627 and default is 1024
    Try this
    v_file_handle := UTL_FILE.FOPEN(p_file_dir, v_file_name, 'w',32627);
    -----Just did a testing...
    SQL> declare
      2   fp utl_file.file_type := UTL_FILE.FOPEN('TESTDIR', 'a.txt', 'w');
      3  begin
      4   utl_file.put_line(fp,rpad('x',1020,'x'));
      5   utl_file.fclose(fp);
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SQL> declare
      2   fp utl_file.file_type := UTL_FILE.FOPEN('TESTDIR', 'a.txt', 'w');
      3  begin
      4   utl_file.put_line(fp,rpad('x',1025,'x'));
      5   utl_file.fclose(fp);
      6  end;
      7  /
    declare
    ERROR at line 1:
    ORA-29285: file write error
    ORA-06512: at "SYS.UTL_FILE", line 77
    ORA-06512: at "SYS.UTL_FILE", line 691
    ORA-06512: at line 5
    SQL> declare
      2   fp utl_file.file_type := UTL_FILE.FOPEN('TESTDIR', 'a.txt', 'w',2000);
      3  begin
      4   utl_file.put_line(fp,rpad('x',1025,'x'));
      5   utl_file.fclose(fp);
      6  end;
      7  /
    PL/SQL procedure successfully completed.Edited by: jeneesh on Jun 21, 2012 9:58 AM
    Edited by: jeneesh on Jun 21, 2012 10:04 AM

  • "encoding = UTF-8" missing while writing XML file using file Adapter

    Hi,
    We are facing an unique problem writing xml file using file adapter. The file is coming without the encoding part in the header of xml. An excerpt of the file that is getting generated:
    <?xml version="1.0" ?>
    <customerSet>
    <user>
    <externalID>51017</externalID>
    <userInfo>
    <employeeID>51017</employeeID>
    <employeeType>Contractor</employeeType>
    <userName/>
    <firstName>Gail</firstName>
    <lastName>Mikasa</lastName>
    <email>[email protected]</email>
    <costCenter>8506</costCenter>
    <departmentCode/>
    <departmentName>1200 Corp IT Exec 8506</departmentName>
    <businessUnit>1200</businessUnit>
    <jobTitle>HR Analyst 4</jobTitle>
    <managerID>49541</managerID>
    <division>290</division>
    <companyName>HQ-Milpitas, US</companyName>
    <workphone>
    <number/>
    </workphone>
    <mobilePhone>
    <number/>
    </customerSet>
    </user>
    So if you see the header the "encoding=UTF-8" is missing after "version-1.0".
    Do we need to configure any properties in File Adapter?? Or is it the standard way of rendering by the adapter.
    Please advice.
    Thanks in advance!!!

    System.out.println(nodeList.item(0).getFirstChild().getNodeValue());

  • Error while accessing excel file using ODBC

    Hi
    I am getting the below error message while accessing excel sheet using ODBC from Oracle:
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from EXCL
    Can anyone help me on this...
    Cheers
    Pradeep
    Message was edited by:
    user634393

              Hi
              Thank you.Is there a way to read a file which is existing in the war file.
              Regards
              Anand Mohan
              "Wenjin Zhang" <[email protected]> wrote:
              >
              >In Weblogic, if your files are archived in a WAR, you cannot get an entry
              >as individual
              >file since it is only bytes in a large archive file. So getRealPath will
              >give
              >you null result. If you only want the path, try to use other getXXXPath,
              >getURL,
              >or getURI method. If you want to read the content, use getResource.
              >
              >
              >"Anand" <[email protected]> wrote:
              >>
              >>Hi
              >>I am having problem while accessing the file located in the server from
              >>a JSP
              >>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
              >>
              >>The same code is working if the jsp placd under defaultwebApp directory
              >>and not
              >>working if i create a war and deploy the same.
              >>
              >>I am using weblogic server 7.0 trail version.I am setting the context
              >>path also.
              >>
              >>Can any help me in this regard.
              >>
              >>Thank And Regards
              >>
              >>Anand Mohan
              >
              

Maybe you are looking for

  • Key figure diffrence in Dev and Pro

    Hi Experts, I have one cube in Dev and Production but key figure Current Price out put is difference in both like dev it comes 30.12 and in production getting like 30,12. but make sure i am using same keyfigure. Thanks David

  • How to write a sql query

    Test(Table) aaa 17.123 17.42 17.1234567 17.123456 i want to get the values whose precision is >6 i.e i should get 17.1234567 because when executing a stor proc iam getting ORA-6502 error Thanks in advance

  • Premiere crashing. Using Blackmagic Intensity Pro HDV sequence

    Hi. I'm editing with Premiere. I'm using an intensity pro card(blackmagic design) with Q4000 Nvidia Graphics card. It keeps crashing on me. More so with the HDV footage I'm editing. I have included my computer specs as well as media info of my source

  • Cashed check was voided accidentally

    Hello, A cashed check was voided accidentally. I did the clearing reset using FBRA, then reversed doc using FB08. The vendor account and bank account are now correct. The problem is that the Check Register still shows the check as void thus not showi

  • On my network 1 Mac is not showing any devices in Shared in Finder, any ideas ?

    A few of MacBook's, and Mac Pro's - 1 Running OS X Server. one Mac Pro has no devices listed in Network or Shared & can't see the servers Time Machine volume, but you can connect with afp://ip_address Any suggestions ? the 2 machines in question are