Posts Tagged ‘IFD’

CRM 4: IFD Authentication using C#

A very common question is: “How do i run a plugin/custom web application against a IFD deployment?”
You should use the below code:

CrmDiscoveryService disco = new CrmDiscoveryService();
disco.Url = “https://YOUR.IFD.URL/MSCRMServices/2007/SPLA/CrmDiscoveryService.asmx”;
RetrieveOrganizationsRequest orgRequest = new RetrieveOrganizationsRequest();
orgRequest.UserId = @”username”;
orgRequest.Password = “password”;
RetrieveOrganizationsResponse orgResponse = (RetrieveOrganizationsResponse)disco.Execute(orgRequest);
OrganizationDetail orgInfo = null;
foreach (OrganizationDetail orgdetail in orgResponse.OrganizationDetails)
{
if (orgdetail.OrganizationName.Equals(”OrgName”))
{
[...]

Comments (123)

CRM 4.0 - Server Error in ‘/’ Application

Gday all,
We had recently powered off our CRM 4.0 server (IFD deployment) due to some urgent maintenance.
We powered on the server, waited for it load and then tried to login and got the wonderful ASP .Net error “Server Error in ‘/’ Application” - i though crap.. what’s going on here..
Looked through the event log and found the ASP [...]

Comments (1)