Free Support Forum -

Group Docs NLB Issue



We are using the GroupDocs viewer (version 2.2) in a NLB web server environment to ‘read’ files stored in SharePoint.

In situations where the current user is on one webserver and the GroupDocs instance is handled by another, we are regularly receiving ‘Value cannot be null. Parameter name: path2’.

Attached is a screenshot of the error and below is a sample of the code we are using:

<div id=“documentPreviewWindow”></div>

.Stream(Model.FileStream, Path.GetFileName(Model.UniqueFileName), Path.GetExtension(Model.FileName).TrimStart('.'), Path.GetFileName(Model.FileName))

Does anyone have any thoughts or suggestions on how to get around this?



We are sorry to hear that you have such issue. First of all we see that you use very old version of the Viewer, please update it from here . A lot of issues were fixed since 2.2 version, since that please try with the latest version and notify us with the results.

Thank you.


Apologies for the slow response.

I can now confirm that updating the the latest 2.11 release has not resolved the NLB issue we are experiencing.



Thank you for coming back. From the issue description is hard to understand what is wrong, you code looks like ok. Could you please share with us the solution example (Viewer).

Thank you.