Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Suddenly all users get 404 - tried everything!

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

I'm hoping one of you can point me in a fresh direction, i've spent the entire day scouring the internet and testing every possible lead I could find. I've been building up a CRM release for a company and am in the final stages prepping to go-live, so the pressure is on to get this fixed. 

Technicals:

CRM 2015 On premises with update 0.2

SQL 2014

Win2k12R2

NO IFD, NO ADFS

Properly signed SSL Certificate, SPN added

Services are all using NetworkService

When I left the office yesterday, everything was as normal, i arrived this morning to a 404 error. I scoured the event logs but there was literally nothing of note since my departure to my arrival in any event log. No system reboots, no windows updates, nothing.

I gave the server a reboot, I noticed a bunch of errors appear with Login Failures to the Databases. At first i thought this was the issue, but I now believe that these are temporary due to service start-up timings as there is plenty of evidence that the server can really query the db as it needs. 

I don't know whether this is some sort of integrated authentication issue, or whether my organization has just up and corrupted!?

If i attempt to log in with a Domain account that does NOT have a CRM user account, i am treated to a properly rendered page advising me that there is no matching CRM account (normal stuff), if i log in with any registered user, or add that user as a Deployment admin, I am presented with an immediate 404 error.

I have tried

- Repairing CRM to use domain service accounts, since reverted

- every combination of kerebos/NTLM settings i could find on posts online

- reverted everything to plain HTTP bindings

- many other things i have forgotten

I then got serious and created a fresh VM with matching software versions all-round, and...

 - Couldn't even get the default org to successfully complete during install (it posted with an unheard of error "action Microsoft.Crm.Tools.Admin.ImportActivityFeedsAction failed. ---> System.ArgumentNullException: Value cannot be null.") 

- CRM itself seemed to be installed, but that test org was "Failed"

- tried creating a new Org from within deployment manager - got the above message

- Tried creating a new org (worked fine a few weeks ago obviously) on the original machine - GOT THE ABOVE MESSAGE!

- I was able to successfully import a copy of the organization on my original machine

- SAME PROBLEM (but unsure if this is fair since the installation stalled on the above step...)

 

The companies systems administrator promises me there were no changes overnight to things like group policy, and the servers have had Antivirus and firewalls shut down to ensure they're not causing problems. 

 

At this point, I'm looking for some insights from anyone, or an applicable place to seek paid technical support (microsoft direct?) in the fashion where someone with the right level of skill enabling and investigating logs can solve this problem in a single session. 

 

The only thing of note was that yesterday before leaving, i was using an SSIS package to import Accounts. The package running uses the proper XRM SDK to submit entries. it had successfully imported 80 000 accounts before I left, and stopped with a data conflict about 10 minutes after I left (A rogue record with a string value longer than the destination field). 

Given these entries are input in the correct means via the OrganizationService, is there really any chance that they've smashed my database. 

 

ARGH, Any help would be appreciated!!!

*This post is locked for comments

  • Verified answer
    RE: Suddenly all users get 404 - tried everything!

    Hi Guys,

    Sorry for never posting this back, but I did fix it. This actually ended up escalated to MS as a paid ticket, and took over a week to find a simple thing i'd done!

    I had been developing SSIS packages that included script components that referenced the CRM SDK DLL's  (to inject data through the web services in a supported way). 

    I misread some online advice about registering the SDK DLL's into the GAC. I misread this to mean on the CRM server, not on the Development PC. In the end it was simply a case of unregistering these DLL's. I imagine they were causing upstream crashes by creating multiple version of methods/classes, etc in the same Namespace - thus giving the live CRM instance a tonne of trouble trying to execute code.

    TL;DR:
    Registered the SDK DLL's into the CRM Server's GAC. Caused a bunch of namespace issues - CRM couldn't pick a dll to execute calls to. 

    In the case of SSIS, the correct requirement was simply to make the DLL's available by copying/pasting them to the SSIS runtime bin folder.

    If this doesn't sound like it matches your scenario, feel free to post back here with what you've done/found so far and i'll see if i can help. I picked up a fair few things during the week-long troubleshooting exercise:). 

  • Suggested answer
    razdynamics Profile Picture
    razdynamics 17,304 User Group Leader on at
    RE: Suddenly all users get 404 - tried everything!

    Hi Charles, hows your progress on this issue? have you checked all the service accounts are running and service account Logins have not expired etc?

  • RE: Suddenly all users get 404 - tried everything!

    Also check if the AppPool identity is still accessible ? Meaning the password is not expired. Authentication of site set to AD, etc

  • RE: Suddenly all users get 404 - tried everything!

    The 404 means "Not Found". check IIS logs and event viewer. there can be many reasons for this. Most common being  Site/AppPool is stopped or there is a conflict in port where the site is configured.

  • Abhishek_Sinha Profile Picture
    Abhishek_Sinha 665 on at
    RE: Suddenly all users get 404 - tried everything!

    Hi Charles,

    Are u able to resolve this issue. I also got same error . Please let me know.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans