Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:304280
More Search Options
RSS Available
Matching Posts
Re: Report fine; PDF export fine; Excel export crashes - ArgumentOutOfRangeException
Well, Microsoft Reporting Services people, you have some work to do. Workaround (inspired by http://www.developmentnow.com/g/115_2009_3_0_0_454135/Error-when-generating-in-Excel.htm and http://support.microsoft.com/kb/914398 ): In my case moving a Textbox just a tiny bit helped solve the problem. As a matter of fact, Visual Studio gives a warning like "The rectangle ‘rectangle1’ and the image ‘image1’ overlap. Overlapping report items are not supported in all renderers." (But it does not
Posted to
SQL Server Reporting Services
(Forum)
by
marcschluper
on 5/5/2009
Re: Report fine; PDF export fine; Excel export crashes - ArgumentOutOfRangeException
I am not alone facing this problem: http://www.eggheadcafe.com/conversation.aspx?messageid=31481983&threadid=31481983 Wei Lu, are you still working on it?
Posted to
SQL Server Reporting Services
(Forum)
by
marcschluper
on 5/5/2009
Re: Report fine; PDF export fine; Excel export crashes - ArgumentOutOfRangeException
By the way, I get exactly the same stack dump if I (instead of using Export to Excel on the rendered page) do something like Warning [] warnings; string [] streamids; string mimeType, encoding, extension; byte [] buffer = report.Render( "Excel" , null , out mimeType, out encoding, out extension, out streamids, out warnings); in the code behind.
Posted to
SQL Server Reporting Services
(Forum)
by
marcschluper
on 4/30/2009
Re: ReportViewer
Try http://www.gotreportviewer.com/ or http://www.codeproject.com/info/search.aspx?artkw=reportviewer
Posted to
SQL Server Reporting Services
(Forum)
by
marcschluper
on 4/30/2009
Report fine; PDF export fine; Excel export crashes - ArgumentOutOfRangeException
I use the Report Viewer Redistributable 2005 Service Pack 1 (version 8.0.50727.1843). On my ASP.NET page the report displays fine, in a ReportViewer control, using an rdlc file. Export to PDF works fine. Export to Excel crashes. Stack does not tell me much because it’s all internal to the Report Viewer: [ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index] System.Collections.ArrayList.get_Item(Int32 index) +7483656
Posted to
SQL Server Reporting Services
(Forum)
by
marcschluper
on 4/30/2009
Filed under: ReportViewer Excel export
Re: Both DataSource and DataSourceID are defined on same definition error?
It could be a bug in .NET: sometimes the wrong error message is displayed. I had a different bug in my data access code (the Table attribute of my entity class had a spelling error in its Name property) and also got this very confusing "Both DataSource and DataSourceID are defined" error. Once I had removed the typo the confusing error message went away. So configure VS (Debug:Exceptions) so that it breaks when CLR exceptions are thrown and then run the app again. Now you see the real error
Posted to
Data Presentation Controls
(Forum)
by
marcschluper
on 10/10/2008
Re: Data Access
Why would you write while (returnData.Read()) { Category TempCategory = new Category ( Convert .ToInt16(returnData["Id"]), Convert .ToString(returnData["Title"])) TempCollection.Add(TempCategory); } if you could write int ciId = returnData.GetOrdinal( "Id" ); int ciTitle = returnData.GetOrdinal( "Title" ); while (returnData.Read()) { Category TempCategory = new Category(returnData.GetInt16(ciId), returnData.GetString(ciTitle)); TempCollection.Add(TempCategory
Posted to
Issue Tracker Starter Kit
(Forum)
by
marcschluper
on 9/26/2008
Filed under: ADO.NET DataReader
Re: this._form is null or not an object
Well, the goal of my message above was to ensure that people who google "this._form is null or not an object", "this._form has no properties", or "this._form._initialAction=this._form.action" get the cause of their problem. I accomplished that. I am not sure whether it is an error in the ASP.NET AJAX Framework. But the error is displayed when IE7 (or Firefox 2.0.0.7) hits "this._form._initialAction=this._form.action" which is in a script generated by this framework
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
marcschluper
on 9/27/2007
Re: this._form is null or not an object
I got the same error message (in IE7 that is; in Firefox it is "this._form has no properties"). The error is triggered by this._form._initialAction=this._form.action in an embedded resource (script). In my case it went away after I changed the inclusion of a script in my Html <head> element from < script type ="text/javascript" src ="grid.js" /> to < script type ="text/javascript" src ="grid.js" ></ script > This looks like
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
marcschluper
on 9/21/2007
Filed under: bug script
Re: Resizable control as part of composite control
Indeed. I tried background-image . Visual Studio did not let me (saying 'url(<%=WebResource(' is not a valid value for the 'background-image' property .). After I read your comment I realized I could set the background-image by means of specifying background . Thanks.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
marcschluper
on 6/28/2007
Page 1 of 2 (15 items) 1
2
Next >
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
IIS.NET:
URL Rewriter and Reverse Proxy
TechNet Edge:
Forefront Secure Endpoint Demo and Interview
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Silverlight:
Deploying your Silverlight and WCF RIA Services application
Channel 9:
Juan Chen and Nikhil Swamy: FINE, a Compiler for End-to-End Security Verification
IIS.NET:
DebugFinder
Channel 10:
Get the Outlook Hotmail Connector Beta
Channel 10:
MSN to Launch New Lifestyle Site from Wonderwall Creator
Channel 10:
Behind the Windows 7 Startup Animation
Channel 9:
Reactive Extensions API in depth: CombineLatest
Channel 9:
C9 Lectures: Dr. Graham Hutton - Functional Programming Fundamentals Chapter 11 of 13
WindowsClient:
New WPF Showcase: Scrum Sprint Monitor
WindowsClient:
WPF/XAML helping VS2010 Extensibility
WindowsClient:
HTTP 403.9 with ADO.NET Data Services
WindowsClient:
xml syntax highlighting in Silverlight
Channel 9:
Channel 9 Emerges in China
WindowsClient:
Overlaying Icons on the Windows 7 Taskbar with WPF 4
Channel 9:
The Outlook calendar starts in 1601 - But Why?
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online