Hi,
I have a .NET web application which uses LAPI to connect to CS 10. Whenever it tries to add a word document version it runs for about 2 minutes and gives the following error:
Error message: Could not write bytes to socket (LAPI_NETs)
Stack Trace:
at com.opentext.api.LLFileUtils.streamReader(String fInFile, BufferedOutputStream fBufferedOutput)
at com.opentext.api.LLConnect.sendFileUpload()
at com.opentext.api.LLConnect.executeHTTP(LLConnect connect)
at com.opentext.api.LLConnect.execute(LLConnect connect)
at com.opentext.api.LAPI_DOCUMENTS.CreateVersion(Int32 VolumeID, Int32 NodeID, String FilePath, BinaryReader inStream, Int64 size, LLValue fileInfo, LLValue versionInfo)
at <textdeleted>.Livelink.Services.LivelinkServices.<textdeleted>.Livelink.Interfaces.ILivelinkServices.AddDocumentVersion(MemoryStream memoryStream, Int32 documentId, String documentName, Boolean HasLivelinkUpdatePermission, IStaticValueServices staticValueServices) in C:\Projects\<textdeleted>\Livelink.Services\LivelinkObject.cs:line 147
at <textdeleted>.ProtocolController.<textdeleted>.Protocol.IProtocolController.UpdateProtocol(ProtocolDetail updatedProtocol, Boolean HasLivelinkUpdatePermission) in C:\Projects\<textdeleted>\Modules\Protocol\ProtocolController.cs:line 1211
at <textdeleted>.Protocol.Views.ProtocolDetailsPresenter.UpdateProtocol(ProtocolDetail updatedProtocolDetail) in C:\Projects\<textdeleted>.Web\Modules\Protocol\Views\ProtocolDetailsPresenter.cs:line 285
at <textdeleted>.Protocol.Views.ProtocolDetails.SubmitButton_Click(Object sender, EventArgs e) in C:\Projects\<textdeleted>.Web\WebSites\<textdeleted>.WebSite\Protocol\ProtocolDetails.aspx.cs:line 842
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The word document is pretty small around 43K. I also tried increasing the timeout value on [sockserv] of the opentext.ini but it didn't work. Any suggestion is much appreciated.
Thanks,
Jayson