Dec 022011
 

Microsoft Dynamics CRM SDK Version 5.0.8 released. You can download from MSDN library or  MSDN downloads

Updates in the SDK :

·         Updated binaries for the Portal developer toolkit and developer extensions. New features include support for authenticating portal users through the Windows Azure Access Control Service.

·         A new section describing developer integration and access to Microsoft Office 365.

·         Updated helper code for authentication to support more scenarios.

·         A new topic providing guidance for creating solution components that support multiple languages.

·         New samples for auditing, entity serialization, bulk delete and more.

·         See the complete list of new and updated samples and links to all  the new topics in the Release History on the first page.

 

Nov 132011
 

You may have noted that Microsoft Dynamics CRM Sustained Engineering has released fixes for Internet Explorer-related memory leaks affecting our Microsoft CRM 2011 web client.  I’ve noticed that occasionally IE clients may still leak memory, eventually resulting in slower page load times or Out Of Memory errors, even though the latest CRM 2011 Update Rollup has been installed on your CRM servers.

Please note: Windows client servicing, via Windows Update or WSUS (Windows Server Update Services) + SCCM (System Center Configuration Manager) is also vital.  We’ve identified a fix that can potentially help with Internet Explorer memory leaks.  This fix was pushed through Windows Update via MS10-090: Cumulative security update for Internet Explorer.  It was released earlier this year and is likely already on your client machines.  HOWEVER: the fix I’m referencing here is registry enabled, so to receive the benefits of this fix, you need to add the registry keys mentioned in the associated Microsoft Knowledge Base article:

KB 975736: A memory leak occurs when you open a Web page that contains a circular reference in an iframe

The registry changes needed to activate the fix are described in this Knowledge Base article, and for large enterprises, these registry keys are generally pushed by GPO (Group Policy Objects) or other means.

In any case, I heartily recommend that you assure MS 10-090 is installed on your client machines and the KB 975736 fix enabled if you are still experiencing Internet Explorer-related memory leaks when the latest CRM 2011 Server Update Rollup (as of this writing, Update Rollup 5) is installed.

 

http://blogs.msdn.com/b/crminthefield/archive/2011/11/11/microsoft-dynamics-crm-2011-related-microsoft-windows-internet-explorer-memory-leaks-and-windows-microsoft-update.aspx

 

 

Nov 022011
 

Open a Windows PowerShell window with Administrative Rights.

PS > Add-PSSnapin Microsoft.Adfs.PowerShell

PS > Get-ADFSRelyingPartyTrust -Name:”relying_party“

PS > Set-ADFSRelyingPartyTrust -TargetName “your_relying_party_name” -TokenLifetime 7200

So this code set the session timeout as 12 Hours (7200 minutes )

Don’t forget to replace your_relying_party_name with the real name in your AD FS 2 Manager –>Relying Party Trusts

Sep 232011
 

While configuring Claims-based authentication in Deployment Manager , error message box appeared.It may because of the length of SSL Cetificate name.If it’s longer than 128 chars , the Deployment Manager can not write it to the MSCRM_Config database.
Here is the solution and worked for me.But you should know that the solution is unsupported :
Run the query for MSCRM_CONFIG database .This query updates the Certificates table and its schema:

ALTER TABLE Certificates ALTER COLUMN Name NVARCHAR(256);
UPDATE   MSCRM_CONFIG.dbo.ConfigurationMetadata

SET   ConfigurationMetadataXml =     REPLACE(      CAST(ConfigurationMetadataXml AS NVARCHAR(MAX)),

‘<Column Name=”Name”><Description>Name of the Certificate</Description><Type>nvarchar</Type><Length>128</Length>’,

‘<Column Name=”Name”><Description>Name of the Certificate</Description><Type>nvarchar</Type><Length>256</Length>’     );

Sep 142011
 

 

This package contains the complete Software Development Kit for Microsoft Dynamics CRM 2011.
Microsoft Dynamics CRM SDK Version 5.0.6 is now live on MSDN library and on the MSDN downloads.
Updated:
• Updated the Plug-in Registration Tool to work with Windows Azure AppFabric Access Control Services (ACS) 2.0. It is also backwards compatible with the previous version.
• Updated the Azure sample code readme files to explain the new setup procedures.
• See more updates in the Release History on the first page.

MSDN:
http://msdn.microsoft.com/en-us/library/gg309408.aspx
Download: http://www.microsoft.com/download/en/details.aspx?id=24004

 

Jun 182011
 

Microsoft has released a Virtual Machine (VM) for CRM 2011 for field and partner consumption.  This virtual machine is for demonstration purposes and is pre-loaded with a number of high value scenario demos. It includes CRM 2011, SharePoint, Exchange, Outlook client, SQL Server, and includes xRM scenarios such as portals, facility management, employee management, vendor management scenarios.  With the host of tools available within the VM, it can also be used to kick start your CRM 2011 development if you’d like to build apps for CRM 2011.

You can download the virtual machine from PartnerSource here: https://mbs.microsoft.com/partnersource/deployment/methodology/vpc/MSD_CRM2011VirtualMachine.htm

If the standard one doesn’t fit your needs, you can always build your own custom CRM 2011 VM.

May 102011
 

Microsoft has released Update Rollup 17 for Microsoft Dynamics CRM 4.0 Server, Microsoft Dynamics CRM for Microsoft Office Outlook, Microsoft Dynamics CRM Data Migration Manager, Microsoft Dynamics CRM 4.0 Language Packs, and Microsoft Dynamics CRM 4.0 E-mail Router.

For more information about this release, see Microsoft Knowledge Base article 2477746:
http://support.microsoft.com/default.aspx?kbid=2477746

Apr 012011
 

Well, while I was writing some usefull library codes , I’ve noticed that my codes can not connect my trial Dynamics CRM Online organization.

So,I started to investigate.In the code I was getting Secure Data Encryption Error but I was sure it was something else :)

Well, the point was the LiveDevice.xml under the user profile folder “C:\Users\{User Name}\LiveDeviceID”.

Somethig has already made a device registration for online services that Dynamics CRM Online does not accept.

Simply delete it and let your code create a new shiny one.

Thats all , you can keep on coding ;)

 

Mar 062011
 

Type Mapping Between Versions

The following table shows the mapping between the defined type for an entity attribute, the type that is used in a record, and the type that was used in Microsoft Dynamics CRM 4.0.

AttributeTypeCode Microsoft Dynamics CRM 2011 type Microsoft Dynamics CRM 4.0 type
AttributeTypeCode.BigInt long N/A
AttributeTypeCode.Boolean bool CrmBoolean
AttributeType.CalendarRules  

EntityCollection or CalendarRules[]

DynamicEntity[] or calendarrule[]
AttributeType.Customer EntityReference Customer
AttributeType.DateTime System.DateTime CrmDateTime
AttributeType.Decimal decimal CrmDecimal
AttributeType.Double double CrmFloat
AttributeType.EntityName string Attributes with ObjectTypeCode in DisplayMask
AttributeType.Integer int CrmNumber
AttributeType.Lookup EntityReference Lookup
AttributeType.ManagedProperty BooleanManagedProperty N/A
AttributeType.Memo string System.String
AttributeType.Money Money CrmMoney
AttributeType.Owner EntityReference Owner
AttributeType.PartyList EntityCollection or ActivityParty[] activityparty[] or DynamicEntity []
AttributeType.Picklist OptionSetValue Picklist
AttributeType. Uniqueidentifier (Formerly PrimaryKey) System.Guid Key
AttributeType.String string System.String
AttributeType.State OptionSetValue or enumeration generated for the entity state EntityNameStateInfo
AttributeType.Status OptionSetValue Status
AttributeType.Uniqueidentifier System.Guid UniqueIdentifier
AttributeType.Virtual Not used in records. Not used in records.

 

Mar 032011
 

I am sure if you try to import your org crm instance from Dynamics CRM 4.0 into Dynamics CRM 2011 , uses different languages you will see the import error below :

“System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Data.SqlClient.SqlException: Violation of PRIMARY KEY constraint ‘XPKLocalizedLabel’. Cannot insert duplicate key in object ‘MetadataSchema.LocalizedLabel’.The statement has been terminated.”

So , you need to start  from beginning.

Disable all other languages in your Dynamics CRM Org Instance on Language Setting.

Attach the original crm db to the new sql server , for Dynamics CRM 2011.

Open a new query editor and execute  :

UPDATE MetadataSchema.LocalizedLabel

SET LanguageId = [your base language code] — for Turkish 1055

WHERE ObjectID = ‘B1C70485-BA33-4C5F-8710-5446E3F68CA7′

 

Keep on importing your old organization into Dynamics CRM 2011.