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 7:02:40 AM

See also:

Server Variables

NameValue
ALL_HTTPHTTP_CONNECTION:close HTTP_CONTENT_LENGTH:36 HTTP_CONTENT_TYPE:application/json; charset=UTF-8 HTTP_ACCEPT:*/* HTTP_ACCEPT_ENCODING:gzip, deflate, br, zstd HTTP_ACCEPT_LANGUAGE:en-IN,en-US;q=0.9,en;q=0.8 HTTP_AUTHORIZATION:Bearer lH7DcC7ILtUa5udU7463-LN_xO0DE5yiOO66Mj2PB6Jl3borJhp9tSwSffJYXP8eEWLFmEIZ1wHEiHYmIClQpVU_h-JSBbFPaWrqLAaeP2FunutqpXZgo5JqVbJaGy7oThcU7r7IgeQLQyHAiJ-Th6PXY5AVx9oAmtqWd1tZSv9bVCq5_OM1LFD5hKDwev_mjtmlukm6kxLDFhSGWQZNEQrCsQfFtc5Z-2qrmLzfRTtbVSgZvfMB1xHVTyvwy36UEzyjfAAF6G7Ipn6Bx0ajFQ4QPqqMXadPk9MTqjBOEn15LmtKmedejIBSUfPRB2BfYDEuQ3zkJ-WFwa8RNkkBLb2TxOSrDILtegmSZUWS8H4VgXmn0KB0iC2HqXV5fwLIuhqy7BZg73SQyWYy16l3Bmn86jmc_qM0g63qCDqriYHvuju2gq_5jylDhCvM66_msBbA1D3iLN7OmJkhZjfGXa7uSoU5o3rtJJOiQrd9FR6A9g-Xir30P5_oZcV_ojfEdLF1SGoXoTTmNpCgL-K-Ou65HA1AjTec728AQcVG95zHRtz0o5mM1Q1ggpTNbNATkM8jqUmFvGCxJZ7nvAeklt5fusmmN-8yOD4bcTkmQL9cDjpTuV1dvklBxT4hbzi_HNR7HaJ-1Q9yj8pIETAr3jFHhjnnjdda1vyqi5j_sUU9OQQy2GOcOLIszq3O-SAvesMua7NhF6IUZMja7oVHjiwg8e12xI_jzLCVSN008D8RX2GXXgxM6HpyIix2q3wV_72Inw HTTP_HOST:oopreport.ramrajcotton.net HTTP_REFERER:https://portal.ramrajcotton.net/ HTTP_USER_AGENT:Mozilla/5.0 (Linux; Android 10; Lenovo TB-X306X Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/139.0.7258.94 Safari/537.36 HTTP_SEC_CH_UA_PLATFORM:"Android" HTTP_SEC_CH_UA:"Not;A=Brand";v="99", "Android WebView";v="139", "Chromium";v="139" HTTP_SEC_CH_UA_MOBILE:?0 HTTP_SELECTEDDIVISIONID:1 HTTP_APPCLIENT:OOP HTTP_SELECTEDBPID:170 HTTP_ORIGIN:https://portal.ramrajcotton.net HTTP_X_REQUESTED_WITH:com.enes.oopLive 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: 36 Content-Type: application/json; charset=UTF-8 Accept: */* Accept-Encoding: gzip, deflate, br, zstd Accept-Language: en-IN,en-US;q=0.9,en;q=0.8 Authorization: Bearer lH7DcC7ILtUa5udU7463-LN_xO0DE5yiOO66Mj2PB6Jl3borJhp9tSwSffJYXP8eEWLFmEIZ1wHEiHYmIClQpVU_h-JSBbFPaWrqLAaeP2FunutqpXZgo5JqVbJaGy7oThcU7r7IgeQLQyHAiJ-Th6PXY5AVx9oAmtqWd1tZSv9bVCq5_OM1LFD5hKDwev_mjtmlukm6kxLDFhSGWQZNEQrCsQfFtc5Z-2qrmLzfRTtbVSgZvfMB1xHVTyvwy36UEzyjfAAF6G7Ipn6Bx0ajFQ4QPqqMXadPk9MTqjBOEn15LmtKmedejIBSUfPRB2BfYDEuQ3zkJ-WFwa8RNkkBLb2TxOSrDILtegmSZUWS8H4VgXmn0KB0iC2HqXV5fwLIuhqy7BZg73SQyWYy16l3Bmn86jmc_qM0g63qCDqriYHvuju2gq_5jylDhCvM66_msBbA1D3iLN7OmJkhZjfGXa7uSoU5o3rtJJOiQrd9FR6A9g-Xir30P5_oZcV_ojfEdLF1SGoXoTTmNpCgL-K-Ou65HA1AjTec728AQcVG95zHRtz0o5mM1Q1ggpTNbNATkM8jqUmFvGCxJZ7nvAeklt5fusmmN-8yOD4bcTkmQL9cDjpTuV1dvklBxT4hbzi_HNR7HaJ-1Q9yj8pIETAr3jFHhjnnjdda1vyqi5j_sUU9OQQy2GOcOLIszq3O-SAvesMua7NhF6IUZMja7oVHjiwg8e12xI_jzLCVSN008D8RX2GXXgxM6HpyIix2q3wV_72Inw Host: oopreport.ramrajcotton.net Referer: https://portal.ramrajcotton.net/ User-Agent: Mozilla/5.0 (Linux; Android 10; Lenovo TB-X306X Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/139.0.7258.94 Safari/537.36 sec-ch-ua-platform: "Android" sec-ch-ua: "Not;A=Brand";v="99", "Android WebView";v="139", "Chromium";v="139" sec-ch-ua-mobile: ?0 selecteddivisionid: 1 appclient: OOP selectedbpid: 170 origin: https://portal.ramrajcotton.net x-requested-with: com.enes.oopLive 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_USERE21-00648
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_LENGTH36
CONTENT_TYPEapplication/json; charset=UTF-8
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPT*/*
HTTP_ACCEPT_ENCODINGgzip, deflate, br, zstd
HTTP_ACCEPT_LANGUAGEen-IN,en-US;q=0.9,en;q=0.8
HTTP_APPCLIENTOOP
HTTP_APPLICATIONINSIGHTS_REQUESTTRACKINGTELEMETRYMODULE_ROOTREQUEST_ID3680ee74-a47d-4bc5-9f7c-7b59d045e7c3
HTTP_AUTHORIZATIONBearer lH7DcC7ILtUa5udU7463-LN_xO0DE5yiOO66Mj2PB6Jl3borJhp9tSwSffJYXP8eEWLFmEIZ1wHEiHYmIClQpVU_h-JSBbFPaWrqLAaeP2FunutqpXZgo5JqVbJaGy7oThcU7r7IgeQLQyHAiJ-Th6PXY5AVx9oAmtqWd1tZSv9bVCq5_OM1LFD5hKDwev_mjtmlukm6kxLDFhSGWQZNEQrCsQfFtc5Z-2qrmLzfRTtbVSgZvfMB1xHVTyvwy36UEzyjfAAF6G7Ipn6Bx0ajFQ4QPqqMXadPk9MTqjBOEn15LmtKmedejIBSUfPRB2BfYDEuQ3zkJ-WFwa8RNkkBLb2TxOSrDILtegmSZUWS8H4VgXmn0KB0iC2HqXV5fwLIuhqy7BZg73SQyWYy16l3Bmn86jmc_qM0g63qCDqriYHvuju2gq_5jylDhCvM66_msBbA1D3iLN7OmJkhZjfGXa7uSoU5o3rtJJOiQrd9FR6A9g-Xir30P5_oZcV_ojfEdLF1SGoXoTTmNpCgL-K-Ou65HA1AjTec728AQcVG95zHRtz0o5mM1Q1ggpTNbNATkM8jqUmFvGCxJZ7nvAeklt5fusmmN-8yOD4bcTkmQL9cDjpTuV1dvklBxT4hbzi_HNR7HaJ-1Q9yj8pIETAr3jFHhjnnjdda1vyqi5j_sUU9OQQy2GOcOLIszq3O-SAvesMua7NhF6IUZMja7oVHjiwg8e12xI_jzLCVSN008D8RX2GXXgxM6HpyIix2q3wV_72Inw
HTTP_CONNECTIONclose
HTTP_CONTENT_LENGTH36
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", "Android WebView";v="139", "Chromium";v="139"
HTTP_SEC_CH_UA_MOBILE?0
HTTP_SEC_CH_UA_PLATFORM"Android"
HTTP_SEC_FETCH_DESTempty
HTTP_SEC_FETCH_MODEcors
HTTP_SEC_FETCH_SITEsame-site
HTTP_SELECTEDBPID170
HTTP_SELECTEDDIVISIONID1
HTTP_USER_AGENTMozilla/5.0 (Linux; Android 10; Lenovo TB-X306X Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/139.0.7258.94 Safari/537.36
HTTP_X_REQUESTED_WITHcom.enes.oopLive
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_USERE21-00648
PATH_INFO/api/CrystalReport/GetCrystalReport
PATH_TRANSLATEDD:\IIS\OOP\Resources\Report\api\CrystalReport\GetCrystalReport
QUERY_STRING
REMOTE_ADDR157.51.198.241
REMOTE_HOST157.51.198.241
REMOTE_PORT33366
REMOTE_USERE21-00648
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