If you're using Crystal Reports 2008 in your ASP.NET application, and after deploying to a 64bit server getting following error:
An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
then switch your application to 32bit mode. In case of Windows 2003/IIS6 entire server will have to be switched, in case of Windows 2008/IIS7 a dedicated 32bit application pool can be established for your application.
This is probably a very obscure situation, but it happened to me, it could happen to someone else. Scenario: an ASP.NET page with Infragistics UltraWebGrid inside of a WARP panel. A button outside the WARP serves as a trigger for partial postback. First click on the button causes expected partial postback, but on the second click page does full postback and is screwed after that. The issue happens only in IE6/7, page works correctly in IE8.
Another condition - page contains ASP.NET AJAX ScriptManager control with ServiceReference path pointing to an ASMX WebService.
Turned out the issue was caused by project being left in debug mode (in web.config debug="true"). Which caused WebService page to be loaded with parameter "jsdebug" in query string. Which apparently IE6 and 7 didn't like very much. Switching to debug="false" in web.config solved the problem.
Categories: ASP.NET, HTML/CSS, Infragistics, Javascript, Rant Tags: browser, bug, dotnet, Error, html, Internet Explorer, Microsoft, solution
If you're using MS Chart Control for .NET Framework 3.5 SP1 (in .NET Framework 4.0 it comes as a part of a framework), you may experience a strange behavior when chart images aren't rendered on the page:

If you're using HTTP Handler to serve chart images (image URL looks something like ".../ChartImg.axd?i=chart_24dae5cb1f024c4a89f4fe492f05cc59_0.png") missing mapping in IIS configuration could be to blame Read more...
Often you have to operate with flattened data that in reality contains multiple levels of hierarchy. For example it can come as a result of several SQL JOIN statement and look like this:

In this example data consist of static root column, region, site, type and state. And the data has clearly defined hierarchy (e.g. Region "India" has site "Bangalore", site "Bangalore" has types "Application" and "Area", type "Application" has states "N/A" and "Testing").
To load this data into Infragistics UltraWebTree I put together a small procedure: Read more...
December 29th, 2009
Yuriy
If your ASP.NET application worked fine in your Development environment, but after deploying it to staging or production crashes with error:
Could not load type System.Web.UI.ScriptReferenceBase from System.Web.Extensions
most likely it was compiled against .NET 3.5 SP1 but the target machine has original .NET 3.5 framework without SP1. The solution is download Service Pack 1 and install it on target server. Another possibility - compile the project against original .NET 3.5 framework.
Recent Comments