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)

Cannot open attachments in IE - invalid action/404

(0) ShareShare
ReportReport
Posted on by

Hello. Since yesterday, our users cannot open files attached to the notes entity (annotation) when using IE11. They can open these attachments from Outlook or from other browsers (we've tried Firefox).

When they try to open an attachment, it gives them the error "Invalid action" with the Retry/Close buttons with no additional details. When they click retry, they'll instead get 404 - file or directory not found.

There was no configuration change AFAIK. 

The above seems to suggest it's a problem with IE, not permission issue in CRM.

The CRM URL is added to the local intranet zone and as noted above, this worked 2 days ago for all users.

Server: CRM 2013 SP1 (6.1.3.119)

Any clues where to look?

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • AntonC Profile Picture
    175 on at

    My organization is also having this same issue.  For us, only some users are having the problem.   Firefox and Chrome work just fine for all.  For users having the issue, if I give them System Administrator rights, it works.  If I try to emulate their original rights and try it myself, I don't have a problem (makes no sense).  Resetting IE settings to defaults and checking the "Delete personal settings" option did help for some but not all.  We're using CRM 2015 on-prem Update .1 and the issue started around the same time (late November 2015).  No updates were applied to IE11 since 11/10/2015 in our org.  

  • AntonC Profile Picture
    175 on at

    Also, the initial message we get is "Record is unavailable".  If we click Try Again a few times, we eventually get the "404 - File or directory" not found message.

  • Community Member Profile Picture
    on at

    The problem seems to have disappeared for us, it may have been one or combination of these steps:

    - installed CRM updates (and rebooted server)

    - rebooted CRM server

    - restarted CRM Async Service (Maintenance)

    - resolved on its own (see community.dynamics.com/.../183413)

    I've performed all above tasks and could only verify with users couple days laters, so I'm not sure which of them worked.

  • Suggested answer
    Community Member Profile Picture
    on at

    hi ,

    all you need to do is to clear cash and history from the browser properties and it's will solve the problem.

    tell me if you need help with this,

    if my answer helped you please verify my answer ,

    many thanks

  • AntonC Profile Picture
    175 on at

    Hi Moran,

    Thank you for the suggestion.  This did help for some users but not for others.  I sat with the few that it didn't work for to be sure they walked through the steps correctly and it appears they have.  Anything else we may have missed in the browser aside from clearing cache, history, and resetting IE settings to defaults?

    Thanks!

    Anton

  • AntonC Profile Picture
    175 on at

    Markos,

    Thanks for following up.  We'll give these a try this evening during off hours.  I'll let you know how it goes.

    Thanks!

    Anton

  • Community Member Profile Picture
    on at

    hi Anton ,

    if you try to enter the Crm with another browser do you succeed ?

  • Suggested answer
    AntonC Profile Picture
    175 on at

    A restart of Async services and a reboot on the server did the trick.  Thank you!!

  • Wouter Madou Profile Picture
    3,392 on at

    Hi MarkosP,

    This issue is probably caused by an expired key hash, generated via the CrmWRPCTokenKey, executed by the async service.

    You can verify in your logfiles and you'll find something with: "CrmKey With Id = X Does Not Exist".  (Error Number: 0x80040217.)  "

    That is why restarting the async service can solve your problem. (renewal occurs every 24 hours)

    Therefore in some cases this action must be followed by the following steps:

    - execute the command (found in tool folder of ms crm server): Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R

    - restart iss

    Hope it solves your problem.

    Regards,

    Wouter

  • Community Member Profile Picture
    on at

    We've since upgraded to CRM 2016 (on-premises), but the problem still persists and the above steps don't solve it.

    Steps taken:

    - (to be sure) restarted ALL CRM services on the CRM server (MSCRMUnzipService, MSCRMAsyncService$maintenance, MSCRMAsyncService, MSCRMMonitoringService, MSCRMSandboxService, MSCRMVssWriterService)

    - executed Microsoft.Crm.Tools.WRPCKeyRenewal.exe /R

    - restarted IIS

    After that, on the client, I even cleared cookies in IE, closed & reopened IE, the problem persists. Anytime I try to access the attached document, event is logged on the CRM server from source MSCRMKeyGenerator (eventid 18962) complaining about the key being expired and not being regenerated properly - the key listed expired yesterday. This event is followed a warning from ASP.NET (eventid 1309) about unhandled exception, which says basically the same with little more details (the requested URL etc.).

    Has anyone found a reason why this problem arises in the first place and how to solve it permanently? I'm not keen on restarting CRM server whenever this pops up...

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