PC Review


Reply
Thread Tools Rate Thread

Strange exception with ReportViewer control

 
 
=?Utf-8?B?UXVpbWJseQ==?=
Guest
Posts: n/a
 
      16th Feb 2007
We're the ReportViewer Control in a .NET 2.0 winforms app.

Here's the call I'm making:

byte[] reportBytes = this.reportViewerInstallRpt.LocalReport.Render("PDF",
null, out mimeType, out encoding, out extension, out streamids, out warnings);

Here's the exception:
A call to PInvoke function
'Microsoft.ReportViewer.Common!Microsoft.ReportingServices.Rendering.ImageRenderer.CompositionPDF+WindowsGDIWrapper::GetGlyphIndicesW'
has unbalanced the stack. This is likely because the managed PInvoke
signature does not match the unmanaged target signature. Check that the
calling convention and parameters of the PInvoke signature match the target
unmanaged signature.

The exception only happens intermittently on some machines, but always on
some other machines. This makes me think there is some kind of configuration
problem, perhaps. However, we are all using Visual Studio 2005 SP1 -- exact
same version of .NET framework and VS.

Any thoughts on why this is happening?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReportViewer Control's strange behaviour Srinidhi Microsoft ADO .NET 0 28th Mar 2009 10:45 PM
ReportViewer Control SetParameters Exception After Report Export groups2008@stanwick.net Microsoft Dot NET Framework Forms 1 14th Mar 2008 02:18 PM
Strange exception with ReportViewer control =?Utf-8?B?UXVpbWJseQ==?= Microsoft Dot NET 0 16th Feb 2007 10:25 PM
Strange exception with ReportViewer control =?Utf-8?B?UXVpbWJseQ==?= Microsoft Dot NET Framework Forms 0 16th Feb 2007 10:25 PM
system exception after reportviewer deployed badfog Microsoft ASP .NET 0 30th Aug 2006 06:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:25 PM.