Receiving error "File with name <filename> not found

  • 10 March 2016
  • 1 reply
  • 1 view

Badge

On initial upload of file to Document Library, receive the follwoing 

File with name -56 not found.
 
  • Type:
    SourceCode.SmartObjects.Client.SmartObjectException
  • Source:
    SourceCode.SmartObjects.Client
  • Method Base
    • Member Type:
      Method
    • Name:
      ExecuteScalar
    • Module
      • Scope Name:
        SourceCode.SmartObjects.Client.dll
    • Declaring Type
      • Full Name:
        SourceCode.SmartObjects.Client.SmartObjectClientServer
  • Stack Trace:

    at SourceCode.SmartObjects.Client.SmartObjectClientServer.ExecuteScalar(SmartObject smartObject, DataTable inputTable)

    at SourceCode.Forms.AppFramework.FormRuntime.SmartObjectExecution(XPathNavigator nav, Boolean outputDependencies, SmartObjectClientServer svr)

    at SourceCode.Forms.AppFramework.FormRuntime.WorkXmlToApi(String xml)
  • Not able to find specific error to address.

1 reply

Userlevel 2
Badge +9

Hello,


 


It sounds like you are using an upload document wizard to add a file to a document library in sharepoint? 


 


Based off of the error "File with name -56 not found." It appears that in the wizard when you are specifying the context of what document to upload you are passing in what appears to be an ID of some sorts. That is perhaps why you are getting a filename 56 not found. The wizard looks like it needs to search based off of document name. I would try using something besides an ID. Another option may be to create a reference to the document before doing the upload document step. Then you can use the newly created document reference in the upload document wizard to grab the desired document.


 


-Evan

Reply