Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

404 Error - CRMWeb files amended

Posted on by Microsoft Employee

One of my development team tried to fix a bug they were having by adding some dlls to the CRMWeb folder.

This caused all of the Orgs on that UAT server to present with a 404 error. He backtracked the changes and the error persists.

We have tried IISresets, server restarts, Used files from the backup/snapshot from few days previous, deployment manager disable/enable for orgs, service restarts.

The server is IFD and on trying to access I get the login prompt. Upon completion I get the 404 error.

Have tried Fiddler and checked Event Viewer but can't find any more info to go off.

I have also side by side cross checked file size and version numbers of the dlls in that folder against the previously working snapshot.

The next thing I was going to try was to go through the IFD setup again see if a connection/setting has been messed up and needs resetting.

Any other thoughts appreciated

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: 404 Error - CRMWeb files amended

    Just adding can get to both the Discovery and Organization service ok

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: 404 Error - CRMWeb files amended

    Repair didn't work.

    We are going to uninstall / reinstall tomorrow and hope for the best.

    Any other theories greatly received.

    As an aside the Outlook plugin errors with the following trying to connect, probably a red herring?

    21:23:42| Info| Error connecting to URL: {0} Exception: {1}| http://xxxxxxx/XRMServices/2011/Discovery.svc, System.InvalidOperationException: Metadata contains a reference that cannot be resolved: 'http://xxxxxxxxx/XRMServices/2011/Discovery.svc?wsdl&sdkversion=7.1'. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

    Why would it be trying to connect to http, when I try to browse to that url it errors, if I do with https it is fine. Does that suggest that somewhere a link is incorrect?

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: 404 Error - CRMWeb files amended

    Andy,

    Messing with assembly (dll) files on the CRM Server can break the product.

    It is very possibly that this has to do with versioning of files for example or updates that are not supported by the product.

    It is too hard to pinpoint the actual issue without having any data to analyze.

    As Wayne suggests, a reinstallation (or possibly just a repair) of the CRM Server would probably be your best bet, as that would override the current data bits (assemblies) on the CRM server.

    Hope this helps and good luck.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: 404 Error - CRMWeb files amended

    Do you know what is likely to have been broken by the CRMWEB folder having files added to it / amended.

  • Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: 404 Error - CRMWeb files amended

    The quickest way to fix that would be to document your IFD settings and reinstall your CRM server.

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