Showing posts with label CRM2011. Show all posts
Showing posts with label CRM2011. Show all posts

10 December 2014

Quickly view schema name and guid in crm form

Most of the time we need to refer to our CRM entity/ form for schema name during development.
Here is some script which can allow developer to identify via the CRM record form.

Create a file with following code, save as Debug.url extension, so you can use this as shortcut in bookmark to trigger the script.  Just copy to Favorite folder, it is ready to use.



[DEFAULT]
BASEURL=http://mscrm:5555/DEV/main.aspx
[DOC_contentIFrame]
BASEURL=http://mscrm:5555/DEV/_root/homepage.aspx
ORIGURL=/DEV/_root/homepage.aspx
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,15
[InternetShortcut]
URL=javascript:(function(){javascript:var x = 0; while (frames[x].Xrm.Page.data == null) {x++;} frames[x].Xrm.Page.ui.tabs.forEach(function(b){b.setVisible(true);b.sections.forEach(function(c){c.setVisible(true);})}); frames[x].Xrm.Page.ui.controls.forEach(function(a){a.setVisible(true); if (a.setDisabled != null) {a.setDisabled(false);} var span = document.createElement('span'); span.innerHTML = ''; if (frames[x].document.getElementById(a.getName() + '_c') != null) {frames[x].document.getElementById(a.getName() + '_c').appendChild(span);}}); var span = document.createElement('span'); span.innerHTML = ''; frames[x].document.getElementById("form_title_div").getElementsByTagName("div")[0].appendChild(span); var span = document.createElement('span'); span.innerHTML = ''; frames[x].document.getElementById("form_title_div").getElementsByTagName("div")[0].appendChild(span);})();
IDList=
IconFile=http://mscrm:5555/favicon.ico
IconIndex=1
HotKey=0
[Bookmarklet]
ExtendedURL=javascript:(function(){javascript:var x = 0; while (frames[x].Xrm.Page.data == null) {x++;} frames[x].Xrm.Page.ui.tabs.forEach(function(b){b.setVisible(true);b.sections.forEach(function(c){c.setVisible(true);})}); frames[x].Xrm.Page.ui.controls.forEach(function(a){a.setVisible(true); if (a.setDisabled != null) {a.setDisabled(false);} var span = document.createElement('span'); span.innerHTML = ''; if (frames[x].document.getElementById(a.getName() + '_c') != null) {frames[x].document.getElementById(a.getName() + '_c').appendChild(span);}}); var span = document.createElement('span'); span.innerHTML = ''; frames[x].document.getElementById("form_title_div").getElementsByTagName("div")[0].appendChild(span); var span = document.createElement('span'); span.innerHTML = ''; frames[x].document.getElementById("form_title_div").getElementsByTagName("div")[0].appendChild(span);})();

12 October 2014

CRM Email router failed to load data

Faced one issue during email router configuration, prompt me error when I try to load data:

The decryption key could not be obtained because HTTPS protocol is enforced, but not enabled


The request failed because system is expecting HTTPS connection but SSL is not enable in website.
Solution is to add add a key in registry:
1. Click Start , Run , type regedit
2. Navigate to registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM
3. Click New , and then click DWORD Value .
4. Name subkey to DisableSecureDecryptionKey .
5. Right-click DisableSecureDecryptionKey
6. Type 1 in the Value data field  

07 December 2013

HTTP Error 401.3 when browsing CRM page

If this error happen to show when browsing CRM page:

HTTP Error 401.3 - Unauthorized
You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

First navigate to CRM application pool, check the Anonymous setting. Find out what is the identity.
By default is set to IUSR.

Then navigate to CRM folder, make sure you gave the permission to "IUSR" & "IIS_IUSRS" read and write permission. Remember to replace child permission for all items in subfolders.

This steps solved my issues ;)

29 August 2013

CRM2011 Dashboard: You do not have enough privileges to access CRM object or perform requested operation

Issue:
CRM2011 Dashboard showing "You do not have enough privileges to access the Microsoft Dynamics CRM object or perform the requested operation. For more information contact your Microsoft Dynamics CRM administrator"

  1. Try to double check, is the user's access mode is read write and license type is full.
  2. If i individual chart, make sure that individual charts is share to user
  3. Check on the permission of the entity, view and dashboard as well.

30 May 2013

CRM2011 Plugin Registration Tool Throw Generic SQL error


I hit this error while trying to register a plugin assembly in CRM 2011.
Error message is very generic :)
Generic SQL error.
System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support
The root cause of this error is database log file is running out of disk space, is full!
Just do a simple housekeeping will solve the issue.

Hope this help. Happy CRM'ing

20 April 2013

Error: Failed to get priv user group information

Today, my CRM2011 server was down and throwing the following error message:

To solve this, just restart CRM services.

Failed to get priv user group information. k = 71157794-44a2-4dec-9476-90a76d05d119 privUserGroupId: 1ab26bc8-7874-4a79-8230-b236bff78f16, localSystemAdGuid: 00000000-0000-0000-0000-000000000000, Exception: Microsoft.Crm.CrmSecurityException: Could not find GUID for : SEAASTPASPIRE08$ with SearchFilter: samAccountName ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} failed due to the following error: 800703fa Illegal operation attempted on a registry key that has been marked for deletion. (Exception from HRESULT: 0x800703FA). at System.DirectoryServices.ActiveDirectory.DirectoryEntryManager..ctor(DirectoryContext context) at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context) at Microsoft.Crm.SecurityUtils.GetGuid(String searchItem, String searchFilter, String searchItemLogInfo, Boolean exceptionIfNotfound) --- End of inner exception stack trace --- at Microsoft.Crm.SecurityUtils.GetGuid(String searchItem, String searchFilter, String searchItemLogInfo, Boolean exceptionIfNotfound) at Microsoft.Crm.SecurityUtils.GetLocalSystemGuid() at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context).

17 January 2013

Rollup 12 for CRM2011 (released)

Initially supposed to release on 10/January, end up discovered issue that could potentially impact the database.
If you manage to download the server bits before they withdrew from download center, please do not apply until further notice.

Message from MSCRM VP

Some side information regarding the impact on SharePoint Integration with latest CRM 2011 Online service update.
Reported issue
[updated on 18/Jan]

Server and others update has released again.
check the browser compatible list belows:
http://support.microsoft.com/kb/2784954

[updated on 30/Jan]

03 December 2012

How to control what CRM records sync into Microsoft Office Outlook



With Dynamics CRM 2011 outlook client, users can view CRM data even they are not connected to CRM. Synchronized too much data might not be a good idea as it will reduce performance and user experiences.

In CRM2011, users can specify the filter on:
  • what data they wanted to take offline
  • what data they wanted to sync to their outlook’s folder
To configure Office Outlook 2010 filters,
1.       Navigate to File>CRM> Synchronize dropdown.

2.       After clicking the “Outlook Filters”. Users can change the filter to control what data sync into their outlook.
The dialog contains list of different entities type being configured and their status.

Offline Synchronization Filters
Outlook filters affect CRM items which have counterparts in Outlook, like Tasks, Contacts and Appointments. They control what data gets synced to Outlook folders, such as the Contacts folder or Calendar.
Outlook Synchronization Filters
Offline filters affect the CRM folders in Outlook, and they specify what data gets stored on your machine when you disconnect from the internet (Go Offline).

If user missing CRM data while Offline, we can modify the Offline filters.
If user is taking long time to Go Offline, we can deactivate some of the data filters to reduce amount of data being sync.
User Filters
These filters belong to you, and it defined what information gets synced down from CRM to Outlook.
Systems
These filters configured by the system administrator, and they apply to everyone.



09 November 2012

Firewall Port Requirements for CRM 2011

Some useful information for enterprise level environment installation.
List of ports to be enabled in firewall before running your CRM2011 installer.

Download the full requirement below.
Download

31 October 2012

Yammer Dynamics CRM Integration

Yammer announced a native integration with CRM few days ago!
Announcement


Meanwhile, the detail information on how we can use and integrate with CRM yet to be confirmed.
For example: CRM online, on premises and activity feeds etc...

Will try to update here once I get the update, it is good to see that more and more native integration build in with MSCRM :)

11 October 2012

CRM2011 UR 11 is available!

Will be release on 11-Oct, click the build number tab on this website for detail.
KB2739504

08 August 2012

CRM2011 setup log file location


Some good to know information during CRM 2011 installation process.

The log file will be created in the following path:

C:\Users\<LoginName>\AppData\Roaming\Microsoft\MSCRM\Logs

LoginName is the user name that you are using for installation

13 July 2012

CRM 2011 Activity Feed cannot be deleted

Playing with the new activity feed R8 beta solution recently. Somehow hit an error prompting me "The Solution Activity Feeds cannot be deleted. The following components are required by other components in the system." when I try to remove the managed solution.

By viewing the details, we can see the dependencies.
Disable the message step for activity feed managed solution.
For this case, we have to navigate to the "Activity Feeds configuration", then delete the records inside.
Followup with Publish all entities...

Now you should be able to uninstall it. :)

08 April 2012

How to access Azure WCF Endpoint with CRM plugin

CRM plugin only support add service reference on run-time, which means we have to bind and generate the classes using code behind whenever we want to access it.

We can use the following sample code to create the binding in code behind.
BasicHttpBinding myBinding = new BasicHttpBinding();
myBinding.Name = "ARV.MyService";
myBinding.Security.Mode = BasicHttpSecurityMode.None;
myBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
myBinding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None;
myBinding.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.UserName;
EndpointAddress endPointAddress = new EndpointAddress("http://eea5f8cbdbc749b0bcea2b6250cbae11.cloudapp.net/Myservice.svc");
MyServiceClient client = new MyServiceClient(myBinding, endPointAddress);
client.sendSMS();

26 March 2012

Update Rollup 7 for CRM 2011

Official available on 22 March 2012 for download now.
KB : 2600643
Download HERE

This RU introduce a new feature called Read Optimized Forms. By using this feature, an organization can let users decide whether they want to view records using a form that is optimized to load quickly.
The read-optimized form improves productivity for users who primarily consume data instead of editing records. It also helps prevent users from unintentional editing field values

24 March 2012

CRM 2011 SDK 5.0.10

We can download the latest CRM 2011 sdk v5.0.10 already!
 Release on 22/Mar, cheers

There is a new topic with guidance about two types of read-only forms: the new read-optimized forms included in Microsoft Dynamics CRM 2011 Update Rollup 7 and the Microsoft Dynamics CRM for Microsoft Office Outlook reading pane.

18 February 2012

CRM 4 and CRM2011 rollup information [sharing post]

Here is the detail information regarding Dynamics CRM 4 and 2011, posted by Greg Nichols. Well done !
Rollup version listing

14 February 2012

CRM Anywhere-R8 (Q2 2012)

Microsoft will be releasing their next service release called "CRM Anywhere" which will definitely be a important milestone for Dynamics CRM as it provides some of the most wanted features for CRM 2011.

Dynamics CRM Mobile
Set to provide a cross-platform native mobile client for WP7.5, iPad, iPhoneand Blackberry.

Cross Browser Support
CRM web client will run across different browser and platform such as Safari, Firefox, Chrome...powered by HTML 5


Enhancement
Activity Feed enhancements. Improve portal framework and deliver industry templates. Leverage on SQL 2012 provide the next generation BI & reporting tools.

Happy CRM'ing

10 February 2012

My CRM book review [Microsoft Dynamics CRM 2011 New Features]

I was contacted by an online book shop “Packt Publishing” to review one of the CRM book by Jim Wang and Darren Liu. Both of them are well known CRM MVP in the field. I hope that in future will have chance to meet them up.

Back to the book review, I would say this book is more suitable for those technical people who deal with MSCRM customization as well as extending CRM. I like the way how they used simple English and the “Note” section that display extra tips for readers’ reference. In term of the book contents, I was a bit surprise because it actually included the environment setup chapter which is missing on many CRM book. :) Reading the experience by experts is the fastest way to pick up. 

The chapter - Extending CRM 2011 in the Cloud di provide summary information for readers to have a quick start on the Cloud requirement. The chapter arrangement is OK and rich, but I prefer it can include a chapter for CRM2011 troubleshooting technique. Another hot topic that missing is the claim base configuration. Overall for me, USD35.99 for almost 300 pages print book is definitely worth it. 

Book Contents preview:
1.    Setting Up the Development Workspace
This chapter provides the information about the development tools, system requirement as well as step by step guide on how to setup a CRM2011 VM.

2.    System Design and Configuration
Interesting topic arrangement where they use a project to explain the CRM2011 customization part (Entity,Form,View,Relationship)

3.    Data Import
Provides the information and option for data import with real life business example.

4.    Client site programming
Information regarding the XRM.Page namespace, SOAP and REST endpoints programming.

5.    Server side programming
Provides information on the CRM assemblies, plugin development and Process.

6.    SharePoint Integration
Show case on SharePoint integration with CRM2011.

7.    Charts and Dashboard
Information on CRM charts dashboard and filters.

8.    Extending CRM2011 in the Cloud
Information on the Azure,Email router and the CRM2011 Portal solutions.

9.    Sitemap and ribbon customization
Guide on working with sitemap, ribbon etc.

10.    Packing it up
Explain on the new concept of CRM2011, Solution. Managed and Unmanaged solution tips.

27 January 2012

Book review: Microsoft Dynamics CRM 2011 New Features

Received this book "Microsoft Dynamics CRM2011 New Features" last 2 weeks. Wrote by 2 CRM MVPs Jim Wang & Darren Liu to provide readers all in one type of resource to pickup CRM2011...
Stay tuned for my upcoming review of this book, half way through already~ :-)

[updated]
Book review post