FAQ of Microsoft Dynamics CRM on iPhone (JavistaCRM)

November 16, 2009 by Imad HAJJAR

In the previous articles, I have introduced the application on iPhone JavistaCRM. In this blog, i will anwser the FAQs from the users.

As JavistaCRM, Microsoft Dynamics CRM on iPhone, has been published for more than 2 months, while receiving the favorable comments from the users, they have also sent to us some questions, feedbacks and exceptions. To answer the clients in a more effective way, we collected the FAQ concerning the installation, configuration and utilisation of JavistaCRM as the following:

  • How does JavistaCRM works?
  • Can we connect to our Microsoft Dynamics CRM server? And how can we connect to it?
  • What are the versions that JavistaCRM can connect to?
  • Can we update the data on the iPhone and then synchronize the updates to the CRM server?
  • What is the pricing of JavistaCRM?
  • Why the client doesn’t work?
  • Why this application is easy to crash after an upgrade?
  • Why this application always informs me this error message?
  • When synchronizing, it stops at the connecting part.
  • After synchronization, there are still no reports in the Report Entity.
  • Can I search all the phone numbers of a contact?
  • How can I cancel the waiting screen on the iPhone?
  • Why it informs the Server Error “Input string was not in a correct format.”
  • How does JavistaCRM works?

Javista CRM solution for iPhone is composed of 2 parts: iPhone client and Server service. The client side application is free to download from Apple Store and it’s easy to install on your iPhone. On the server side, it’s a service which will be installed on your company’s CRM 4.0 Server. It helps the users to get the data from the database. And the service works depends on a license which can be bought from Javista.

  • Can we connect to our Microsoft Dynamics CRM server? And how can we connect to it?

For the 30 days of testing, you will connect to the dedicated MS CRM server which is located on our side, and with sample data to improve you trial experience. While for the production version, we will offer you JavistaCRM server side application, which is to help the synchronization between CRM server and your iPhone.

  • What are the versions that JavistaCRM can connect to?

It’s designed for Microsoft Dynamics CRM 4.0 on premise. Also JavistaCRM can deploy on the server of Microsoft Dynamics CRM Online.

  • Can we update the data on the iPhone and then synchronize the updates to the CRM server?

In the actual version, JavistaCRM can only get the data from the server and display them on iPhone in a user friendly interface.

While we add some additional functions, for example: calling to the client by clicking on the telephone field, sending emails to the clients by clicking on the email field…

  • What is the pricing of JavistaCRM?

The price of JavistaCRM is 60€ OR 90$ per user per year, with all the updates and supports included.

If you order now, we can offer you a discount. So the final price is 45€ or 68$ per user for the first year.    BUY NOW

  • Why the client doesn’t work?

a.       Please check if you have installed our server side service.

b.      Please check if your iPhone OS has upgraded to the latest version.

c.       Please check if your iPhone has an unlimited internet connection.

  • Why this application is easy to crash after an upgrade?

Because the new version has changed the database structure. Please uninstall JavistaCRM totally and install it again.

  • Why this application always informs me this error message?

Cannot connect or disconnect.
ERROR
Domain = NSPOSIXErrorDomain
Code = 61

That’s because the server address and port in the settings are not correct. Please check your settings.

  • When synchronizing, it stops at the connecting part.

a.       Check out the server settings in the “Settings” application which is in the iPhone’s home screen.

b.      Check out your internet connections.

c.       If your iPhone’s 3G/GPRS service only works in a WAP network, it’s not supported, please contact your ISP services.

  • After synchronization, there are still no reports in the Report Entity.

a.       Make sure your server administrator has modified the reports into external use mode.

b.      Our solution only supports the following reports currently: Account Summary, Account Overview and Sales Pipeline

  • Can I search all the phone numbers of a contact?

Yes you can.

  • How can I cancel the waiting screen on the iPhone?

To avoid miss-touching the screen, there’s no such kind of button on the screen. Please press your home button and exit the application.

  • Why it informs the Server Error “Input string was not in a correct format.”

That’s because your administrator hasn’t publish the three Reports for External use. (See installation guide)

For more information conerning JavistaCRM, and the company Javista, please visite our site web http://www.javista.com

 Kind Regards,

Imad Hajjar

mscrmiphone

 

   Simplify your life with JavistaCRM

 

CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

 

Using Data Pre-Filtering in Microsoft Dynamics CRM Reports

November 16, 2009 by Imad HAJJAR

Have you been looking for a way to retrieve and view query results faster?  Pre-filter the data!

Data pre-filtering in Microsoft Dynamics CRM reports lets you retrieve and display result sets quickly, makes reports context-sensitive, and allows reports to be filtered using the Advanced Find feature. Data pre-filtering complements data filtering supported by Microsoft SQL Server Reporting Services, which limits the data returned by reports.  There are two ways that you can enable data pre-filtering:

  • Automatic Pre-Filtering:  Automatic data pre-filtering, which is suited for simple queries, can be enabled by aliasing entity tables in the queries. The alias name should begin with “CRMAF_”. When you enable automatic data pre-filtering using the “CRMAF_” prefix, Microsoft Dynamics CRM modifies the query to include a parameter (for example, P1), and then passes a query to the P1 parameter depending on how the report is being filtered. In other words, automatic data pre-filtering acts as a sub-query within an existing query.
  • Explicit Pre-Filtering: For complex queries such as queries using UNION statements, you might need to use explicit pre-filtering. Unlike in automatic pre-filtering, Microsoft Dynamics CRM does not rewrite the report query by passing values to the parameters during explicit pre-filtering when a report is uploaded to Microsoft Dynamics CRM. You have to explicitly make the required changes by adding the pre-filtering parameter to the report, and then reference the parameter in the query. You can then execute the query using dynamic SQL.

For detailed information about enabling data pre-filtering on reports, including query examples and the limitations of using automatic data pre-filtering with complex queries, see Using Filters in a Report .

Cheers,

Inna Agranov

mscrmiphone

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

Installing Microsoft Dynamics CRM 4.0 on Small Business Server 2008

November 16, 2009 by Imad HAJJAR

This is commonly asked question in the MSDN forums so the CRM Support Team decided to create a post that could become the defacto FAQ.

Here are a few things to keep in mind when installing Microsoft Dynamics CRM 4.0 on Microsoft Small Business Server 2008.

  • Install the Windows Server 2008 Indexing Service Role
    • If you do not install Indexing Service Role you will see the following error during the installation.
  • Exception_Access_Violation

clip_image001

1. Click Start – Click Administrative Tools – Click Server Manager

2. Expand Roles

3. Right click the Files Services Role and choose add Role Services

clip_image002

4. Check the Indexing Service Role and then finish the wizard.

clip_image003

5. Start the Installation of Microsoft Dynamics CRM 4.0 and the Indexing Service required component should not be listed anymore.

  • Install Microsoft SQL Server 2008 Standard or Enterprise

Note: SBS 2008 installs SQL Express for monitoring, but that cannot be used to store the CRM 4.0 databases. You can install Microsoft SQL Server 2008 on the Small Business Server or on an additional server.

  • If you try to install Microsoft Dynamics CRM 4.0 and use the SQL Express install on SBS you will see this Error in the EDW.

clip_image004

  • If you install Microsoft SQL Server 2008 on the SBS 2008 Server and use the default configuration for SQL Server Reporting Services it sets SSL to be required.
    • If this is the case then you will need to use https when you enter the SRS server url during the installation of the Dynamics CRM 4.0 Server.
  • The second option would be to configure SRS to not require SSL. You can update the rsreportserver.config file to set the secureconnectionlevel = 0

1. Go to C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLServer\Reporting Services\ReportServer

2. Open the rsreportserver.config file in notepad

3. Update the secureconnectionlevel = 0

  • Once Microsoft Dynamics CRM 4.0 is installed you will need to install the Microsoft Dynamics CRM Connector for SQL Server Reporting Services to run reports.
    • If the Data Connector is not installed you will see this Error when running reports

Execution ‘xxxxxxxxx’ cannot be found.

clip_image006

Installing the Data Connector

1. During the install of the data connector make sure to click the check for updates. http://support.microsoft.com/kb/950100

2. After the Data connector install you may need to give permissions to the SQL Service Account on the MSCRM_Config database if you are seeing the following error when running reports within CRM.

Reporting Error: The report cannot be displayed

clip_image008

If you check the SRS logs or run the report in SRS you will see the permission error “Cannot open database “MSCRM_Config” requested by login. The login failed.”

clip_image010

3. After adding the permissions in SQL make sure to restart the SQL Server Reporting Services service.

4. Run an IISReset

a. Click Start, Click Run and type in IISReset

b. If you have UAC enabled and you are not logged in as the admin.
Click Start, click All Programs, click Accessories and right click command prompt and choose Run as administrator

c. Type in IISReset and hit enter.

Hope this helps you get Microsoft Dynamics CRM 4.0 installed successfully on Small Business Server 2008.
Thanks,

Microsoft Dynamics CRM Support Team

mscrmiphone

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

Automating Task Notification

November 16, 2009 by Imad HAJJAR

If you have ever assigned a task to someone and wondered when or if they completed it, this workflow process may help. This workflow is based the Task activity, but you can perform the same process on other activities as well. The workflow will execute when the record’s status changes. Here is a quick picture of how it is configured.

clip_image002

Our first check is to see if the Task was closed with either a Completed or Canceled status. If so, then we check the owner. Is it the same person who created it? If not, then we will send an email to the creator of the Task, using the following email:

clip_image004

When published, the workflow will generate an email that looks like this:

clip_image006

Cheers,

Mitch Milam

mscrmiphone

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

Supported file types in Data Import Wizard for Microsoft Dynamics CRM Online

November 16, 2009 by Imad HAJJAR

The Microsoft Dynamics CRM Online November 2009 Service Update encapsulates many new cool features and improvements. One of such features is the much-much improved Import Data Wizard.

The new Import Data wizard no longer restricts user to import one data file at a time. You can do Import of multiple files containing record types that are related to one another in single Import session. Such as accounts with related contacts, import of notes and attachments along with their associated records in different files, etc.

Apart from this, the new Import Data wizard also supports different formats of input source data file:

1. XML Spreadsheet 2003 (.xml) – The data file can be in Microsoft Excel format stored as an XML file. You can open the XML spreadsheets with Microsoft Excel.

You can also download the pre-created XML Spreadsheet 2003 templates for any record type of Microsoft CRM for doing easy Import with auto mapping. More details on this will be coming in shortly in a separate blog post. So stay tuned!

2. Comma-separated values (.csv) – This is Comma-delimited format file. You can have different field (comma, colon, semicolon, tab) and data delimiters (quotation, single quotation) in this kind of source file.

3. Text (.txt) – This is delimited text format with columns separated by commas, tabs, semicolons, or other characters.

4. Compressed files (.zip) –If you want to Import multiple files in one Import session, you can .zip them together. A .zip file can include files of .csv, .xml, or .txt file types. All files in a single compressed file must be of the same file type.

The .zip file must confirm to one of these folder structure:

  • .zip file having the files and optional attachment folder directly in it:-
    • Attachments (Folder)
    • <File1>
    • <File2>
    • <File3>
  • .zip having a folder which in turn is having the files and optional attachments folder in it:-
    • <Folder1>
      • Attachments (Folder)
      • <File1>
      • <File2>
      • <File3>

Note: By default, the maximum size of the files you can import is 8 megabytes (MB). This means:

  • Any .csv, .txt, or .xml file must not exceed 8 MB.
  • Any individual file inside the .zip file must not exceed 8 MB and the total size of the .zip file, including the Attachment folder, must not exceed 32 MB.

You can choose any of the above file formats and give it as an input to the Import Data wizard. The delimited .txt, .csv, or XML Spreadsheet 2003 format files can be easily created by using Microsoft Office Excel:

1. If your file uses only ASCII characters, save the file as a comma-delimited values (.csv) file:

  • In Excel, click Save As, and select CSV (Comma delimited (*.csv).

2. If your file uses non-ASCII characters, save the file as a Unicode or UTF-8 text (.txt) file:

  • In Excel, click Save As, and select Unicode text (*.txt).

Cheers,

Nitin Mukhija

mscrmiphone

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

Microsoft Dynamics CRM SDK 4.0.10 is available

November 16, 2009 by Imad HAJJAR

Version 4.0.10 of the Microsoft Dynamics CRM SDK is now live on MSDN and on the download center.

This release contains updates relevant to Microsoft Dynamics CRM 4.0 Update Rollup 7 and Microsoft Dynamics CRM Online Service Update 4.

Check out some of the new and updated topics you’ll find in this release. View the Release History for the complete list:

Kudos to the SDK team for all their hard work on this update!

Amy Langlois

mscrmiphone

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

Microsoft Dynamics CRM Online Delivers the November 2009 Service Update

November 16, 2009 by Imad HAJJAR

HomePage With the November 2009 Service Update, we are offering even more value in a Microsoft Dynamics CRM Online subscription. Take a look at all the increased business benefits that the Service Update provides:

Get Instant Online Access: Start a free trial of Microsoft Dynamics CRM Online in less than five minutes. Because sample data is loaded automatically with every trial, you can start modeling real-world scenarios immediately—and you can add or remove sample data at any time.

Increase User Adoption: Help reduce the learning curve and speed user adoption with a familiar Outlook interface. Installation and setup for this option is simple, so users can launch Microsoft Dynamics CRM Online for Outlook at sign-up.

Get Started Faster: The new Get Started Panes put context-based tools, tips, and guidance in your users’ hands. Located at the top of each view, these panes contain links to articles, videos, and helpful wizards to walk users through common tasks. Users may choose to hide or show individual panes—and the system will remember their preferences.

Start Working with Your Data: Administrators who manage customer data in other systems can easily import that data into Microsoft Dynamics CRM Online with the Data Import Wizard. Now, the step-by-step wizard allows you to import multiple files, save your import as a template for future use, and create new attributes and entities on the fly.

Track Your Outlook Data: The Microsoft Dynamics CRM Online November 2009 Service Update makes it easy for users to import their Outlook contacts in bulk. The Add Contacts Wizard helps you to quickly identify contacts to import by grouping them by company name, e-mail address, or user-defined categories. Users also have the option to import related e-mail messages and appointments.

Stay Connected: In addition to connecting through a web browser or the Outlook client, users can now access Microsoft Dynamics CRM Online through their mobile phone. Mobile Express is hosted in Microsoft Datacenters and is included with your subscription, at no additional cost.

Gain Valuable Insights: Take advantage of the new Home Page dashboard to start your day with an overview of your daily tasks and the business metrics that are important to you. Choose from more than 30 charts to help you visualize the health of your business. Administrators can also create custom charts for users.

Get More For Less: Gain more value from Microsoft Dynamics CRM Online, with a low subscription price of only $44 (U.S.) per user, per month. Each organization’s subscription includes:

  • 5 GB of storage space
  • 200 custom workflows
  • 200 custom entities
  • Offline capabilities
  • Mobile Express

Additional storage can be purchased in increments of 1 GB for just $9.99 per month per organization.

To learn more about the November 2009 Service Update, please visit our website at  http://crm.dynamics.com

Cheers,

Stephanie Dart

mscrmiphone

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

Introducing the ‘Import Data Wizard’ in Microsoft Dynamics CRM Online Service Update for Nov 2009

November 16, 2009 by Imad HAJJAR

Import data into Microsoft Dynamics CRM Online using new Import Data Wizard

Microsoft has released Microsoft Dynamics CRM Online Service Update: Nov 2009. To assist organizations with importing data into Microsoft Dynamics CRM, a new enhanced Import Data Wizard is available amongst other new features and enhancements in this update. This wizard is functionally more powerful than the old import data wizard.

The wizard supports multiple file formats including Comma delimited CSV, XML Spreadsheet 2003 and zip, creation of custom record types and fields, import of notes and attachments record types, user creation and owner resolution, complex transformation mappings, pick-list values creation, lookup type field creation and many more such capabilities; Additionally, it provides two Out Of Box Salesforce maps for importing Salesforce data. We will try to cover all new Import Data Wizard enhancements of R4 update in a series of blogs. This is the first blog in the series and aims at familiarizing you with the new Import Data Wizard.

As they say, the best way of learning something is by doing it so I am going to walk you through an import of a simple file named MyAccounts.csv. It has following contents:

Name, Account Number, Company

Raymond Largos, 1456, Global Media

Van Kintop, 16785, HCL Technologies

Step 1: Launch the Import wizard from Tools->Import Data or from the Help Visor as shown below. You can also launch it from the Import grid (Workplace->Imports->New)

image

Step 2: Choose MyAccounts.csv file on the Upload Data File screen by clicking the Browse button as shown and click Next.

image

On clicking Next, you will see a Review File Upload Summary screen which shows all the uploaded files and their sizes. It also has a Delimiters View Settings link. Clicking this link opens delimiter section which allows you to change field and data delimiters as shown below. Since our file is comma delimited, we do not have to change these values here and we will move to the next screen by clicking Next.

image

Step3: Next is Select Data Map screen where you have following two options:

1. Map Automatically –This option allows you to proceed without a data map and system will try to automatically map source data based on the name of your files and name of fields in source files. If the name of a file/field exactly matches with the display name of some record type/field in MSCRM, then that particular file/field will get automatically mapped. Any remaining unmapped files/fields can be manually mapped in the wizard flow. Moreover, you can save these mappings for future use as described in step 6.

2. Use an existing data map – You can use this option when a data map which have mappings for your source data is already present in MSCRM. There are following two types of data maps:

i) System Maps: There are two Out Of Box maps present in MSCRM to help you import your Salesforce data. There will be separate blog posts coming shortly on how to use these data maps to import Salesforce data into MSCRM.

ii) Customized Maps: All data maps on which you have read privilege will be present in this section. These maps are created when you save a data map during the last step (refer to step 6) of an import, or by directly importing data map xml in MSCRM.

Since we are doing a first time Import & we don’t have any existing custom map for our file, we will select the option “Map Automatically” as shown and click Next.

image

Step 4: Next screen is Map Record Types which allows you to map the source file to a MSCRM record type. It also allows you to customize MSCRM and create a new record type for a given data file. You can also choose to ignore a file from here.

Since our source file contains Account information, we will select Account record type from the dropdown. After all the source files are mapped, we can proceed by clicking Next button.

clip_image010

Step 5: Next is Map Fields screen which allows you to map fields in the data files to MSCRM fields. You can choose to map the source field to an existing field or create a custom field for mapping against a source field. You can also choose to ignore a particular source field.

For each record type, this screen displays two sections- Required and Optional Fields. The Required Fields are mandatory fields in MSCRM and while some of them might take default values in MSCRM, it is advisable to map the mandatory fields with user data fields.

For MyAccounts.csv file, Account Number gets mapped by the automatic mapping logic. A warning icon is displayed against the 2 leftover unmapped fields namely Name and Company.

We’ll select Name from the dropdown against Account Name for mapping it to Account Name.

For the Company field since there is no existing field, we would create a custom field in MSCRM to map it. For this, we’ll select Create New Field from the dropdown against Company. Since this field contains the text data, we will create a Text type field in MSCRM. You can also change field display name and field type if required.

image

Next button gets enabled once all the source fields get mapped. Clicking Next will take you to the Review Mapping Summary screen. This screen displays a summary of the mapping of source files. If you want to review the mappings done, you can click the Edit button to go back to Map Record Types screen.

image

Click Next to proceed.

Step 6: The next screen Review Settings and Import Data allows you to review/change the settings which will be used during import and submit the import. Various settings are as follows:

image

1. Allow Duplicates: You can choose whether to allow duplicates during import or not. Duplicate records are identified based upon the published duplicate rules in the MSCRM System.

For more details about how duplicate detection works, you can refer to http://blogs.msdn.com/crm/archive/2008/01/21/duplicate-detection-while-creating-updating-records-in-titan.aspx.

2. Select Owner for Imported Records: This is a lookup where you can select any user to be the owner of the records being imported if the records do not have owner information, or if the records cannot be assigned as expected.

3. Data Map Name: You can optionally choose to save the map if you wish to use it for future imports. I have given it the name –AccountMap.

Guess what? You just need to click Submit for submitting your import!

image

This is the last screen after your Import has been submitted. Click Imports to navigate to the Import grid and see the status of your import.

image

In case of multiple files, you will see one import job per file. Wait for import to complete and open the import form.

image

And here are the accounts that have been imported successfully! We’ll keep you posted on more complex import scenarios that can be handled by Import Data Wizard in the Nov 2009 Service Update.

Cheers,

Khushboo Pandey

mscrmiphone

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

Microsoft Dynamics CRM Implementation Guide (4.5.0) Available

November 16, 2009 by Imad HAJJAR

image

I’m pleased to announce that the fifth update to the Microsoft Dynamics CRM 4.0 Implementation Guide (4.5.0) is now available!

In our commitment to provide continuous publishing to our customers and partners, Microsoft Dynamics CRM 4.0 Implementation Guide update 4.5.0 contains the following:

  • Over 25 corrections and revisions.
  • Revised content to cover the improvements in Microsoft Dynamics CRM Update Rollup 7.

To verify that you’re viewing the latest version, open any of the guide document files, chm file, or TechNet or MSDN nodes, and then on the first page of the document the revision number is displayed. Again, the most current release is 4.5.0.

Special thanks to Maureen our editor for getting this published on TechNet and to Greg a technical writer on our team who (again) worked unwaveringly see this update through completion.

Matt Peart

mscrmiphone

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner

Using SQL Server 2008 to Improve Report Resources Management

November 16, 2009 by Imad HAJJAR

We’ve all had it happen; someone runs a very resource intensive report during the day which slows down the performance of CRM for all the users. This now can happen more frequently with the addition of the Dynamics CRM 4.0 Report Wizard. What if there were a way to be able to manage the server to limit the amount of system resources that are allowed for generating reports? You’re in luck! Now, a new feature in Microsoft SQL Server 2008, allows you to create Resource Pools to manage the maximum amount of resources (CPU utilization and memory utilization) to be used by given processes that you define.

In this example, we’re going to create a Resource Pool that limits any queries being issued from our Reporting Services server to a maximum of 20% CPU utilization and 40% memory utilization. Also, we’ll only enable this feature during business hours (so during the evening, reports can get full system resources).

1. Enable Resource Governor on SQL Server 2008

In SSMS, expand the Management tab and right-click Resource Governor and select Enable.

2. Create a Resource Classifier function.

This function is what does all the assigning of processes to Resource Pools. Below is an example function:

use master
go
create function dbo.ResourceClassifier()
returns sysname with schemabinding
begin
declare @retval varchar(32);
if suser_sname() = 'DEV\ANAKOTA$' and
datepart(hour, getdate()) >= 6 and
datepart(hour, getdate()) < 19
set @retval = 'reports'
else
set @retval = 'default';
return @retval;
end
go
alter resource governor with (classifier_function = dbo.ResourceClassifier)
go
alter resource governor reconfigure
go

This is just a regular SQL Server function and the return values must be one of Workload Groups you created earlier. In this example, we check for the user name of “DEV\ANAKOTA$” (the user that Reporting Services uses to logon to the SQL Server in our example). Next we check the current time, if it’s within business hours (6am – 6:69pm), then we allocate this query to the “reports” Resource Pool, thereby making sure it won’t overload the SQL Server. Any other query is then sent to the “default” Resource Pool.

NOTE: Be sure to change ‘DEV\ANAKOTA$’ in the above script to use the appropriate user name for the reporting services accessing SQL. To determine the user name to compare, I ran SQL Profiler, ran a report from CRM, and captured what user was issuing the query from Reporting Services. There are also other system functions you can use, see http://technet.microsoft.com/en-us/library/bb933865.aspx for more detailed information on writing a classifier function.

3. Create and configure Resource Pool.

Right-click on Resource Governor again and select New Resource Pool… 

In the Classifier function name dropdown list, ensure that selection is your newly created function [dbo].[ResourceClassifer].

Then, in the resulting Resource Governor Properties window, create a new resource with the name of “reports”. Then enter the maximum CPU% and Memory% (in my example I set the values to 20 and 40 respectively).

Select the newly created “reports” Resource Pool that was created above. In the Workload Group for this resource pool grid, enter “reports” for the name of the Workload Group. The final result should look similar to the screen below. Click OK when you’re done.

Keep in mind that by limiting the resources available to a report, you are going to slow down the execution of those reports. Be aware of any SLA’s or other business needs before implementing this solution. Users may have specific business needs at certain times of the day or week to generate reports as quickly as possible. If you need faster performance time on reporting without affecting the transactional database, consider moving the reporting database to a separate SQL Server.

Using the new Resource Governor in SQL Server 2008 can be a quick and easy way to ensure that report processing won’t capture the majority of resources on your transactional SQL Server database.

Cheers,

Jim Steger and Sonoma colleague and author, Rob Jasinski

mscrmiphone

 

Simplify your life with JavistaCRM

 CRM for iPhone

Download JavistaCRM on iPhone v1.5

Start your trial experience of JavistaCRM

FAQ concerning JavistaCRM

Question, Feedback or to be a partner