Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Resource Scheduling - Install on Two Organizations (On-Premise)

$
0
0

Overview

I am having some issues installing Field Service.  The install claims to work however I get peculiar errors and performance issues.

I have different setups for development (single server) and staging (2 web front ends, 2 SQL in  Always On High Availability Groups) but the symptoms are identical for both configurations.

I installed the following packages in this order

  • ScheduleCommon_managed
  • ScheduleCommon_Patch_managed
  • FieldService-Full-6_2_0_342-8bfc84b89c-M
  • FieldService-Patch-6_2_1_38-5ea54f2c17-M
  • appmodule
  • anchor

My installs on Organizations were in this order

CRM EnvironmentOrganizationResult
DevelopmentSandboxWorking fine
DevelopmentDevelopmentError
StagingTestWorking fine
StagingTrainError

Symptoms

When I try to view the Schedule Board it fails to load on the second Organization that it was installed on.  I was getting some errors in debugger specifically 500 errors for SchedulerUIFactory.js.  The associated trace for this includes this error.

Request vsopscrmdev01.vs.net/.../WebResource.ashx;_dc=1522317368487 failed with exception System.InvalidOperationException: CRM Parameter Filter - Invalid parameter '_dc=1522317368487' in Request.QueryString on page /Development/Handlers/WebResource.ashx
The raw request was 'GET /Development/{636579089830000112}/WebResources/msdyn_/fps/scheduleboard/FPS/SchedulerUIFactory.js?_dc=1522317368487' called from vsopscrmdev01.vs.net/.../scheduleboard.html;sitemappath=FieldService%7cWO%7cmsdyn_Scheduler_urlspage.


When I tried to look at the Scheduling Parameters I got a message telling me that the record was unavailable and the trace included a few errors notably:

msdyn_schedulingparameter With Id = 515227b9-fcff-4585-944f-0ba4cfa4187c Does Not Exist

Web Service Plug-in failed in SdkMessageProcessingStepId: {3E6B7D86-4733-E811-80F2-00155D12D202}; EntityName: msdyn_schedulingparameter; Stage: 30; MessageName: Retrieve; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.

Every element seems to work correctly on the first install but not the second.  I tried to uninstall and reinstall on the second Organization but this did not resolve it.

 Work Around

Uninstalling the solutions from the first Organization and installing it against the second Organization resolved the issue.

While I can work with this to some extent - particularly for Development - I foresee issues down the line when I move from Testing into Training essentially I cannot run Field Service on my Test and Training Organizations simultaneously.  Has anyone else experienced similar issues is there something that can be done to allow this to operate properly?  I presume that the resources required are installed in a way that prevents there from being two copies?  Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images