Error in uploading a File

Hi All,
when uploading a file i got a Exception
<b>"Parse method is not possible for this type"</b>
1)i used only two UIs in view
2)FileUpload UI and Button
3)For FileUpload UI i assigned the FileResource context attribute value for data property
4)action onActionUpload() is assigned for the Button UI. in this action simply displayed a success message
Problem: After choosing the file through the ChooseFile window, when i click on the button an exceptio of above type was raised
please help me
Thanks in advance
Siva Sankar N

Siva,
You must apply modifiable binary type in wdDoInit of controller:
ISimpleType stype =
  wdContext
    .node<YourNode>()
      .getNodeInfo()
        .getAttribute("FileResource")
          .getModifiableSimpleType();
IWDModifiableBinaryType mtype = (IWDModifiableBinaryType)stype;
/* Optional steps: affects only FileDownload control */
/* mtype.setMimeType( WDWebResourceType.JPG_IMAGE);  */
/* mtype.setFileName( "picture.jpg" );               */
Sure, to make above work you must use binary type in context designer.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net

Similar Messages

  • Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API

    Hi All,
    In one of my tasks, I was struck with one issue, that is "While uploading multiple files into custom list with REST API".
    Iam trying to upload multiple files in library with REST calls for an APP development, my issue is if i wants to upload 4 image at once its storing only
    3 image file and further giving "Conflict" error". Below is the attached screenshot of exact error.
    Error within screenshot are : status Code : 409
    status Text :conflict
    For this operation i am uploading different files as an attachment to an list item, below is the code used for uploading multiple files.
    my code is
    function PerformUpload(listName, fileName, listItem, fileData)
        var urlOfAttachment="";
       // var itemId = listItem.get_id();
        urlOfAttachment = appWebUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + listItem + ")/AttachmentFiles/add(FileName='" + fileName + "')"
        // use the request executor (cross domain library) to perform the upload
        var reqExecutor = new SP.RequestExecutor(appWebUrl);
        reqExecutor.executeAsync({
            url: urlOfAttachment,
            method: "POST",
            headers: {
                "Accept": "application/json; odata=verbose",
                "X-RequestDigest": digest              
            contentType: "application/json;odata=verbose",
            binaryStringRequestBody: true,
            body: fileData,
            success: function (x, y, z) {
                alert("Success!");
            error: function (x, y, z) {
                alert(z);

    Hi,
    THis is common issue if your file size exceeds 
     upload a document of size more than 1mb. worksss well for kb files.
    https://social.technet.microsoft.com/Forums/office/en-US/b888ac78-eb4e-4653-b69d-1917c84cc777/getting-error-while-uploading-multiple-files-in-sharepoint-hosted-app-in-2013-with-rest-api?forum=sharepointdevelopment
    or try the below method
    https://social.technet.microsoft.com/Forums/office/en-US/40b0cb04-1fbb-4639-96f3-a95fe3bdbd78/upload-files-using-rest-api-in-sharepoint-2013?forum=sharepointdevelopment
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Error while uploading .xml file for Customer/Vendor List for Italy

    Hi All,
    We are facing problem while uploading the .xml file in DMEE transaction for the new Customer/Vendor List for Italy.
    We have followed the entire process given in the OSS Note(1090857).
    We have SAP 4.6c and followed the below steps:
    1. Created ID-FI-IT Development class
    2. Added domains
    3. Added Data elements
    4. Tried to upload the given .xml file and got any error saying ".xml file could not be interpreted".
    Also there is a .SAR file mentioned to upload if we receive any errors while uploading .xml file.
    Tried uploading the .SAR file also. STill we are recieving the same Error.
    Can any one of you help us out.
    Thanks in Advance.
    Ramesh

    Ok, we upload .SAR file in this way:
    1. unpack .SAR file with SAPCAR.EXE program. Yuo obtain 2 files
    R492445.P9C and K492445.P9C
    2. put K492445.P9C in directory \SAPMNT\TRANS\COFILES and put R492445.P9C in directory \SAPMNT\TRANS\DATA of your system (DEV, TST or PRD)
    3. Use Tx STMS. If You want create DMEE tree in DEV system, go to DEV import queue. Choose menu Extras | Other requests | Add. Insert P9CK492445 in Transp. request field.
    4. Import the request. This creates the DMEE tree. You don't need ti upload XML file after. You can see the DMEE tree created with Tx DMEE and inserting
    Tree type        UMS1            
    Format tree     IT_CUST_VEN_LIST
    5. after continue follow the note
    I hope this help you
    Roberto

  • Error while uploading tiff file using report "RSTXLDMC"

    Hi Experts,
    I am trying to upload .tif file into SAP usinf report "RSTXLDMC".
    Getting below error.
    Uploading TIFF Files to SAPscript Texts
    Load File
    c:\file.tif
    The file contains    134,412  bytes
    This is a TIFF file with MOTOROLA byte order
    First IFD offset:                                        8
    Reading IFD from offset          8  Number of Tags         13
    ImageWidth:                                          5,120
    ImageLength:                                         6,590
    Compression:                                             2
    Photometric Interpretation:                              0
    Number of StripOffsets:                                  5
    RowsPerStrip:                                        1,636
    Number of StripByteCounts:                               5
    XResolution:                                           600  /          1
    YResolution:                                           600  /          1
    ResolutionUnit:                                          2
    This is a baseline TIFF 6.0 BILEVEL file
    TIFF upload not possible, compression type 2 not supported
    How to solve this ????
    Please help.
    Regards,
    SVS

    Dear Vijay,
    I have one tiff 6.0 image which i am passing to program "RSTXLDMC".
    I have not done any conversion or changes in the file.
    Regards,
    Sagar Sontakke

  • (409) Conflict Error while uploading the file into Sharepoint library

    Getting the below error while uploading the file into Sharepoint library.
    (409) Conflict. at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() at Microsoft.SharePoint.Client.File.SaveBinary(ClientContext context, String serverRelativeUrl,
    Stream stream, String etag, Boolean overwriteIfExists
    I have used the below code:
    ClientOM.File.SaveBinaryDirect(clientContext, "/Shared%20Documents/NewDocument.pptx", memoryStream, true);
    Thanks in advance.

    May be issue is with path.
    https://server/ should be there instead of
    subsite path(https://server/path/path)
    in the client context
    Check the below link
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/fbb38b10-1127-48a6-a65f-0301edd766c4/the-remote-server-returned-an-error-409-conflict-error-while-uploading-files-to-sharepoint?forum=sharepointdevelopmentlegacy

  • UCCX 8.0 "Error while uploading the file. Please try again."

    I was on UCCX  version 8.0.2.11003-10 and i was able to upload an script with the same name as an old one (overwrite).
    Upgrade to  UCCX 8.0.2.11004-12 and now I am receiving the error: "Error while uploading the file. Please try again."
    There was a bug CSCth09248 that affected version 7 but supposed to be fixed on version 8 and was fixed on an earlier version. But after moving to a minor patch, problem came back...
    Any ideas?

    Hi,
    I belive the bug was initially opened to fix the issue when uploading script fails when using wizard to configure uccx.
    But now they have re-opened the same bug instead of opened a new one for the issue that you have.
    I looked at the case attached to that bug, case # 617145545. Below is the problem description that customer has which is same as yours and this bug has been re-opened to fix this particular problem.
    When I tried to upload a modified script with an existing file name, the message "script file already exists.
    Overwrite existing script file, continue?" comes up and when I select "OK" then,
    it dispaly Status "Error while uploading the file.  Please try again".
    If I remove an existing file first, it will upload fine.  
    Using UCCX Admin 8.0.2.11004-12 and UCCX Editor 8.0(2.0).
    Thanks
    Ankita

  • An error message uploading "large" files

    Hello!
    I'm getting an error message uploading "large" files (40-70 mb) - "unable to sync "file_name" due to server error". This message occurs only with a "large" files. The files up to 10 mb syncs perfectly and all of my files are correct (no issues with a "Windows-reserved / trailing" characters or "files in use").
    I pay 90 usd montly to Adobe and still need to use free services like Wetransfer or Dropbox. Please help.
    Thank you!
    Mindaugas

    I'm having this same problem and have written other posts but no replies. The file size for a single file is supposed to be something like 1-2 gig. How can a 40-70 meg file not work? It seems like the cloud storage feature is a selling point only and not fully realized yet. I love the interface and the idea but it's unrelaible to sync up, leave work, arrive home and no "larger" files are available. Yep, back to Dropbox and Google drive unfortunately.

  • Error in uploading a file in server

    Hi,
    We are working in a application whose technologies are Flex 4.0 and .Net 2010.
    We are using .Net WCF Service for interacting with backend from the Flex front end.
    In our application, we have requirement to upload a file from the client into a server.
    We faced the following issue,
    Security violation Issue #2032.
    Solution: We have found that there is a sandbox restriction to access other domains, then we have placed the crossdomain.xml, which resolves the issue.
    But this solution works only in the IE.
    We are still getting the same error (Error #2032: Stream Error.) in other browsers - FireFox, Chrome and Safari.
    Please let us know if there are any suggestions or solutions for this issue.
    Regards,
    Guru

    Siva,
    You must apply modifiable binary type in wdDoInit of controller:
    ISimpleType stype =
      wdContext
        .node<YourNode>()
          .getNodeInfo()
            .getAttribute("FileResource")
              .getModifiableSimpleType();
    IWDModifiableBinaryType mtype = (IWDModifiableBinaryType)stype;
    /* Optional steps: affects only FileDownload control */
    /* mtype.setMimeType( WDWebResourceType.JPG_IMAGE);  */
    /* mtype.setFileName( "picture.jpg" );               */
    Sure, to make above work you must use binary type in context designer.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Error while uploading a file using ke13 transactoin

    Hi..
    We have the following error when uploading a project plan by cost element excel upload using KE13 transaction...
    There is a z program that calls this ke13 program while uploading. The excel file is split into x files and uploaded..
    THe error is: Quantity Unit HR cannot be converted to & and error occured when generating data for planning processor...
    Any idea if someone face similar situation..
    Any clue would help us..
    Thanks,
    Kanthi.

    Hi,
        Covert quantity to char and upload the data.
    Regards
    Amole

  • Error while uploading WSDL file in Interactive Form Data Connection!

    I have created we service to return some data based on user input.
    I am trying to link this webservice to Interactive adobe form! and While creating new data connection->uploading WSDL file--> I am receiving error i.e. Invalid File.
    Please help me in resolving this issue.
    I have created this WSDL file copy/pasting XML code generates from "Open WSDL document for selected binding" link in SOAMANAGER.
    Regards,
    Naveen.I

    Hello,
    This is a Webservice created for the FM : HRXSS_PER_READ_EMERGENCY_AR
    Here is the sample of the WSDL file generated, as asked by you.
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:n1="urn:sap-com:document:sap:rfc:functions">
    - <wsdl:documentation>
      <sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl" />
      </wsdl:documentation>
      <wsp:UsingPolicy wsdl:required="true" />
    - <wsp:Policy wsu:Id="BN_BN_ZHR_READ_EMERGENCY">
      <saptrnbnd:OptimizedXMLTransfer uri="http://xml.sap.com/2006/11/esi/esp/binxml" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true" />
      <saptrnbnd:OptimizedXMLTransfer uri="http://www.w3.org/2004/08/soap/features/http-optimization" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true" />
    - <wsp:ExactlyOne xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
    - <wsp:All>
    - <sp:TransportBinding>
    - <wsp:Policy>
    - <sp:TransportToken>
    - <wsp:Policy>
      <sp:HttpsToken />
      </wsp:Policy>
      </sp:TransportToken>
    - <sp:AlgorithmSuite>
    - <wsp:Policy>
      <sp:TripleDesRsa15 />
      </wsp:Policy>
      </sp:AlgorithmSuite>
    - <sp:Layout>
    - <wsp:Policy>
      <sp:Strict />
      </wsp:Policy>
      </sp:Layout>
      </wsp:Policy>
      </sp:TransportBinding>
      </wsp:All>
      </wsp:ExactlyOne>
      </wsp:Policy>
    - <wsp:Policy wsu:Id="IF_IF_ZHR_READ_EMERGENCY">
    - <sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/">
      <sapsession:enableSession>false</sapsession:enableSession>
      </sapsession:Session>
      <sapcentraladmin:CentralAdministration xmlns:sapcentraladmin="http://www.sap.com/webas/700/soap/features/CentralAdministration/" wsp:Optional="true" />
      </wsp:Policy>
    - <wsp:Policy wsu:Id="OP_IF_OP_HrxssPerReadEmergencyAr">
      <sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit>
      <sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking>
      <saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required>
      <saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM>
      </wsp:Policy>
    - <wsdl:types>
    - <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
    - <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    "More simple types
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:schema>
    - <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:n0="urn:sap-com:document:sap:rfc:functions">
      <xsd:import namespace="urn:sap-com:document:sap:rfc:functions" />
    - <xsd:complexType name="Bapiret2">
    - <xsd:sequence>
    "More element names
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="Messages" type="tns:Bapirettab" />
      <xsd:element name="Records" type="tns:HcmtBspPaArR0006Tab" />
      <xsd:element name="Records2" type="tns:HcmtBspPaArR0021Tab" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="HrxssPerReadEmergencyAr">
      <wsdl:part name="parameters" element="tns:HrxssPerReadEmergencyAr" />
      </wsdl:message>
    - <wsdl:message name="HrxssPerReadEmergencyArResponse">
      <wsdl:part name="parameter" element="tns:HrxssPerReadEmergencyArResponse" />
      </wsdl:message>
    - <wsdl:portType name="ZHR_READ_EMERGENCY">
    - <wsp:Policy>
      <wsp:PolicyReference URI="#IF_IF_ZHR_READ_EMERGENCY" />
      </wsp:Policy>
    - <wsdl:operation name="HrxssPerReadEmergencyAr">
    - <wsp:Policy>
      <wsp:PolicyReference URI="#OP_IF_OP_HrxssPerReadEmergencyAr" />
      </wsp:Policy>
      <wsdl:input message="tns:HrxssPerReadEmergencyAr" />
      <wsdl:output message="tns:HrxssPerReadEmergencyArResponse" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ZHR_READ_EMERGENCY" type="tns:ZHR_READ_EMERGENCY">
    - <wsp:Policy>
      <wsp:PolicyReference URI="#BN_BN_ZHR_READ_EMERGENCY" />
      </wsp:Policy>
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <wsdl:operation name="HrxssPerReadEmergencyAr">
      <soap:operation soapAction="" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="service">
    - <wsdl:port name="ZHR_READ_EMERGENCY" binding="tns:ZHR_READ_EMERGENCY">
      <soap:address location="http://cieh4-srvr.collabera.com:8000/sap/bc/srt/rfc/sap/zhr_read_emergency/900/zhr_read_emergency/zhr_read_emergency" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    Cheers,
    Remi

  • SharePoint 2013 Foundation error when uploading Excel files

    Hello 
    I have a specific problem. I have an xlsx file that I cannot upload in SharePoint. Normally our SharePoint can upload Excel files and other file formats normally but this one has data with nearly 5000 rows. The size of the file is less then 500 KB. The error
    message is: "The URL is invalid. Perhaps it refers to a nonexistent file or folder, or it refers to a valid file or folder in the current Web." When I am uploading this file I am getting the same error message in every library. When I save
    the file as a 97-2003 compatible xls then it works. Sometimes even Excel files with Macros won't upload. 
    Kind regards
    ivicapro1987

    Hi,
    This issue occurs when the Version column is configured as an Indexed Column. 
    To work around this issue, remove the Version column from the list of Indexed Columns for the list that has this issue. To do this, follow these steps:
    Browse to the list where the issue exists.
    In the ribbon, click the Library tab, and then click
    Library Settings.
    In the fields list, click Indexed Columns.
    In the Indexed Columns list, click Version.
    Click Delete, and then click OK.
    Upload any files that you previously experienced the issue with.
    Reference:
    https://support.microsoft.com/kb/2796640?wa=wsignin1.0
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Error while uploading a file via GS_CM

    Dear experts,
    When we try to upload some files to CRM incident via GS_CM we gen a following error: "operation is not allowed (crm_p_ord)"
    We noticed that the error usually arrears when we upload files with long file names ( 30> chars)
    It's important to say that we can add files having a shorter file name( up to ~30 chars).
    Does anyone know the limitations about the file name (length, special characters, etc.) ?
    We are using CRM7 (ICM).
    Thank you

    Hi,
        Covert quantity to char and upload the data.
    Regards
    Amole

  • Error in uploading excel file using Java pages

    Hello,
    We are using oracle ERP (R12.1.1) and we have developed one JSP page to upload an excel.
    After selecting the excel and browse button is clicked we are gettign the OLE stream error when the excel file is .csv or .xlsx. There is no issue with .xls excel files. For loading the excel data to custom table we are using the "jxl-2.6.jar".
    Can we get higher version of "jxl-2.6.jar to support CSV upload?
    Thanks.

    Are you Registered this jsp upload page to EBS before test?
    You have to register the page to EBS first.
    Regards,
    Dilip

  • Error during Uploading a File

    Hey am stuck in a problem here am trying to upload a file using HttpOutputStream at the client side and at the server side trying to read the file using ServletInputStream .Everytime in the middle of writing the file from ServletInputStream i encounter the following error .
    Kindly help !!!!!!!!!!!!!!!!!
    java.net.SocketTimeoutException: Read timed out
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:747)
         at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:777)
         at org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:115)
         at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:712)
         at org.apache.coyote.Request.doRead(Request.java:429)
         at org.apache.coyote.tomcat5.InputBuffer.realReadBytes(InputBuffer.java:290)
         at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:374)
         at org.apache.coyote.tomcat5.InputBuffer.read(InputBuffer.java:305)
         at org.apache.coyote.tomcat5.CoyoteInputStream.read(CoyoteInputStream.java:179)
         at common.UploadServlet.doGet(UploadServlet.java:104)
         at common.UploadServlet.doPost(UploadServlet.java:255)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:595)

    Which version of portal are you using

  • Error when uploading a file

    hi
    im uploading a file using the GUI_UPLOAD and when im doing the command
    OPEN DATASET x_file FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE msgid.
    Its retrurning me an error 'No such file or directory'
    The file does exist

    Hi,
    Input file is in presentation server means use GUI_UPLOAD
    If it is in application server then only you need use
    OPEN DATASET
    READ DATASET
    TRANSFER DATASET
    CLOSE DATASET
    Hope it will helps

  • Scom: error in uploading a file to document libary

    Hello,
    For  a new document library, in a console application,  I try to upload a document, using the information from:
     http://msdn.microsoft.com/en-us/library/ee956524%28office.14%29.aspx
    in statement: ClientOM.File.SaveBinaryDirect(clientContext,
                        "/testDoc/aagfhfghgfhweqrqwereda.docx", fileStream, false); in false, I get error:  The file already exists and in true, I get
    the error:  The remote server returned an error: (409) Conflict.
    The docx name is irrelavent, whatever I put, the same errors. The  library remains empty and there aren't any checked out files.
    Any advices?
    Thank you
    Christos

    Hi,
    What if you upload the file to other library, will the error still occurs?
    Here is a code demo which works in my environment for your reference:
    public static void uploadUsingSaveBinaryDirect()
    string siteUrl = "http://sp2013sps";
    string libName = "Lib1";
    string fileName = "c:\\a.docx";
    ClientContext clientContext = new ClientContext(siteUrl);
    List list = clientContext.Web.Lists.GetByTitle(libName);
    clientContext.Load(list.RootFolder);
    clientContext.ExecuteQuery();
    using (FileStream fileStream = new FileStream(fileName, FileMode.Open))
    Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, list.RootFolder.ServerRelativeUrl.ToString() + "/" + fileName.Split('\\')[1], fileStream, true);
    Feel free to reply if the issue still exists.
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for