News.mscrm-addons.com BlogHello and welcome to our blog! What can we do for you? Are you looking for further technical information or step-by-step instructions to our products? Or would you like to read the latest news on mscrm-addons? Please feel free to browse our blog for detailed information and to share our posts! https://www.mscrm-addons.com/BlogResource not found Web API Error for Dynamics 365https://www.mscrm-addons.com/Blog/PostId/10163/resource-not-found-web-api-error-for-dynamics-365*General*Wed, 28 Nov 2018 16:33:01 GMT<p>This blog article outlines how to proceed if you get the following error message in your web browser:<strong> "Resource not found for the&nbsp;segment &lsquo;ptm_......&rsquo;.</strong></p> <p>A full error message can look like this:&nbsp;<br /> <strong>Error from FetchWebApi: Ressource not found for the segment&nbsp;<em>&lsquo;ptm_mscrmaddons_keies&rsquo;</em></strong></p> <p>We have only experienced this problem for OnPremisse installation so far.&nbsp;</p> <p>The problem is, that the EntitySet property of our custom entities is not correct. Normally a manual reimport of the correct CRM solution with the option "Overwrite Customizations" can fix this.&nbsp;<br /> <br /> </p> <p><strong><span style="color: #0077b3;">How to fix for OnPremise installations</span></strong></p> <ul> <li>Navigate to the machine on which the Server part of the add-on is installed.&nbsp;</li> <li>Open the installation directory&nbsp; (per default: "C:\Program Files (x86)\PTM EDV-Systeme GmbH\[PRODUCT NAME] Server for Microsoft Dynamics 365") -&gt; subfolder "essentials"</li> <li>If your CRM version is 9.0 or higher open the subfolder "9.0",&nbsp; for 8.2 versions stay in the "essentials" folder&nbsp;</li> <li>Open a web browser: Dynamics 365 -&gt; Settings -&gt; Solution -&gt; hit "Import"</li> <li>Now select the correct solution from your current directory (depending on the error message): <ul> <li><strong>MSCRMADDONScomGeneral.zip</strong> for <ul> <li>&ldquo;ptm_mscrmaddons_keies&rdquo;</li> <li><span>&ldquo;ptm_mscrmaddons_schedulers&rdquo;</span></li> <li><span>&ldquo;ptm_mscrmaddons_settingses&rdquo;</span></li> <li><span> &ldquo;ptm_mscrmaddonscom_debugs&rdquo;</span></li> <li><span>&ldquo;ptm_mscrmaddonscommetadatas&rdquo;</span></li> <li><span>&ldquo;ptm_mscrmaddonstemps&rdquo;</span></li> </ul> </li> <li><span><strong>DocumentsCorePack.zip</strong> for&nbsp;</span> <ul> <li><span> &ldquo;ptm_mscrmaddons_dcptemplateses&rdquo;</span></li> </ul> </li> <li><span><strong>AutoMergeServerCore.zip</strong> for&nbsp;</span> <ul> <li><span>&ldquo;ptm_automergeworkingitemses&rdquo;</span></li> <li><span>&ldquo;ptm_mscrmaddonscomamtriggers&rdquo;</span></li> </ul> </li> <li><span>For different resources please contact our support</span></li> </ul> </li> </ul> <ul> <li><span>The wizard will tell you that the same version of this solution is already installed. If the versions are different it could be possible that you have selected the wrong solution file!&nbsp;</span></li> </ul> <div class=" data-plugin-options="> <div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"> <a title="Solution information" href="/Portals/0/Blog/Resource_not_found_Web_API_Error_for_Dynamics365/Figure1.png"> <img alt="Solution information" width="288,5" height="111,5" class="img-responsive" src="/Portals/0/Blog/Resource_not_found_Web_API_Error_for_Dynamics365/Figure1.png" /> </a></div> <div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"><em>Figure 1: Solution information</em></div> <p class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"><em>&nbsp;</em></p> <ul> <li class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"><em>Check "Overwrite customizations" and follow the wizard below.&nbsp;</em></li> </ul> <p class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"><em> <div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"><a title="Overwrite customizations " href="https://www.mscrm-addons.com/Portals/0/Blog/Resource_not_found_Web_API_Error_for_Dynamics365/Figure2.png"><img alt="Overwrite customizations " width="373" height="184,5" class="img-responsive" src="https://www.mscrm-addons.com/Portals/0/Blog/Resource_not_found_Web_API_Error_for_Dynamics365/Figure2.png" /></a></div> <div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}">Figure 2: Overwrite customizations&nbsp;<br /> <br /> </div> </em></p> </div> <ul> <li>The problem should be solved now.&nbsp;<br /> <br /> </li> </ul> <p><strong><span style="color: #0077b3;">Sample</span></strong><br /> Error message: Resource not found for the segment&nbsp;<span>&lsquo;ptm_mscrmaddons_keies&rsquo;<br /> CRM version: 8.2<br /> Installed product: DocumentsCorePack&nbsp;</span></p> <p><strong><span style="color: #0077b3;">To Solve:&nbsp;</span></strong><br /> Reimport the solution "MSCRMADDONScomGeneral.zip" of the folder "C:\Program Files (x86)\PTM EDV-Systeme GmbH\DocumentsCorePack Server for Microsoft Dynamics 365\essential".&nbsp;<br /> <br /> </p> <p><span style="font-size: 13px;"><span style="background-color: #fcfcfc;"><strong>That&rsquo;s it!</strong>&nbsp;We appreciate your feedback! Please share your thoughts by sending an email to&nbsp;<a href="mailto:office@mscrm-addons.com" style="background-color: #ffffff;">office@mscrm-addons.com</a>.&nbsp;&nbsp;</span><span style="background-color: #fcfcfc;">&nbsp;</span></span></p> <p>​​</p>10163