CRM4 Failover system?? It’s Possible!

Posted by on Jun 21, 2009 in CRM 4.0, Deployment |

Hello all,

Take the following actions:

  • Setup a new CRM server and choose the ‘connect to an existing deployment’ and choose the SQL server and reporting server
  • Once that’s online, test that it is working and make some changes (you should see them on your old system)
  • Lets assume that your deployment is sitting at CRM.MSCRMBLOG.NET all we do now is add a new A record pointing to the new CRM server’s ip address. It should resolve to 69.XX.XX.XX & 70.XX.XX.XX

That easy huh! :)

Read More

CRM4: Hiding tabs and sections

Posted by on Jun 17, 2009 in CRM 4.0, Customizations, JavaScript |

Hello all,

I am currently working on a small CRM project and one of the requirements was to hide a section and a tab onLoad.

// Hiding the Contract section

crmForm.all.contractid_c.parentElement.parentElement.style.display=’none';

// Hide the KB article tab (2nd Tab)

crmForm.all.tab1Tab.style.display=’none';

I’m sure you can use this in other ways (i.e:. onChange, onClick etc..).

Happy Coding!

Read More

Sharepoint – Unknown Error has occurred

Posted by on May 28, 2009 in Sharepoint |

I too have dreaded this error – it means nothing to me and just pisses me off especially when developing webparts.

You can remove this by opening the web.config,

Search for <customErrors mode=On /> and change it to <customErrors mode=Off />

To see the call stack and trace information. Find

<SafeMode MaxControls=200CallStack=falseDirectFileDependencies=10TotalFileDependencies=50AllowPageLevelTrace=false>

and change the value of “CallStack” to true.

<SafeMode MaxControls=200CallStack=trueDirectFileDependencies=10TotalFileDependencies=50AllowPageLevelTrace=true>

Finally, don’t forget the set debug=”true” in the web.config or it won’t matter whether you put the assembly in GAC or not without it the breakpoints will turn all nice and red, but it won’t stop anywhere. If you want to enable generation of debug symbols for just in time compilation Find

<compilation batch=false debug=false>

and change it to

<compilation batch=false debug=true>.

Although none of these are appropriate for a production environment, but they all make development much easier.

-Ibrahim Sukari

Read More
%d bloggers like this: