Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

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

Posted on by

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 Environment Organization Result
Development Sandbox Working fine
Development Development Error
Staging Test Working fine
Staging Train Error

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.

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans