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:40:53 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 5n3fievxAbJzJa7B_XOzEXw-D9tiZEJlhOXbvLYyR6vMtMJbE_Pd-wk3Tq0MWmdCvmP-F9K7T4Nw2vjYHciwHaQsNKF48CCzoc33ch8uV16fg-9gSHa457H7ICM020n0AWJ2oqY_XaTe0OCZr9TIf_jGn_2M_zK6bMn3qmyySHDjX2MLvg7qC5UU8p-alKjTe55ZGqIXuFPe1u-nL018jEsLp3pNpjDQFV8GrR7AlTxKcfJ7S_o8whOhca5SziwmHq9PRQ7hsLDSsqnRP7s3NUqCvRv6TMShuux_D7FhE4McsrtaiwnJlzkUHL8J0La6Z9MXdGbwgdCYEe-r9-_8ZhDkoRSfrf9q_s7xLR0n98XTq_zCzn3EOEkCkoSfUfKBErg-hopr1QIcKU5s_aUj1pvUF9YwadY3sBeN7izZ2zFMYlAI0GLM0sCc_Uolhhq_Me6wzAelijmhvUFfLnQyf11hwfc 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 HTTP_APPCLIENT:OOP HTTP_SELECTEDBPID:4435 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 5n3fievxAbJzJa7B_XOzEXw-D9tiZEJlhOXbvLYyR6vMtMJbE_Pd-wk3Tq0MWmdCvmP-F9K7T4Nw2vjYHciwHaQsNKF48CCzoc33ch8uV16fg-9gSHa457H7ICM020n0AWJ2oqY_XaTe0OCZr9TIf_jGn_2M_zK6bMn3qmyySHDjX2MLvg7qC5UU8p-alKjTe55ZGqIXuFPe1u-nL018jEsLp3pNpjDQFV8GrR7AlTxKcfJ7S_o8whOhca5SziwmHq9PRQ7hsLDSsqnRP7s3NUqCvRv6TMShuux_D7FhE4McsrtaiwnJlzkUHL8J0La6Z9MXdGbwgdCYEe-r9-_8ZhDkoRSfrf9q_s7xLR0n98XTq_zCzn3EOEkCkoSfUfKBErg-hopr1QIcKU5s_aUj1pvUF9YwadY3sBeN7izZ2zFMYlAI0GLM0sCc_Uolhhq_Me6wzAelijmhvUFfLnQyf11hwfc 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 appclient: OOP selectedbpid: 4435 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_USERC022893
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_ID44874aeb-5527-4aeb-bde8-c9f3d843c27d
HTTP_AUTHORIZATIONBearer 5n3fievxAbJzJa7B_XOzEXw-D9tiZEJlhOXbvLYyR6vMtMJbE_Pd-wk3Tq0MWmdCvmP-F9K7T4Nw2vjYHciwHaQsNKF48CCzoc33ch8uV16fg-9gSHa457H7ICM020n0AWJ2oqY_XaTe0OCZr9TIf_jGn_2M_zK6bMn3qmyySHDjX2MLvg7qC5UU8p-alKjTe55ZGqIXuFPe1u-nL018jEsLp3pNpjDQFV8GrR7AlTxKcfJ7S_o8whOhca5SziwmHq9PRQ7hsLDSsqnRP7s3NUqCvRv6TMShuux_D7FhE4McsrtaiwnJlzkUHL8J0La6Z9MXdGbwgdCYEe-r9-_8ZhDkoRSfrf9q_s7xLR0n98XTq_zCzn3EOEkCkoSfUfKBErg-hopr1QIcKU5s_aUj1pvUF9YwadY3sBeN7izZ2zFMYlAI0GLM0sCc_Uolhhq_Me6wzAelijmhvUFfLnQyf11hwfc
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_SELECTEDBPID4435
HTTP_SELECTEDDIVISIONID1,4,3,7,6,2,5
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_USERC022893
PATH_INFO/api/CrystalReport/GetCrystalReport
PATH_TRANSLATEDD:\IIS\OOP\Resources\Report\api\CrystalReport\GetCrystalReport
QUERY_STRING
REMOTE_ADDR49.43.243.181
REMOTE_HOST49.43.243.181
REMOTE_PORT31940
REMOTE_USERC022893
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