Showing posts with label OMS. Show all posts
Showing posts with label OMS. Show all posts

Wednesday, November 17, 2010

Previewing Sitecore Reports with Windows Report Designer


You probably know that you can edit Sitecore OMS reports outside of the browser with Windows based tools from Stimulsoft available for download here.

Our Report Designer Cookbook on SDN documents the following benefits of the Windows based Designer:

  • Create new reports from scratch
  • Use wizards to quickly create new reports
  • Reports load quickly (the client does not run in a browser window)
  • Use a number of keyboard shortcuts (including Ctrl Z)
  • Preview functionality
  • Create complex SQL queries using the Query Builder
  • Import and export formatting styles

It turns out that the “Preview” functionality does not, you may be seeing the following errors when trying to preview:

image

What you need is to copy the following DLLs from your Sitecore bin folder into the bin directory where Report Designer is installed on your workstation (C:\Program Files (x86)\Stimulsoft Reports.Net 2010.2 Trial\Bin):

  • Sitecore.Oracle.dll
  • Sitecore.Analytics.dll

After you do that, you will be able to preview the reports just fine:

image

Happy reporting!

Friday, September 10, 2010

Campaign Summary report is throwing exception [Common Errors]


A quick post today in the Common Errors category. You may be getting the following exception when trying to run Summary report on your Campaign:

image


Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   Stimulsoft.Report.StiReport.GetReferencedAssemblies() +1179
...

To resolve this, you need a reference to Sitecore.Oracle.dll within the source of Campaign Summary report.

1. Open the following file: \sitecore\shell\Applications\Analytics\Reports\Campaigns\Summary.mrt

2. Add the following to the <ReferencedAssemblies /> section:
image

That’s all!