Product: E-Notebook Enterprise
"No endpoint listening" error while saving a large experiment
The following error message may occur while saving large files in
E-Notebook 13.x:
---------------------------
Error Saving Contents
---------------------------
Sorry, while saving experiment
"XXXXXXXXX-XXX", an error occurred on the business tier: There was no
endpoint listening at
http://<ApplicationServer>/ENService/ENService.svc that could accept the message. This is often
caused by an incorrect address or SOAP action. See InnerException, if
present, for more details.
To keep all changes, and try saving
again later after correcting the problem, click Yes.
To discard any changes, and revert to
the previously saved version, click No.
Do you want to keep the changes, and
try saving experiment "XXXXXXXXX-XXX" again later?
---------------------------
Yes No
---------------------------
SOLUTION:
If you have IIS 7 or higher on your Application Server, please check the
following two files on that machine:
b. C:\Program Files\CambridgeSoft\CsDocStore\Web.config (for closing)
In those web.config files, maxRequestLength indicates the maximum request size supported by ASP.NET. (Please find more about this parameter at http://www.cambridgesoft.com/support/EnterpriseSupport/KnowledgeBase/FAQ/details/Default.aspx?TechNote=1040.) On the other hand, maxAllowedContentLength (if not present, the default is 30 MB) specifies the maximum length of content in a request supported by IIS 7. So you need to set both (to e.g. 100 MB) in order to upload large files: the smaller one "takes priority". If your web.config files have maxRequestLength="102400" (in kilobytes, i.e. 100 MB), you also need to specify maxAllowedContentLength="104857600" (in bytes, i.e. 100 MB).
You can introduce the maxAllowedContentLength parameter into the system.webServer settings at the end of the web.config file. With that change in place, the last part (in the system.webServer settings) will look like:
<system.webServer>
<handlers accessPolicy="Read, Script" />
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="ENService.asmx" />
</files>
</defaultDocument>
<httpErrors>
<clear />
</httpErrors>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="104857600" />
</requestFiltering>
</security>
</system.webServer>
<system.webServer>
<handlers accessPolicy="Read, Script" />
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="CSDocStore.asmx" />
</files>
</defaultDocument>
<httpErrors>
<clear />
</httpErrors>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="104857600" />
</requestFiltering>
</security>
</system.webServer>
Make sure no one is using applications to avoid data loss, then reset IIS.
Please backup your original web.config files, and restore those if any issues.
See also:
Installation Guide under Troubleshooting -> Inadequate error message is shown while importing large files into E-Notebook.
"HTTP status 404: Not Found" error when saving or closing a large experiment
Comments
0 comments
Article is closed for comments.