Dotnet printing problem: the data area passed to a system call is too small

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: DCraig (dcraig_at_nospam.com)
Date: 07/08/04


Date: Wed, 7 Jul 2004 17:07:45 -0700

I'm having problems printing to a line printer from both Crystal Reports and
SQL Server reporting services using dotnet. When I try and print a report
from an application with Crystal I get the error message "the data area
passed to a system call is too small", and nothing else. With SSRS when I
try to print the report from the IDE I get the same error, I can load the
report up to the report server and view it with IE, then print it from there
but there are some formatting issues.

So far I've found that this appears to be an error that can be generated by
different processes, I found one that seemed to be almost exactly my
problem:
http://support.microsoft.com/default.aspx?scid=kb;en-us;822779
The common elements are dotnet printing - I'm assuming that printdocument
class is used by both Crystal and SSRS, and the plain text printer driver.

The problem is that it's the wrong operating system, my client is XP and the
print server is Windows 2003 server.

I'm using Visual Studio 2003, everything is up to date.

Has anyone seen this with XP/2003 and if so, have any tips on finding the
cause?

Thanks in advance;

David Craig.
ABC-CLIO



Relevant Pages

  • Re: Server Performance Report - Memory in use - showing No data
    ... Please find below the report I received this morning. ... There still isn't any 'Server Specifications' or 'Memory use' data ... click the Backup snap-in in Server Management, ... Critical Errors in Application Log ...
    (microsoft.public.windows.server.sbs)
  • Re: Erroneous E-mails sent entries in Server Usage Report
    ... One of the sbs2k3Sp1 boxes did previously report outgoing messages correctly in the Usage Report. ... I gave up modifying the default recipient policy years ago and now create my own policy on each server before creating users. ... the information "E-mail sent to external recipients" lists *zero* messages being sent by all users other than Administrator. ... Please check the Message Tracking Center. ...
    (microsoft.public.windows.server.sbs)
  • Re: Server Performance Reports broken
    ... I'll try to reinstall R2 and report back on how that goes. ... we cannot remove WSUS from R2 features directly. ... tries to collect WSUS information and WSUS node still appears in Server ... Step 1: Reinstall monitoring component: ...
    (microsoft.public.windows.server.sbs)
  • Re: Erroneous E-mails sent entries in Server Usage Report
    ... As far as I can recall, this problem was not present on my own server before ... did previously report outgoing messages correctly in the Usage Report. ... I gave up modifying the default recipient policy years ago and now create my ... Please check the Message Tracking Center. ...
    (microsoft.public.windows.server.sbs)
  • Re: Server Usage Report
    ... Server firewall to access the Internet. ... Configure ISA Server for monitoring and reporting. ... The SBS Usage report does not pull data from ISA. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)