Buffer cannot be null. Parameter name: buffer

System.ArgumentNullException: Buffer cannot be null. Parameter name: buffer

System.ArgumentNullException: Buffer cannot be null.
Parameter name: buffer
   at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
   at System.IO.MemoryStream..ctor(Byte[] buffer)
   at OOP.Report.ResourceServer.Controllers.CrystalReportController.<GetCrystalReport>d__3.MoveNext() in D:\Source\Git\OOP\OOP\OOP.Report.ResourceServer\Controllers\CrystalReportController.cs:line 75
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
		

Logged on Friday, August 29, 2025 at 3:36:45 PM

See also:

Server Variables

NameValue
ALL_HTTPHTTP_CONNECTION:close HTTP_CONTENT_LENGTH:35 HTTP_CONTENT_TYPE:application/json; charset=UTF-8 HTTP_ACCEPT:*/* HTTP_ACCEPT_ENCODING:gzip, deflate, br, zstd HTTP_ACCEPT_LANGUAGE:en-US,en;q=0.9 HTTP_AUTHORIZATION:Bearer dm66IY9EBK9vEhJZn2WA9Ed1oYqXSoJ_7PSyf4AKg9qri59Z14XWRH6hla8K1Yag-oqnz2Xnj56NMVaeU1gQKE160OrPh_jpOjZfnqLrDvVtuMUTN4HVmDMOzK5mLkMsx6Mjgn_D6nR8znDzV2U77Mec49uRXwRIVks5attyX4qoKgjRzMk-UR-ZUIpVUePTK_RXfw4I5uiC8IURTSofSZET_jodnTfvcFWuX65PY0uR-jMMrF24oEJ5YgxB-lf7QWCKX4HZwfq1q8umZW68N5kC4GIqM38eAhnX_SmTvOHKpUrj0MpWaQDmuCs8IbQBaCMyUomgKvt350LeP5tZztUTW-sjUagL1SJiFy7fcY-sgxwNoT0lWfBNoTWsjDhYg9qVv1Nx3ug531C0PMJsMyXeOlgdF-5Tm1ZR4CY8jgm9M5L5Uqyz7NzI-GIqe4P2TVOph0uy9K1gNwa3wGdBGJcVETQ HTTP_HOST:oopreport.ramrajcotton.net HTTP_REFERER:https://portal.ramrajcotton.net/ HTTP_USER_AGENT:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 HTTP_SEC_CH_UA_PLATFORM:"Windows" HTTP_SEC_CH_UA:"Not;A=Brand";v="99", "Google Chrome";v="139", "Chromium";v="139" HTTP_SEC_CH_UA_MOBILE:?0 HTTP_SELECTEDDIVISIONID:1,4,3,7,6,2,5,8 HTTP_APPCLIENT:OOP HTTP_SELECTEDBPID:52830 HTTP_ORIGIN:https://portal.ramrajcotton.net HTTP_SEC_FETCH_SITE:same-site HTTP_SEC_FETCH_MODE:cors HTTP_SEC_FETCH_DEST:empty HTTP_PRIORITY:u=1, i
ALL_RAWConnection: close Content-Length: 35 Content-Type: application/json; charset=UTF-8 Accept: */* Accept-Encoding: gzip, deflate, br, zstd Accept-Language: en-US,en;q=0.9 Authorization: Bearer dm66IY9EBK9vEhJZn2WA9Ed1oYqXSoJ_7PSyf4AKg9qri59Z14XWRH6hla8K1Yag-oqnz2Xnj56NMVaeU1gQKE160OrPh_jpOjZfnqLrDvVtuMUTN4HVmDMOzK5mLkMsx6Mjgn_D6nR8znDzV2U77Mec49uRXwRIVks5attyX4qoKgjRzMk-UR-ZUIpVUePTK_RXfw4I5uiC8IURTSofSZET_jodnTfvcFWuX65PY0uR-jMMrF24oEJ5YgxB-lf7QWCKX4HZwfq1q8umZW68N5kC4GIqM38eAhnX_SmTvOHKpUrj0MpWaQDmuCs8IbQBaCMyUomgKvt350LeP5tZztUTW-sjUagL1SJiFy7fcY-sgxwNoT0lWfBNoTWsjDhYg9qVv1Nx3ug531C0PMJsMyXeOlgdF-5Tm1ZR4CY8jgm9M5L5Uqyz7NzI-GIqe4P2TVOph0uy9K1gNwa3wGdBGJcVETQ Host: oopreport.ramrajcotton.net Referer: https://portal.ramrajcotton.net/ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 sec-ch-ua-platform: "Windows" sec-ch-ua: "Not;A=Brand";v="99", "Google Chrome";v="139", "Chromium";v="139" sec-ch-ua-mobile: ?0 selecteddivisionid: 1,4,3,7,6,2,5,8 appclient: OOP selectedbpid: 52830 origin: https://portal.ramrajcotton.net sec-fetch-site: same-site sec-fetch-mode: cors sec-fetch-dest: empty priority: u=1, i
APPL_MD_PATH/LM/W3SVC/20/ROOT
APPL_PHYSICAL_PATHD:\IIS\OOP\Resources\Report\
AUTH_PASSWORD*****
AUTH_TYPEBearer
AUTH_USERC054003
CERT_COOKIE
CERT_FLAGS
CERT_ISSUER
CERT_KEYSIZE256
CERT_SECRETKEYSIZE2048
CERT_SERIALNUMBER
CERT_SERVER_ISSUERC=US, S=Arizona, L=Scottsdale, O="GoDaddy.com, Inc.", OU=http://certs.godaddy.com/repository/, CN=Go Daddy Secure Certificate Authority - G2
CERT_SERVER_SUBJECTCN=*.ramrajcotton.net
CERT_SUBJECT
CONTENT_LENGTH35
CONTENT_TYPEapplication/json; charset=UTF-8
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPT*/*
HTTP_ACCEPT_ENCODINGgzip, deflate, br, zstd
HTTP_ACCEPT_LANGUAGEen-US,en;q=0.9
HTTP_APPCLIENTOOP
HTTP_APPLICATIONINSIGHTS_REQUESTTRACKINGTELEMETRYMODULE_ROOTREQUEST_IDa42e6885-29ae-4819-895e-345bf71b3e8f
HTTP_AUTHORIZATIONBearer dm66IY9EBK9vEhJZn2WA9Ed1oYqXSoJ_7PSyf4AKg9qri59Z14XWRH6hla8K1Yag-oqnz2Xnj56NMVaeU1gQKE160OrPh_jpOjZfnqLrDvVtuMUTN4HVmDMOzK5mLkMsx6Mjgn_D6nR8znDzV2U77Mec49uRXwRIVks5attyX4qoKgjRzMk-UR-ZUIpVUePTK_RXfw4I5uiC8IURTSofSZET_jodnTfvcFWuX65PY0uR-jMMrF24oEJ5YgxB-lf7QWCKX4HZwfq1q8umZW68N5kC4GIqM38eAhnX_SmTvOHKpUrj0MpWaQDmuCs8IbQBaCMyUomgKvt350LeP5tZztUTW-sjUagL1SJiFy7fcY-sgxwNoT0lWfBNoTWsjDhYg9qVv1Nx3ug531C0PMJsMyXeOlgdF-5Tm1ZR4CY8jgm9M5L5Uqyz7NzI-GIqe4P2TVOph0uy9K1gNwa3wGdBGJcVETQ
HTTP_CONNECTIONclose
HTTP_CONTENT_LENGTH35
HTTP_CONTENT_TYPEapplication/json; charset=UTF-8
HTTP_HOSToopreport.ramrajcotton.net
HTTP_ORIGINhttps://portal.ramrajcotton.net
HTTP_PRIORITYu=1, i
HTTP_REFERERhttps://portal.ramrajcotton.net/
HTTP_SEC_CH_UA"Not;A=Brand";v="99", "Google Chrome";v="139", "Chromium";v="139"
HTTP_SEC_CH_UA_MOBILE?0
HTTP_SEC_CH_UA_PLATFORM"Windows"
HTTP_SEC_FETCH_DESTempty
HTTP_SEC_FETCH_MODEcors
HTTP_SEC_FETCH_SITEsame-site
HTTP_SELECTEDBPID52830
HTTP_SELECTEDDIVISIONID1,4,3,7,6,2,5,8
HTTP_USER_AGENTMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
HTTPSon
HTTPS_KEYSIZE256
HTTPS_SECRETKEYSIZE2048
HTTPS_SERVER_ISSUERC=US, S=Arizona, L=Scottsdale, O="GoDaddy.com, Inc.", OU=http://certs.godaddy.com/repository/, CN=Go Daddy Secure Certificate Authority - G2
HTTPS_SERVER_SUBJECTCN=*.ramrajcotton.net
INSTANCE_ID20
INSTANCE_META_PATH/LM/W3SVC/20
LOCAL_ADDR10.0.0.198
LOGON_USERC054003
PATH_INFO/api/CrystalReport/GetCrystalReport
PATH_TRANSLATEDD:\IIS\OOP\Resources\Report\api\CrystalReport\GetCrystalReport
QUERY_STRING
REMOTE_ADDR106.222.229.229
REMOTE_HOST106.222.229.229
REMOTE_PORT22842
REMOTE_USERC054003
REQUEST_METHODPOST
SCRIPT_NAME/api/CrystalReport/GetCrystalReport
SERVER_NAMEoopreport.ramrajcotton.net
SERVER_PORT443
SERVER_PORT_SECURE1
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWAREMicrosoft-IIS/10.0
URL/api/CrystalReport/GetCrystalReport