The page load and looks find but an Elmah Error is generated. See below.
System.Web.HttpException: The request queue limit of the session is exceeded.
It is on Document/DocImage.axd
We are using this code to open document per your advice in earlier question. We get a memory stream return from our file storage in Azure.
var config = new PdfConfig { ExtractHyperlinks = true, AllowSearch = true, AllowCopy = true, DefaultRender = true };
var fileInfofakeName = new FileInfo("fakeName.pdf");
var token = ctlDoc.OpenDocument(_ms, fileInfofakeName, config);
System.Web.HttpException (0x80004005): The request queue limit of the session is exceeded.
at System.Web.SessionState.SessionStateModule.QueueRef()
at System.Web.SessionState.SessionStateModule.PollLockedSession()
at System.Web.SessionState.SessionStateModule.GetSessionStateItem()
at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData)
at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Server Variables
Name | Value |
---|---|
ALL_HTTP | HTTP_CONNECTION:close HTTP_ACCEPT:image/avif,image/webp,image/apng,image/svg+xml,image/,/*;q=0.8 HTTP_ACCEPT_ENCODING:gzip, deflate, br HTTP_ACCEPT_LANGUAGE:en-US,en;q=0.9 HTTP_COOKIE:PageContainerClass=open; ASP.NET_SessionId=xfy1csfa4qcax1lrv1nrk5zt; BBB=Init=Init&uaiu=https://admin.3breferral.com/images/msthd_demo.png&uaipl=&HideSocialSecurityNumber=zIK6MrlHyt0=&AccountSmsEnabled=B310etiYAzs=&ua_hqr=False&uap=212-691-8081&uae=support@3breferral.com&pccact=False&asact=True; UserLocationId=N2senvxVrqQ0918273654; UserLocationName=Tp9hrGUfPNdiosWS1BBYow09182736540918273654; UserAccountId=v7z96mUo6RY0918273654; UserAccountName=bQ2lKMKGPYTWk7tLq6NUc-EArDizvlIf; .3br.Auth=CfDJ8BHGJXL374dLomg_bV_VdUjleAEpQRdZNSMv6WBCIb5-doVAnrRO_l3M7yjqojOjAG_w_zIkGTi7RHqoNzHqnjTE8-N-DSDMlzWVo8-GM48zZwQsgQZJ6Mf0zmOXZMVQgFku_maof7NRENYNgRsCIyb3TMU0aO9lo9Yba-k-JbqwR9fR9kiVJTsbvB0qWKnC0_U6it3PiSbPfCecj21vJQZ7S6TlgsxIc3o4gJYMjYYrUdgNHrxuoGdzfwx7WhLM6GCX4BeTqTkrwI0ETK8objXF2SpYxJvqFAQ-riOt16snywZmWeS9f_5JeUXoikqjHFqEE-XC1zcaD6WCbyOi5FPT38yn7EwSDFDD–Wv5kcGCA_AoiH4X6SYfLW1aFxw8GPVYmeHxTcs69_n4kwqawALxJ9tDfo7w-DummXSxgwdRjtMUbpV4J_FvHEmKnneSjXIpQeKsssMLry9XoFdpwK0rzCeP9atHWyQ3TCTKI0syXsXKJmBUroGz1okaq15R8bITp6bjk4E_DWHWcS_bFqicb18ZDA7wc9p6ug6yPdWJoB5Q7N9BfL3i9PqGtu-kOsspHdrltGjMsA3ZRs9U5wByGmTfsHQ-bdLfKieGMjpvTMxi-W1POZffRIC_LPLy65ncb7M1LeMfaPbFWnnmWgNTlU4Vu5jIZBsAztZmwio9-7q1gCPUnkLET1_-k-Vq21oRplOkCMiz-BOtAHd7_j_ITl3IWi9jadQiUn97rQIKH_3Sntl35Mk19-cdMVP-LZNw1DwMClW48WBdfOl8PUIUi7NYj42T5lXbwTbFgYo9pdiJnx8HFpYxo4D5tAUUiGBX1DMdj3nkAQYbYmUN0cRyp7s5imFt2_PUmBEf6E8JncZOQiXh-wqwi28SyhvFQf0VBqy-kjhNLb6FXRljDhpTfo2tKla7FcWfgYxFKphfhN_uyG9o-MiO3959c1NH5L4fMNrAIzdkyEzzzdNSqE HTTP_HOST:admin.3breferral.com HTTP_REFERER:https://admin.3breferral.com/Document/View.aspx?Id=226869 HTTP_USER_AGENT:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 HTTP_SEC_CH_UA:“Google Chrome”;v=“117”, “Not;A=Brand”;v=“8”, “Chromium”;v=“117” HTTP_SEC_CH_UA_MOBILE:?0 HTTP_SEC_CH_UA_PLATFORM:“Windows” HTTP_SEC_FETCH_SITE:same-origin HTTP_SEC_FETCH_MODE:no-cors HTTP_SEC_FETCH_DEST:image |
ALL_RAW | Connection: close Accept: image/avif,image/webp,image/apng,image/svg+xml,image/,/*;q=0.8 Accept-Encoding: gzip, deflate, br Accept-Language: en-US,en;q=0.9 Cookie: PageContainerClass=open; ASP.NET_SessionId=xfy1csfa4qcax1lrv1nrk5zt; BBB=Init=Init&uaiu=https://admin.3breferral.com/images/msthd_demo.png&uaipl=&HideSocialSecurityNumber=zIK6MrlHyt0=&AccountSmsEnabled=B310etiYAzs=&ua_hqr=False&uap=212-691-8081&uae=support@3breferral.com&pccact=False&asact=True; UserLocationId=N2senvxVrqQ0918273654; UserLocationName=Tp9hrGUfPNdiosWS1BBYow09182736540918273654; UserAccountId=v7z96mUo6RY0918273654; UserAccountName=bQ2lKMKGPYTWk7tLq6NUc-EArDizvlIf; .3br.Auth=CfDJ8BHGJXL374dLomg_bV_VdUjleAEpQRdZNSMv6WBCIb5-doVAnrRO_l3M7yjqojOjAG_w_zIkGTi7RHqoNzHqnjTE8-N-DSDMlzWVo8-GM48zZwQsgQZJ6Mf0zmOXZMVQgFku_maof7NRENYNgRsCIyb3TMU0aO9lo9Yba-k-JbqwR9fR9kiVJTsbvB0qWKnC0_U6it3PiSbPfCecj21vJQZ7S6TlgsxIc3o4gJYMjYYrUdgNHrxuoGdzfwx7WhLM6GCX4BeTqTkrwI0ETK8objXF2SpYxJvqFAQ-riOt16snywZmWeS9f_5JeUXoikqjHFqEE-XC1zcaD6WCbyOi5FPT38yn7EwSDFDD–Wv5kcGCA_AoiH4X6SYfLW1aFxw8GPVYmeHxTcs69_n4kwqawALxJ9tDfo7w-DummXSxgwdRjtMUbpV4J_FvHEmKnneSjXIpQeKsssMLry9XoFdpwK0rzCeP9atHWyQ3TCTKI0syXsXKJmBUroGz1okaq15R8bITp6bjk4E_DWHWcS_bFqicb18ZDA7wc9p6ug6yPdWJoB5Q7N9BfL3i9PqGtu-kOsspHdrltGjMsA3ZRs9U5wByGmTfsHQ-bdLfKieGMjpvTMxi-W1POZffRIC_LPLy65ncb7M1LeMfaPbFWnnmWgNTlU4Vu5jIZBsAztZmwio9-7q1gCPUnkLET1_-k-Vq21oRplOkCMiz-BOtAHd7_j_ITl3IWi9jadQiUn97rQIKH_3Sntl35Mk19-cdMVP-LZNw1DwMClW48WBdfOl8PUIUi7NYj42T5lXbwTbFgYo9pdiJnx8HFpYxo4D5tAUUiGBX1DMdj3nkAQYbYmUN0cRyp7s5imFt2_PUmBEf6E8JncZOQiXh-wqwi28SyhvFQf0VBqy-kjhNLb6FXRljDhpTfo2tKla7FcWfgYxFKphfhN_uyG9o-MiO3959c1NH5L4fMNrAIzdkyEzzzdNSqE Host: admin.3breferral.com Referer: https://admin.3breferral.com/Document/View.aspx?Id=226869 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 sec-ch-ua: “Google Chrome”;v=“117”, “Not;A=Brand”;v=“8”, “Chromium”;v=“117” sec-ch-ua-mobile: ?0 sec-ch-ua-platform: “Windows” sec-fetch-site: same-origin sec-fetch-mode: no-cors sec-fetch-dest: image |
APPL_MD_PATH | /LM/W3SVC/1/ROOT |
APPL_PHYSICAL_PATH | C:\inetpub\wwwroot\admin.3breferral.com\ |
AUTH_TYPE | Cookies |
AUTH_USER | |
AUTH_PASSWORD | |
LOGON_USER | |
REMOTE_USER | |
CERT_COOKIE | |
CERT_FLAGS | |
CERT_ISSUER | |
CERT_KEYSIZE | 256 |
CERT_SECRETKEYSIZE | 2048 |
CERT_SERIALNUMBER | |
CERT_SERVER_ISSUER | C=GB, S=Greater Manchester, L=Salford, O=Sectigo Limited, CN=Sectigo RSA Domain Validation Secure Server CA |
CERT_SERVER_SUBJECT | CN=*.3breferral.com |
CERT_SUBJECT | |
CONTENT_LENGTH | 0 |
CONTENT_TYPE | |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
HTTPS_KEYSIZE | 256 |
HTTPS_SECRETKEYSIZE | 2048 |
HTTPS_SERVER_ISSUER | C=GB, S=Greater Manchester, L=Salford, O=Sectigo Limited, CN=Sectigo RSA Domain Validation Secure Server CA |
HTTPS_SERVER_SUBJECT | CN=*.3breferral.com |
INSTANCE_ID | 1 |
INSTANCE_META_PATH | /LM/W3SVC/1 |
LOCAL_ADDR | 10.0.3.4 |
PATH_INFO | /Document/DocImage.axd |
PATH_TRANSLATED | C:\inetpub\wwwroot\admin.3breferral.com\Document\DocImage.axd |
QUERY_STRING | page=42&zoom=100&token=f7cfb4fb-f0a9-486c-a3e3-ca93f4350d5b&rnd=631696285985725&format=png |
REMOTE_ADDR | 4.2.164.130 |
REMOTE_HOST | 4.2.164.130 |
REMOTE_PORT | 63469 |
REQUEST_METHOD | GET |
SCRIPT_NAME | /Document/DocImage.axd |
SERVER_NAME | admin.3breferral.com |
SERVER_PORT | 443 |
SERVER_PORT_SECURE | 1 |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SOFTWARE | Microsoft-IIS/10.0 |
URL | /Document/DocImage.axd |
HTTP_CONNECTION | close |
HTTP_ACCEPT | image/avif,image/webp,image/apng,image/svg+xml,image/,/*;q=0.8 |
HTTP_ACCEPT_ENCODING | gzip, deflate, br |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.9 |
HTTP_COOKIE | PageContainerClass=open; ASP.NET_SessionId=xfy1csfa4qcax1lrv1nrk5zt; BBB=Init=Init&uaiu=https://admin.3breferral.com/images/msthd_demo.png&uaipl=&HideSocialSecurityNumber=zIK6MrlHyt0=&AccountSmsEnabled=B310etiYAzs=&ua_hqr=False&uap=212-691-8081&uae=support@3breferral.com&pccact=False&asact=True; UserLocationId=N2senvxVrqQ0918273654; UserLocationName=Tp9hrGUfPNdiosWS1BBYow09182736540918273654; UserAccountId=v7z96mUo6RY0918273654; UserAccountName=bQ2lKMKGPYTWk7tLq6NUc-EArDizvlIf; .3br.Auth=CfDJ8BHGJXL374dLomg_bV_VdUjleAEpQRdZNSMv6WBCIb5-doVAnrRO_l3M7yjqojOjAG_w_zIkGTi7RHqoNzHqnjTE8-N-DSDMlzWVo8-GM48zZwQsgQZJ6Mf0zmOXZMVQgFku_maof7NRENYNgRsCIyb3TMU0aO9lo9Yba-k-JbqwR9fR9kiVJTsbvB0qWKnC0_U6it3PiSbPfCecj21vJQZ7S6TlgsxIc3o4gJYMjYYrUdgNHrxuoGdzfwx7WhLM6GCX4BeTqTkrwI0ETK8objXF2SpYxJvqFAQ-riOt16snywZmWeS9f_5JeUXoikqjHFqEE-XC1zcaD6WCbyOi5FPT38yn7EwSDFDD–Wv5kcGCA_AoiH4X6SYfLW1aFxw8GPVYmeHxTcs69_n4kwqawALxJ9tDfo7w-DummXSxgwdRjtMUbpV4J_FvHEmKnneSjXIpQeKsssMLry9XoFdpwK0rzCeP9atHWyQ3TCTKI0syXsXKJmBUroGz1okaq15R8bITp6bjk4E_DWHWcS_bFqicb18ZDA7wc9p6ug6yPdWJoB5Q7N9BfL3i9PqGtu-kOsspHdrltGjMsA3ZRs9U5wByGmTfsHQ-bdLfKieGMjpvTMxi-W1POZffRIC_LPLy65ncb7M1LeMfaPbFWnnmWgNTlU4Vu5jIZBsAztZmwio9-7q1gCPUnkLET1_-k-Vq21oRplOkCMiz-BOtAHd7_j_ITl3IWi9jadQiUn97rQIKH_3Sntl35Mk19-cdMVP-LZNw1DwMClW48WBdfOl8PUIUi7NYj42T5lXbwTbFgYo9pdiJnx8HFpYxo4D5tAUUiGBX1DMdj3nkAQYbYmUN0cRyp7s5imFt2_PUmBEf6E8JncZOQiXh-wqwi28SyhvFQf0VBqy-kjhNLb6FXRljDhpTfo2tKla7FcWfgYxFKphfhN_uyG9o-MiO3959c1NH5L4fMNrAIzdkyEzzzdNSqE |
HTTP_HOST | admin.3breferral.com |
HTTP_REFERER | https://admin.3breferral.com/Document/View.aspx?Id=226869 |
HTTP_USER_AGENT | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 |
HTTP_SEC_CH_UA | “Google Chrome”;v=“117”, “Not;A=Brand”;v=“8”, “Chromium”;v=“117” |
HTTP_SEC_CH_UA_MOBILE | ?0 |
HTTP_SEC_CH_UA_PLATFORM | “Windows” |
HTTP_SEC_FETCH_SITE | same-origin |
HTTP_SEC_FETCH_MODE | no-cors |
HTTP_SEC_FETCH_DEST | image |
Powered by ELMAH, version 1.0.9414.1441. Copyright © 2007, Atif Aziz. All rights reserved.