Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Web Service livelink

Status
Not open for further replies.

nino232323

Programmer
Dec 12, 2011
6
Hi everyone,
im using a web service livelink, from ContentService, exactly UploadManager on my dotnet application.
If i want to upload a file that exceed the size of 4MB i got an error on dotnet
"The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:04:59.9530000'."
i have setted app.config e web.config property, so the errror is in the livelink-side. Any idea?

 
Have you followed Kyle Swidrowich's article on what to do on IIS the microsoft fix about WCF

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Si it is an iss problem?
Can you give me this link? Thanks
 
Here is that link.
Code:
/*
 
 Enterprise Web Services: Create Document Sample
 -----------------------------------------------

 To use this sample, you will need to:
  1) Add references to your project to the Authentication, ContentService and DocumentManagement services with
     namespaces "Authentication", "ContentService" and "DocumentManagement" respectively.
  2) In section #2, set the username/password for the authenticating user
  3) In section #3, set the parentID (what container to add it to), name (what to call it) and comment (description) for the document in Content Server
  4) In section #4, set the filePath for the document's location on your client machine

 NOTE: For file uploads > 4 MB, the app.config file of your project will need to use the "Streaming" transferMode for the ContentService binding with non-HTTP authentication.
       In addition, the server-side web.config file will need the following section in addition to the given <system.serviceModel> configuration:
          <system.web>
            <httpRuntime maxRequestLength="65536" />
          </system.web>
       This will match the maxRequestLength to the maxBufferSize of the ContentService binding of the app.config file.

       Please contact Microsoft for further information on WCF configuration.
 
 */

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top