dynamics-forums,crm-developmentRelated issues-Collection of common programming errors
msdn
dynamics-forums crm-development
I have a small question here. Suppose I am updating a child entity or parent entity using C# code, and my update code is failed for parent or child. What will happen to other entity (i.e. child or parent). Will everything be roll-backed or we have to do it explicitly.Thanks RegardsPrashanthThanks Regards Prashanth Kamasamudram Even the least work done for others awakens the power within; even thinking the least good of others gradually instills into the heart the strength of a lion.
msdn
dynamics-forums crm
I am attempting to install CRM 4.0 on the Windows 2008 server (2nd in an SBS 2008 Premium domain) and have an errror where the install fails and cannot be uninstalled sucessfully. the error pops up after the install files have been copied and the actualinstall is proceeding.the error reads ActionMicrosoft.Crm.Setup.Server.AddServiceAccountsToSqlAccessGroupAction failed.the directory property cannont be found in the cache.I have searched and have been unable to find any reference to this er
msdn
dynamics-forums crm-deployment
Hello!We are CRM 2011 Service providers and have CRM 2011 installation with claims based authentication.When I try to open \XRMServices\2011\OrganizationData.svc I get exception:Exception generated at: 02.08.2011 0:45:32Error Type: System.Web.HttpExceptionError Message: Failed to Execute URL.Error Stack Trace: System.Web.HttpException (0x80004005): Failed to Execute URL. at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String meth
msdn
dynamics-forums crm
HI Guys,try{// STEP 1: Instantiate and configure the CrmDiscoveryService Web service.CrmDiscoveryService discoveryService = new CrmDiscoveryService();discoveryService.UseDefaultCredentials = true;discoveryService.Url = String.Format(“http://{0}:{1}/MSCRMServices/2007/{2}/CrmDiscoveryService.asmx”,_hostname, _port, “AD”);// STEP 2: Retrieve the organization name and endpoint Url from theB// CrmDiscoveryService Web service.RetrieveOrganizationsRequest orgRequest = new RetrieveO
msdn
dynamics-forums crm-deployment
Hello everyone,We have been dealing with a very frustrating issue for the past two months, considering the deployment of a CRM 2011 Partner Hosted infrastructure.The network is consisted of 2 front end servers in NLB configuration, 1 back end server and 1 SQL server.Following Microsoft’s deployment guide, the infrastructure works fine, before configuring Claims authentication. That is, before enabling claims authentication, everything works as it should, both nodes respond correctly and there ar
msdn
dynamics-forums crm
Hallo ZusammenIch habe folgendes Problem. Ich kann bei Contacts, Acounts keinen neuen Owner zuweisen.Wir benutzen CRM 4.0 rollout 10. Mir sagt die Fehlermedlung sehr wenig. Über hilfreiche Tipps würde ich mich freuen.————-Ich habe etwas herausgefunden:Crm Exception: Message: , ErrorCode: -2147204784, InnerException: System.Data.SqlClient.SqlException: Invalid column name ‘q’.auf was für eine Spalte wil er da zugreifen?Kann mir jemand sagen wie ich dan die SQL abfrage komme
msdn
dynamics-forums crm-development
When i am trying to insert record in Entity in crm4.0 using web services in SSIS Script Component i got this error please help meThe request failed with HTTP status 400: Bad Request.at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)at SC_9b8cb6f38b324ceeb4981e80f6876611.csproj.CRM.CrmServ
msdn
dynamics-forums crm-deployment
Hi,I’m installing CRM4 (with offline access) on a new Vista PC and I’m getting an error “Indexing Service is not running” and “failed to validate Index Service”. I have SQL Server 2005 installed and Vista has installed all the mandatory updates.Looking around the net I’ve found references to the indexing service has changed between releases of SQL and CRM 4 is looking for the previous version. However, I can’t find any further information.Can anyone point me in the right d
msdn
dynamics-forums crm-deployment
I have a user on the support team who reconfigures to different environments many times a day, always with the same AD Credentials. He recently started getting the following message when trying to reconfigure:The Configuration Wizard was unable to verify whether Microsoft Outlook is running. Please confirm that Outlook is not running and then continue with Setup.I verified that Outlook.exe and anything else outlook related is not on his task manager, so it is closed. If I select OK, t
msdn
dynamics-forums crm
Hi,I recently upgraded from Office 2003 to Office 2007 on my XP SP2 laptop w/out uninstalling MSCRM 3.0. Went thru manual install as recommended in MS KB and ran MS CRM Laptop Client (Rollup 1). All environment checks went OK except one. Here’s what is in the log:13:49:02|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.SNGBuilder.ProcessSubstitutions13:49:02|Verbose| Method entry: Microsoft.Crm.Tools.EDW.Framework.EDWTool.RunSnifferValidate Microsoft Outlook®13:49:02|Verbose| Calling Bas
msdn
dynamics-forums crm-development
I have a small question here. Suppose I am updating a child entity or parent entity using C# code, and my update code is failed for parent or child. What will happen to other entity (i.e. child or parent). Will everything be roll-backed or we have to do it explicitly.Thanks RegardsPrashanthThanks Regards Prashanth Kamasamudram Even the least work done for others awakens the power within; even thinking the least good of others gradually instills into the heart the strength of a lion.
msdn
dynamics-forums crm-development
When i am trying to insert record in Entity in crm4.0 using web services in SSIS Script Component i got this error please help meThe request failed with HTTP status 400: Bad Request.at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)at SC_9b8cb6f38b324ceeb4981e80f6876611.csproj.CRM.CrmServ
msdn
dynamics-forums crm-development
Hi,I am using ExportXmlRequest to export the formxml for an entity. It works fine in the server & outlook client when its online. But when i go offline the request execution fails and throws an exception saying server was unable to processthe request.Is it happening because in offline mode CRM doesn’t expose the customizations?? Is there any alternate way to get the formxml in offline mode??Regards,Lalitesh
msdn
dynamics-forums crm-development
created the project, added the rdl but it won’t open in design. The error:Warning 1 Deserialization failed: =IIF( Parameters!HGroupby2.Value = “Null” and Parameters!VGroupby2.Value = “Null”, False, True) is not a valid value. Line 4, position 13. 4 0
msdn
dynamics-forums crm-development
I have a workflow triggered on CREATE.It is running as the Owner of the Workflow.It is sending emails out but they are failing because I am using the Entity Owner in the From field.The workaround is to log in as each user and set “Allow other users to send emails as me” option. All is now well. However i don’t like it at all.It seems that you can’t get access to the Workflow Owner within the Send Email Worrkflow Step,Can I get this Workflow Owner into the From field dynamic
msdn
dynamics-forums crm-development
I have noticed few error logs in CRM trace for a couple of users. I am not sure on what actions these errors are triggered. I attached the stack trace below. And when I verified the PrivilegeId in CRM and it represents prvReadService.at CrmException..ctor(String message, Int32 errorCode)at CrmSecurityException..ctor(String message, Int32 errorCode)at SecurityLibrary.CheckPrivilege(Guid user, Guid privilege, ExecutionContext context)at SecurityExtension.PreRetrieveHandlerEntityPrivilegeCheck(Obje
msdn
dynamics-forums crm-development
HiI’ve developed some custom web pages that are sitting under the ISV folder of CRM4. When the CRM was set to use the standard protocal and port number 5555 the pages loaded fine.However, when the CRM site was switced to use SSL on the default port of 443, the custom webpages are timing out. I don’t think CRM can find the pages! The rest of CRM seems to be functioning fine, its just the pages under the ISV folder.To complicate things slightly, our deployment is multi-tenancy, but as I stated CRM
msdn
dynamics-forums crm-development
I’m getting the following error when a plugin running in the sandbox executes in my environment:The plug-in execution failed because no Sandbox Hosts are currently available. Please check that you have a Sandbox server configured and that it is running.I look at the trace log and I see one for the HostService with the following entry:[2011-04-22 11:34:45.781] Process:Microsoft.Crm.Sandbox.HostService |Organization:00000000-0000-0000-0000-000000000000 |Thread: 77 |Category: Exception
msdn
dynamics-forums crm-development
I’m currently creating an aspx page to get the details of a custom entity (new_customproduct) I’ve created in CRM 4. As per the SDK I’m using this code to retrieve one of the entity objects, but am getting “The request failed with HTTP status 400: Bad Request”CrmAuthenticationToken token = new CrmAuthenticationToken();token.AuthenticationType = 0;token.OrganizationName = “OrgName”;CrmService service = new CrmService();service.Url += “http://crmserver/MSCRMServices/2007/c
msdn
dynamics-forums crm-development
I have an existing Silverlight web resource application. I have a few queries based OptionSet fields and I want to add an additional query using a filter on a Boolean field, but I haven’t been able get it working. Using DataServiceQuery<Account>and AddQueryOption, I have tried to add a filter in several different ways, but the query fails every time. It seems like it doesn’t recognize the “Value” attribute..AddQueryOption(“$filter”, “CreditOnHold/Value eq True
Web site is in building