01 July 2014

Setup Orchard CRM portal website on Azure

Summary

In this post, I will demonstrate how to set up a front-end Orchard CRM portal website on Azure, with Dynamics CRM as the back-end system.
A portal user correspond with a "contact" record in Dynamics CRM, so the user can manage his/her own CRM information without directly accessing the CRM system.
A live demo can be found on: http://www.orchardcrm.com

Terms

Microsoft Azure
Microsoft Azure is an open and flexible cloud platform that enables you to quickly build, deploy and manage applications across a global network of Microsoft-managed datacenters.
Microsoft Dynamics CRM
Microsoft Dynamics CRM is a customer relationship management (CRM) business solution that drives sales productivity and marketing effectiveness through social insights, business intelligence, and campaign management in the cloud, on-premises, or with a hybrid combination.
Orchard CMS
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform. Orchard is delivered as part of the ASP.NET Open Source Gallery under the Outercurve Foundation.
Orchard CRM
Orchard CRM is an open source, Microsoft Dynamics CRM portal solution for Orchard CMS; support Microsoft Dynamics CRM 2011/2013 Online, On Premise and Partner Hosted.

Content

Please follow these steps to setup Orchard CRM portal on Azure:
  1. Setup an Azure website using Orchard CMS template.
  2. Install and configure “Dynamics CRM” model.
  3. Add portal navigation pages.
  4. Setup portal users.

Setup an Azure website using Orchard CMS template


Click NEW -> COMPUTE -> WEB SITE ->FROM GALLERY, then select CMS on the left navigation list, then choose Orchard CMS.

Click “Next”, provide URL prefix, WEBSCALEGROUP and SUBSCRIPTION, and then click “Complete”.

Your Azure website will be created after a few minutes, once created, let’s click on the site name and browse some properties.

The “Dashboard” page provides you the overview of the website, one important thing to notice is you can download the “Publish Profile” and then use it in a website editor (Visual Studio, WebMatrix) for publishing a website onto this Azure website.

You can increase the scalability of the website by clicking the “SCALE” tab, and change the hosting mode and capacity of the website.  Azure website is offered in four tiers: Free, Shared, Basic and Standard, in different price.

For this demo, you don’t need to make change, but do verify the .Net Framework 4.5 is enabled on the “CONFIGURE” tab, by default it is enabled.

Now click the SITE URL from the Dashboard page, on the first time you launch the Orchard site, it will gather some basic information to build the site. In this demo, we use the default settings to build the Orchard site, click “Finish Setup” and wait a few seconds, the Orchard site will be ready to use.

Click the “admin” link on the bottom of the page, or simply add a “/admin” on the site URL, it will redirect to the Orchard Admin Dashboard panel. 

Install and configure “Dynamics CRM” model

From the left navigation panel of the Orchard Admin Dashboard, click “Modules”, then click the “Gallery” tab, search for “Dynamics CRM”, click “Install” and then “Enable” the feature.

After you enabled the module, you should see a “Dynamics CRM” link just under the “Settings” menu on the left navigation bar of the Dashboard. (In case you don’t see that link appear, please click the “Install” again, and then enable it again; this is assembly loading issue in this version.)

Click on the “Dynamics CRM” link, type in the connection string as examples. 
You can try it using CRM Online Trail.


Add portal navigation pages

From the left navigation panel of the Orchard Admin Dashboard, click “Navigation”, then add custom link; Repeat this step to add the following links:

Menu Text URL                                 
CRM Profile      /DynamicsCRM/Account
Cases            /DynamicsCRM/Case
Customers        /DynamicsCRM/Customer
Orders           /DynamicsCRM/Order
Articles         /DynamicsCRM/Article
Service Calendar /DynamicsCRM/Calendar


Setup portal users

From the left navigation panel of the Orchard Admin Dashboard, click “Users”, then you can create Orchard user from there. Every Orchard user has a unique User ID (_orchardServices.WorkContext.CurrentUser.Id) which is generated when create that user in Orchard. In CRM contact entity, there is a system attribute call externaluseridentifier which uses to store the Orchard User ID, this is by design but you can use a different attribute to do so by changing the source code of Orchard CRM.

When an Orchard User login to any of the navigation pages, Orchard will pass the User ID to CRM; CRM will try to match the User ID in contact. externaluseridentifier, if there isn’t a match, then create a new contact record with the User ID; otherwise use that CRM contact record for operations. So each Orchard User will map to a contact record in CRM, and Orchard User can operate as a CRM Contact on the portal website, for example, opening a new case, making an order, schedule an appointment etc. 

Now, if you have got the above steps correctly, you should be able to browse the Orchard CRM Portal via: http://YourAzureURL/DynamicsCRM/

Enjoy Orchard CRM! :)


29 June 2014

Orchard CRM v1.8 - Dynamics CRM 2011/2013 Portal for Orchard

Since last year the Orchard CRM v1.0 released, I have got many feedbacks and letters of thanks from the community. It has been used for the CRM Portal proof of concept as well as production usage with enhancement.

Today I'm pleased to release the new version of Orchard CRM v1.8 (based on Orchard v1.7.3, support Orchard v1.6 and above), the following functions are available, it can be extended (functionality, security etc.) to support your business case.
- My CRM Profile
- My CRM Cases
- My CRM Customers
- My CRM Orders and Orders From My Customers
- CRM Articles
- CRM Service Calendar

The new version is still based on .Net Framework 4.0 (not 4.5) using Dynamics CRM 2013 service context and dll files. This version supports Microsoft Dynamics CRM 2011/2013 Online, On Premise and Partner Hosted.

Enjoy the free CRM Portal and feedbacks are welcomed.


25 June 2014

New Book Review: Microsoft Dynamics CRM 2013 Marketing Automation



This book is written by Alok Singh and Sandeep Chanda at Neudesic.

The target audience of this book is anyone who wants to implement effective marketing strategies using Microsoft Dynamics CRM 2013. It starts with the current marketing analysis and concluded the important of Target Marketing: "Marketing is now a revenue process that is not about broadcasting the product information to all, it's about targeting and nurturing relationships with prospects from an early stage until they become ready to buy."

The book then reflects the present Marketing challenges in which the right automation tools can help to run the modern Marketing activities, as well as closing the gap between Sales and Marketing by providing a shared customer data repository which is where CRM coming from, follows with what can CRM also help on Marketing activities, such as Targeting, Automation and Execution, Close looping and Revenue Management by Collaboration with Sales. And then explains how CRM can help to effectively manage Leads and render Lead Funnel in each stages (Lead generation >> Lead nurturing >> Lead scoring and conversion >> Sales opportunity and recycling >> Post sale loyalty.

This book begins with overall how CRM can help on Marketing Automation, and then introducing how Microsoft Dynamics CRM 2013 can be used to implement those activities.

The book uses the step-by-step approach to demonstrate the following Marketing activities with Microsoft Dynamics CRM 2013:
  * How to build a Marketing list with target customers, examples like the revenue, size of purchase and profitability.
  * How to build and execute flexible Marketing Campaign and keep everything on track.
  * How to measure the Marketing Campaign with ROI, as well as reconcile the campaign response.
  * How to manage the Campaign Response and its lifecycle, as well as converting them into lead and opportunities. Also measuring the response with CRM reports.
  * How to virtualise and analyse Marketing data with CRM chart and dashboard, as well as managing goals using key metrics.
  * How to enhance CRM Marketing with ISV solutions: ClickDimensions and CoreMotives, using email marketing and web tracking, social integration and nurture marketing features.

The only down size I found in the book was not clear (need more details) about How to bind your Marketing strategy and measure ROI with Dynamics CRM in more detail, maybe some real world example could help here.

Overall, this is a kind of book I like and enjoy to read - easy reading with screenshots, small but focused. It can drive you through from Theory to Implementation for a particular area, in this case it's the Marketing module in CRM.

Thank you for writing it.

Jim Wang
June 2014

30 June 2013

Orchard CRM - The Application Design.

The design is simple: Use Orchard as the host system to manage user access, web site content etc.
and then adding a custom module to integrate with Dynamics CRM.
This approach can be used in many scenarios where you want to integrate the existing portal website and a back-end system. In this case, the back-end system is Dynamics CRM, and the front-end system is Orchard CMS.

Mapping is the key

You can mapping an portal user to many CRM records types if you like, i.e. Account, Contact, User, Team etc. Most commonly, as we are doing here, mapping to a Contact record in Dynamics CRM. Like other systems, an authorised Orchard user has an unique and read-only ID, which will be used to identify if this user is in CRM or not. In my sample code, the Orchard identifier is: _orchardServices.WorkContext.CurrentUser.Id.
The mapping field in CRM is ‘externaluseridentifier’ which is a system attribute in the Contact entity (the only reason I choose this field is because it's out of box, good for the demo purpose). You can also use your custom identifier to mapping a Orchard user and CRM contact record, but make sure this field and value shouldn't be modified by CRM users.

The following diagram shows the overall structure of how it works.
Orchard CRM - How It Works

MVC is the core

The custom module calls DynamicsCRM in my sample code, it's an undecorated MVC application (99%) with some Orchard-specific features (1%). I say it's undecorated, because you don't need to write any CSS code etc. The custom module can inherit look&feel from the host theme by simply declaring an Orchard class [Themed] in the controller.

The advantage is obvious: First of all, you can focus on the core-functionality development and leave the rest of work to Orchard. Secondly, the core MVC code can be reused elsewhere, i.e. you can use it to develop a portal app for SharePoint public facing website etc.


The following diagram shows the MVC core function in the DynamicsCRM module.
DynamicsCRM module - MVC Core
The rest files are mostly Orchard specific and really easy to understand.

Here's some links for this solution:
DynamcisCRM module (with sourcecode) for Orchard CMS
Orchard CRM portal demo
Previous articles about Orchard CRM:
Microsoft Dynamics CRM and CRM Portal website
Orchard CRM - A concept of Dynamics CRM Portal Solution


Cheers,
Jim Wang
June 2013

24 May 2013

Orchard CRM - A concept of Dynamics CRM Portal Solution

The purpose of this article is to introduce a portal solution for Microsoft Dynamics CRM; The concept can be used on other business software + portal, such as ERP, SCM etc.

From the solution perspective, there are two types of portal:
  • Stand-alone Portal - this is a dedicated portal website for CRM, it handles all CRM users security access, CRM interactivity, portal users authentication and authorisation etc.
    Example for this stand-alone portal solution: the CRM SDK has a portal sample from AdxStudio, which fits in  this solution. You can even manage the portal website within CRM - it treats CRM as a CMS system.
  • Integrated Portal - this is an existing website with CRM portal integration, the website manages its own security access and users, CRM portal is an add-on functionality that handles the CRM interactivity.
    Example for this integrated portal solution: Imagine you have an existing company website that needs accept customers order, feedback etc. and send these requests into CRM directly. You might also want the customers can interactive with some CRM data.
The solution I'm going to introduce is the latter. It uses Orchard as the host website, then add CRM portal as an add-on function (call "Module" in Orchard, which effectively is an "Area" in ASP.Net MVC. ) on the website. This is not the how-to article about Orchard, but here's some background information of why I choose Orchard as the host for the CRM portal solution. The whole solution can sit on any .Net hosting provider, such as Windows Azure.

So let's call it "Orchard CRM" from now on - start with Orchard:

Orchard

In short, Orchard is a free, open source CMS system that built on the cutting-edge version of ASP.Net MVC platform  (that's what I really like about Orchard). It can be extended using "Modules" ( majorly on the functional side) and "Themes" (majorly on the look&feel side).

Orchard Project Mission

Install Orchard 

You can install Orchard locally using the following ways:
  • Install it using the Microsoft Web Platform Installer.
  • Install it from Microsoft WebMatrix as shown in Working with Orchard in WebMatrix.
  • Download the Orchard .zip file and install it as described in Manually Installing Orchard Using a zip File.
  • Enlist in the Orchard source code and build Orchard from the command line or in Visual Studio.
Note: You can also quickly build a Orchard site in Windows Azure website gallery directly.

Build a default Orchard site from the source code

If you want to write your own module or modify an existing module like Orchard CRM, you need the Orchard source code.
  1. Download Orchard source file and extract to a local folder, i.e. D:\Orchard.Source.1.6.1\
  2. Use Visual Studio to open the solution file: D:\Orchard.Source.1.6.1\src\Orchard.sln
  3. Build the solution, then Run it - it will load the Orchard website "Get Started" page.
  4. Type in the site information then click the "Finish Setup" button. The default Orchard site is now created.
  5. You can mange the Orchard site by clicking the 'admin' link on the bottom.
Default Orchard Site

Install and Configure the CRM module

You can install a module via the Admin Dashboard by clicking the "Dashboard" link on the homepage, or just type in the URL, i.e.: http://localhost:30320/OrchardLocal/Admin ,

In the Admin Dashboard, click the Modules link on the left navigation bar, then click the "Gallery" tab, search for "Dynamics CRM".

Then click the "Install" link, after the module has been installed, click "OK" to enable the module.
Now, you should see the "Dynamics CRM" menu under "Setting". Click the link and then input the CRM connection string, for example:
  • CRM Online: "Server=https://crmurl/yourorgname; Username=domain\crmservice; Password=servicepassword"
  • CRM OnPrem: "Server=https://crmurl/yourorgname; Username=domain\crmservice; Password=servicepassword"

Finally click the "Save" button on the bottom.
I suggest you create a brand new CRM instance (or use the CRM Online trial) to run it first.


Orchard CRM Setting
Now the CRM module has been enabled and configured, try to browse the following link to see if it works: http://localhost:30320/OrchardLocal/DynamicsCRM

Because this is the first time you run Orchard CRM and there isn't any data in the CRM system, so the page will relocate to the /DynamicsCRM/Account view, so you can input your information, and save it. Once saved, a Contact record will be auto-generated with all information you input on the page, as well as the user identifier value (Orchard User ID).
Orchard CRM - Profile Page
So next time, when you login to Orchard CRM, your profile will be identified.
Dynamics CRM - Contact

Add Navigation Item

The following CRM functions are available in this module (v1.0)
  • My CRM Profile - My profile in CRM, url: /DynamicsCRM/Account
  • My Cases - My cases in CRM, url: /DynamicsCRM/Case
  • My Customers - My sub-contacts in CRM, url: /DynamicsCRM/Customer
  • Orders - Orders from me and my sub-contacts, url: /DynamicsCRM/Order
  • Articles - All published CRM articles, url: /DynamicsCRM/Article
You can add navigation menu for them on the homepage. On the Admin portal, click the Navigation menu, then add "Custom Link":

Orchard Navigation
 Type in Menu text and Url, then click "Save". (repeat this step to add all links)
Orchard Menu Item
On the Navigation page, click "Save All".

The module can be downloaded here (open source NuGet package): https://gallery.orchardproject.net/List/Modules/Orchard.Module.DynamicsCRM

Note: this is an open source package I built for the the community and demo purpose; you can extend the functionality and enhance the security further to support your business case.

In the next post I will discuss the application design of the Orchard CRM.



28 April 2013

Microsoft Dynamics CRM and CRM Portal website

Why do you need a CRM Portal?

The CRM system is usually an "internal" system, that is, the content in CRM can only be accessed and managed by internal CRM users. It all makes perfect sense until you want something more, here's some business cases that you might want to consider as a CRM Portal solution.

Business Case 1 - Reduce the license cost (where the portal user is the CRM user)

The ESS(Employee Self Service) CAL is 1/3 license cost of the Limited CAL; is 1/10 license cost of the Full CAL. If a company has a big amount of CRM "light users", then the ESS CAL would fit for purpose, so a CRM portal or a helpdesk application is required  in this case (access through Microsoft Dynamics CRM clients is not allowed in ESS CAL)

Obviously, in such scenario, you will have to balance the ROI(Return On Investment) of building a CRM Portal and the license cost.

The Employee Self Service (ESS) CAL provides a user with limited API access and limited read-write access to “Microsoft Dynamics CRM functionality” through any application/graphical user interface (GUI), other than the Microsoft Dynamics CRM client. The ESS CAL addresses the licensing requirements for light user scenarios of Microsoft Dynamics CRM 2011. ESS CAL isn't available in Dynamics CRM Online. 
Refer to Microsoft Dynamics CRM 2011 pricing and licensing guide for a complete list of use rights.

Business Case 2 - Interactive with business relations (where the portal user is not the CRM user, but map to another CRM entity, i.e. Account, Contact etc.)

That's it! Non-CRM users can also contribute to your CRM system, like your business partners and/or customers. They exist in your CRM system as Account or Contact (or other entities but not the User entity) records, with some development work, they can register (or be given) an unique UserId and Password to login to CRM Portal, then they can perform some by-design actions, for examples:
  • Creating/Updating their own data  in CRM, like personal profile, support case etc.
  • Booking/Amending a service appointment with available resources/facilities.
  • Making/Managing online orders, manage invoice etc.
The beauty of it is all their inputs will be synced using the agreed format into CRM without CRM user intervention. For instance: 

  1. Your customer login to the CRM portal, select a few products and make an order.
  2. Your CRM user will see a new order has been created in CRM (via Portal) by one of your customers (also in CRM). 
  3. The CRM user can fulfill the order and create an invoice in CRM; 
  4. The customer will see the order status changed to "Fulfiled" and the invoice for that order.
The external connector license (for non-employee access) is required for this scenario.


Business Case 3 - Interactive with the public (where the portal user is anonymous Internet user, who has nothing to do with the CRM system)

CRM data can be pushed or pulled to the Internet to allow public Read-Only access. 
With some development work, the CRM KB Article and Sales Literature can be published to a public website to allow Internet users to access and download. The idea is, you can now use CRM as a "CMS" system, that you can manage contents within CRM.

About the technologies used in CRM Portal

CRM Portal can be built with all major web technologies, i.e.: .Net, Java, PHP, Ruby. It doesn't matter how you design the user front end, on the back end they call CRM references to perform actions.
CRM Portal can be stand along, or integrate with your existing company website. 
Here's a demo (but real) CRM Portal website (http://www.orchardcrm.com/) I built for clients demo.


Some highlights:
  • Support CRM Online, Azure Hosted VM, On-Premise etc.
  • Multi-Devices support, like: Desktop/Laptop, Mobile Phone, iPad etc.
  • Create/Update your CRM profile (update your Contact record in CRM)
  • Create/Update/View CRM cases
  • Create/Update/View CRM orders for yourself and your sub-customer (sub-contacts in CRM)
  • Book a service appointment activity in CRM.
  • View CRM published articles.
The website is built on top of my favorite Orchard CMS project (LIKE)!

Hopefully this article gives some ideas about what CRM Portal can do!

Cheers,
Jim Wang
MVP Dynamics CRM
04. 2013

18 February 2013

New Book Review: Microsoft Dynamics CRM 2011 Application Design


This book is written by Mahender Pal, a CRM MVP.

On the first chapter, it briefly introduced Microsoft Dynamics CRM 2011; along with deployment options, client options, requirements and typical CRM modules: Sales, Marketing and Service. The book gives an example of how to design and develop a "Project Training Enrollment System" using Dynamics CRM 2011, with abundant screenshots and detailed steps. As a reader, you will learn how Dynamics CRM works as a 'xRM' application; you will go through the CRM customisation concepts and form design; You will also learn how process, plugins and web resource works in Dynamics CRM. The book also covers the application development using Dynamics CRM web services. Compares different CRM mobile client. Last but not least, it also introduces how to build an Issue Tracker tool using Dynamics CRM 2011.

This book will give you a good idea of CRM application design and development; it's suitable for technical consultant and developers.

Thanks Mahender!


19 January 2012

Get a free Dynamics CRM 2011 Project Tutorial book offer

Do you want free copies of my latest book?

Well, all you need to do is visit Microsoft Dynamics CRM 2011 New Features and tell me 
the one feature, that makes you want to own this book in the comments section below (on this post).
Make sure to enter your email address, so that I can in touch with you. Two individuals who have mentioned the best reasons will be provided with an e-copy each.




Thanks,
Jim

12 November 2011

New CRM 2011 Book Released: << Microsoft Dynamics CRM 2011 New Features - with a CRM project tutorial >>.

New CRM 2011 Book Released: << Microsoft Dynamics CRM 2011 New Features - with a CRM project tutorial >>.



This book is your one stop resource to get to grips with all the new features of Dynamics CRM 2011. To make learning fun and engaging, we will build an Airline Compensation Management (ACM) system using Dynamics CRM 2011.
The book starts by setting up the development environment for Microsoft Dynamics CRM 2011. We will then build a structural architecture for the ACM system and configure it in Dynamics CRM 2011. While doing this, we will learn about the new customization features offered by Dynamics CRM 2011.
We will then move on to Data Importing and will cover the Import Data Wizard tool, as well as the Import file/data web service which provides additional capabilities that are not available in the Import Data Wizard.
We will use client-side programming to perform data validation, automation, and process enhancement and learn powerful event driven server-side programming methods: Plug-Ins and Processes (Formerly Workflows).
The book then steers you towards SharePoint integration, Charts and Dashboards, Customizing the Ribbon and Sitemap, and extending Dynamics CRM 2011 in the cloud.
Finally we will package the ACM solution and learn how to deploy it.

What you will learn from this book :
  • Set up a development environment for Dynamics CRM 2011
  • Import your important data from various sources using the Import Data Wizard
  • Use web resources to store files virtually
  • Visualize your data using filters, charts, and dashboards
  • Customize the default Microsoft Dynamics ribbon
  • Improve document management in your CRM system by integrating it with SharePoint 2010

Approach
This book is packed with practical steps and screenshots to make learning fun and addictive. You will learn to build a complete Airline Compensation Management system using Dynamics CRM 2011.

Who this book is written for
If you want a focused book that gets you up-to-speed with the new features of Microsft Dynamics CRM 2011 then this is the perfect book for you.Microsoft Dynamics CRM 2011 New Features - with a CRM project tutorial

Chapter 1, Setting up the Development Workspace, shows how to set up and configure your Microsoft Dynamics CRM 2011 development workspace that you can use for the project.
Chapter 2, System Design and Configuration, gives you a high level overview of an Airline Compensation Management (ACM) XRM application in Microsoft Dynamics CRM 2011 that we are going to build.
Chapter 3, Data Import, populates some sample data into Microsoft Dynamics CRM 2011, using new Import Data Wizard for testing and further development.
Chapter 4, Client-side Programming, gives you an overview of the new client-side programming features in Microsoft Dynamics CRM 2011.
Chapter 5, Server-side Programming, introduces the Microsoft Dynamics CRM 2011 event driven server-side programming methods: Plug-ins and Processes.
Chapter 6, SharePoint Integration, guides you through how to enable and configure the SharePoint integration feature in Microsoft Dynamics CRM 2011.
Chapter 7, Charts and Dashboards, covers the new business intelligent features such as filters, charts, and dashboards.
Chapter 8, Extending Microsoft Dynamics CRM 2011 in the Cloud, introduces Microsoft cloud offerings and sets up a portal site on the Windows Azure platform and integrates the portal with Microsoft Dynamics CRM 2011 Online.
Chapter 9, Sitemap and Ribbon Customization, covers the Sitemap and Ribbon customization.
Chapter 10, Packaging it Up, explains solutions and how to better use solutions to help our deployments into different environments.

28 September 2011

Fetch-based report, Sandbox and TCP 808

Just a reminder, if you deploy a Dynamics CRM 2011 on different servers, you need to allow the inbound TCP port 808 on the Windows Firewall Inbound Rules on the CRM application server, or change it to something meaningful to you.

The reason for that is because, by default the Sandbox service are using the default port 808 to call back CRM server. Furthermore, because the Fetch-based report are running inside a "Sandbox" (that's why you can have fetch-based report on CRM Online, but not SQL based report). So to make sure the Fetch-based report works (all reports created by the CRM report builder are Fetch-based report), you must consider it as well.

Some error message you may see when running a Fetch-based report (if not doing so):

Report render failure. Error: An error has occurred during report processing. (rsProcessingAborted)

and

Event code: 3005
Event message: An unhandled exception has occurred.


Process information:
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: CrmReportingException
Exception message: An error occurred during report rendering.
at Microsoft.Crm.Web.Reporting.SrsReportViewer.SetExecutionCredentials(ServerReport reportObj)
at Microsoft.Crm.Web.Reporting.RemoteSrsReportViewer.LoadReportAndSetParameters()
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

An error has occurred during report processing. (rsProcessingAborted)
at Microsoft.Reporting.WebForms.ServerReportSoapProxy.OnSoapException(SoapException e)
at Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
at Microsoft.Reporting.WebForms.ServerReport.SetDataSourceCredentials(IEnumerable`1 credentials)
at Microsoft.Crm.Web.Reporting.SrsReportViewer.SetExecutionCredentials(ServerReport reportObj)


You might also see this error when debugging it:
Could not connect to net.tcp://CRMServer/CrmSandboxSdkListener-w3wp.