ASPHostCentral.com SQL Reporting Service (SSRS) 2012 Hosting BLOG

All about SQL Reporting Service (SSRS) 2012 Hosting articles

SSRS 2008 R2 Hosting :: Solving the issues with ReportViewer Rendering in IIS 7

clock April 11, 2011 15:19 by author Administrator

Applies to:

- Internet Information Services 7.o (IIS7)
- Microsoft Report Viewer Redistributable 2005

Symptoms:

- Unable to render ReportViewer on ASP.NET Web pages while running on IIS7.
- You have no problem viewing your reports when running on debug mode with your Visual Studio 2005.
- You are able to view your reports on Report Manager but not able to view them on IIS7.
- You encounter JavaScript error when loading your report page with ReportViewer. Image buttons such as calendar appear as red 'X'.

Cause:

- When the ReportViewer control is added to Web Form (.aspx), the Reserved.ReportViewerWebControl.axd httpHandler is added to System.Web section of the Web.Config file. In IIS7, it should be added under System.Webserver section.
- IIS7 Handler Mappings does not contain Reserved.ReportViewerWebControl.axd httpHandler, and therefore unable to render the ReportViewer elements needed by the JavaSript.

Resolution:

- Open Internet Information Services (IIS) Manager and select your Web application.
- Under IIS area, double-click on Handler Mappings icon.
- At the Action pane on your right, click on Add Managed Handler.
- At the Add Managed Handler dialog, enter the following: Request path: Reserved.ReportViewerWebControl.axd
Type: Microsoft.Reporting.WebForms.HttpHandler
Name: Reserved-ReportViewerWebControl-axd
- Click OK.

Reserved-ReportViewerWebControl-axd handler is now added to your Handler Mappings list. Notice that the following line has also been added to your Web.config file under the system.webserver's handler section:

<add name="Reserved-ReportViewerWebControl-axd" path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler" resourceType="Unspecified"/>

Run your report again

Currently rated 1.7 by 32 people

  • Currently 1.6875/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


SQL 2008 R2 Hosting - Top 10 Features in SQL 2008 R2

clock March 30, 2011 18:12 by author Administrator

With all the new features in SQL 2008 R2, here are the major ones getting all the press:

PowerPivot
Parallel Data Warehouse
Application and Multi-Server Management
StreamInsight
256 core support 

There is so much written on the ones above, I wanted to concentrate on talking about other new features in SQL 2008 R2.  So, in no particular order:   

1.       SMB support – SMB stands for Server Message Block and this protocol is now officially supported by SQL Server 2008 R2 and beyond.  This improvement has formalized the support status of placing SQL database files on SMB network file shares.  From Kevin Farlee, the owner of this feature in SQL Server: “This presents a better-together story with the work that Windows has done in Windows7/Server 2008 R2 to make the Windows SMB stack far more performant and resilient than in the past.  It is also a recognition that with the increasing acceptance of iSCSI, customers are viewing Ethernet as a viable way to connect to their storage.  Finally, it gives customers in consolidation environments a very simple to manage method for moving databases between servers without investing in a large SAN infrastructure.” 

2.       Increased Performance – there are very nice performance improvements, especially with the combination of Windows 2008 R2 and SQL 2008 R2.  The actual TPC-E measurements on have been audited and published.

3.       SYSPREP – Finally!  We can now create Sysprep versions of SQL Server environments, starting with SQL Server 2008 R2, but only for the relational engine.  My favorite thing about this piece is that it even works with HyperV images containing SQL Server 2008 R2.

4.       Report Builder 3.0 and Reporting Services – Too many great new features to talk about in a blog and the development team already has a great blog.  But my favorite is the Report Part feature where you can take an existing report and designate report items and data regions to save and reuse in other reports.  This can amount to a huge time savings for developing new reports.  Other customers tell me they like the improved Sharepoint integration and the performance improvements in Sharepoint.  But that is not all, there is Bing map support, spark lines, and shared data sets. 

5.       Master Data Services – for data consistency across heterogeneous applications. BOL link.

6.       SSIS - Bulk Inserts with ADO.NET provider are now possible, which is extremely nice because it used to do it a row at a time.  Now, if you check the box to “Use Bulk Insert when possible” then you can see vastly improved performance when it kicks in.

7.       Setup – integrated Sharepoint mode setup is vastly improved for both Reporting Services and Analysis Services.  See the link for Powerpivot for Sharepoint to get the instructions.

8.       Excel 2010 – new additions for databases:  slicers, data cleansing, AJAX data feeds, Odata feeds and named set improvements.  To create a Named Set in Excel, once you’ve created a PivotTable against an OLAP source go to the Options tab under PivotTable Tools, and select “Fields, Items, & Sets” à “Manage Sets” à “New…” à “Create Set Using MDX…”.  Another of my new favorites within PowerPivot in Excel is the new Data Cleansing ribbon.  This allows the users to do their own clean up, which will be essential when they combine data from disparate sources.  And you can also get an OData feed from a Reporting Services report.

9.       Database Compression - now supports Unicode.  If you have Unicode date types, like nchar and nvarchar, but the data contained within is normally single byte character sets, you will see significant space savings. 

10.   PHP 5 Driver – Version 1.1 of the PHP 5 driver has a list of new capabilities, allowing access to SQL Server 2005 and SQL Server 2008.  

New and changed Editions  (more details and pricing)
·         Data Center Edition – needed for machine with more than 8 physical CPU sockets plus other improvements needed for the top SQL Server projects. 
·         Parallel Data Warehouse Edition – Massively Parallel Processing (MPP) Edition of SQL Server targeted at data warehouses in the 10’s to 100’s of terabytes.  It is an appliance where you order the hardware and software together and it comes preinstalled and preconfigured.  The minimum installation is one rack so no, you cannot install it on your laptop to play with it.
·         Standard Edition – now has the capability to do backup compression. 


 

Currently rated 1.5 by 8 people

  • Currently 1.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


SQL 2008 R2 Hosting :: Working with Case Insensitive Data

clock March 23, 2011 18:00 by author Administrator
Today, I have faced a very simple but still annoying problem. I was asked by a client that queries are not working correctly with given WHERE clause. Actually database was design as case insensitive but SOMEHOW on application side there were some business logics which client needs case sensitive inputs (Just like password) and comparisons. 

Here is an example for easy understanding. We have following simple table and data.

USE AdventureWorks
GO
CREATE TABLE #CaseInSensitive
(cisId INT identity(1,1), cisText varchar(50))

INSERT INTO #CaseInSensitive (cisText)
SELECT 'Abc'
UNION ALL
SELECT 'ABc'
UNION ALL
SELECT 'ABC'
UNION ALL
SELECT 'AbC'


If we need all records where column cisText value is ‘ABC’ then here is simple query

SELECT * fROM #CaseInSensitive
WHERE cisText = 'ABC'



Ops. We got all four records as output but we need only one records where cisText = ‘ABC’. But at the time of table creation we have not set any case sensitive collation. Don’t worry; here is a query which can help us.

SELECT * fROM #CaseInSensitive
WHERE cisText COLLATE SQL_Latin1_General_CP1_CS_AS = 'ABC'



During table design we can also make a column case sensitive

CREATE TABLE #CaseSensitive (csId INT identity(1,1), csText varchar(50) COLLATE SQL_Latin1_General_CP1_CS_AS)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


SSRS 2012 Hosting

ASPHostCentral is a premier web hosting company where you will find low cost and reliable web hosting. We have supported the latest ASP.NET 4.5 hosting and ASP.NET MVC 4 hosting. We have supported the latest SQL Server 2012 Hosting and Windows Server 2012 Hosting too!


Tag cloud

Sign in