web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Abhishek_Sinha Profile Picture
    665 on at

    Hi Charles,

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

  • Community Member Profile Picture
    on at

    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.

  • Community Member Profile Picture
    on at

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

  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at

    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?

  • Verified answer
    Community Member Profile Picture
    on at

    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:). 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans