SSRS Atomsvc connection giving 500 error, The size parameter must be between zero and the maximum Int32 value.

Jason Bishop 0 Reputation points
2024-10-07T16:39:10.0466667+00:00

I am getting the following error when trying to connect excel to an ATOMSVC file for SSRS.

library!ReportServer_0-3!8a54!10/07/2024-08:45:58:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeException: ArgumentException is encountered. Check inner exception for details., Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerHttpRuntimeException: An error occurred in the HTTP Runtime object for application domain ReportServer_SSRS_0-3-133727666004487885. Most likely, the HTTP request contains an unsupported verb or invalid syntax. ---> System.ArgumentOutOfRangeException: The size parameter must be between zero and the maximum Int32 value.

Parameter name: size

Actual value was 2390942598.

at System.Web.HttpFileResponseElement..ctor(String filename, Int64 offset, Int64 size, Boolean isImpersonating, Boolean useTransmitFile, Boolean supportsLongTransmitFile)

at System.Web.HttpWriter.TransmitFile(String filename, Int64 offset, Int64 size, Boolean isImpersonating, Boolean supportsLongTransmitFile)

at System.Web.HttpResponse.TransmitFile(String filename, Int64 offset, Int64 length)

at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.HttpResponseWrapper.<>c__DisplayClass20_0.<ReturnResponseBody>b__0()

at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.<>c__DisplayClass1_0.<Run>b__0(Object state)

at System.Security.SecurityContext.runTryCode(Object userData)

at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

at System.Security.SecurityContext.Run(SecurityContext securityContext, ContextCallback callback, Object state)

at Microsoft.ReportingServices.Diagnostics.RevertImpersonationContext.Run(ContextBody callback)

at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.HttpResponseWrapper.WriteRSStream(RSStream stream)

at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderReport(SessionfulClientRequest sessionManager)

at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderReport(SessionfulClientRequest sessionManager)

at Microsoft.ReportingServices.Library.StreamRequestHandler.PerformStreamedOperation(StreamedOperation operation)

at Microsoft.ReportingServices.Library.StreamRequestHandler.RenderItem(ItemType itemType)

at Microsoft.ReportingServices.Library.StreamRequestHandler.ExecuteCommand()

at Microsoft.ReportingServices.WebServer.ReportServiceHttpHandler.RenderPage()

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,920 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 36,511 Reputation points
    2024-10-08T03:05:49.5433333+00:00

    Hi @Jason Bishop,

    The size parameter must be between zero and the maximum Int32 value.

    Parameter name: size

    Actual value was 2390942598.

    The maximum value for an int32 is 2,147,483,647.

    Your actual value does not match with the rule, please have a double check.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.