KnowledgeBase Content Details

June 11, 2009

Question:

User sees error when signing a pdf after rendering

Answer:

The error may be different depending on the version of ELN being used. In E-Notebook 9.0.x:

--------------
ENTLA9
--------------
Error submitting document: There was an exception running the extensions specified in the config file. --> Maximum request length exceeded.
--------------
OK
--------------



In E-Notebook 9.0.2, the error message can be different:

------------
ENLTA9
------------
Login Error: Invalid Password, Try Again...
------------
OK
-----------

After entering the correct password, you see:

-----------------------
Retry Password
-----------------------
Specified password was incorrect;
Password:
--------------------
OK    Cancel
-------------------




In E-Notebook 11.0.x, the error can be:

---------------------------
Error Choosing Command
---------------------------
Sorry, while submitting document, while submitting document, System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. ---> System.Web.HttpException: Maximum request length exceeded.
at System.Web.HttpRequest.GetEntireRawContent()
at System.Web.HttpRequest.get_InputStream()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing).
---------------------------
OK
---------------------------




Solution:

The cause might be that ASP.NET limits the size of requests; by default the limit is 4 MB. This can be overridden by a higher value in Web.config file - uncommenting the maxRequestLength line, and setting its value to 100 MB (102400 KB). The default location of this Web.config is “C:\Program Files\CambridgeSoft\CSDocStore\” on the E-Notebook middle tier server.


Initial:

<system.web>
<!-- Uncomment the following element if you need to override the default limit on request size to CSDocStore. Unless overridden in machine.config, the default request length limit is 4096 kb. This element sets the limit in KB.

<httpRuntime maxRequestLength="8192"/>

-->

<!-- DYNAMIC DEBUG COMPILATION


Modified:

<system.web>
<!-- Uncomment the following element if you need to override the default limit on request size to CSDocStore. Unless overridden in machine.config, the default request length limit is 4096 kb. This element sets the limit in KB.
-->

<httpRuntime maxRequestLength="102400"/>

<!-- DYNAMIC DEBUG COMPILATION


IMPORTANT: Note the position of the closing comment tag (-->). In the modified file, this tag should be before the maxRequestLength for the new value to take effect. Create a backup of your original Web.config file before doing any modifications.


Microsoft KB Article:

http://support.microsoft.com/kb/295626

Back to KnowledgeBase