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)

Access Denied Error from Javascript

(0) ShareShare
ReportReport
Posted on by

Hello,

we have troubles with 2 users accessing crm.

They get a generic error from CRM. Debugging this error shows an "access denied" error in javascript (shown in the end of the post).

  • We already checked security roles. 
  • We checked IE Security Settings (cross domain, mixed content)
  • We updated to UR 17.

Some other facts:

  • The error ist workstation independent. We tried different workstations with the same users and always got the same error.
  • Error does not appear when accessing CRM from CRM Server itself

So it seems like ist is an communication Problem in internet explorer with the server for those users. 

I would appreciate very much, if you could help us.

With kind regards 

Christian Kühl

Here is the error code.

<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
  <ScriptErrorDetails>
   <Message>Zugriff verweigert
</Message>
   <Line>1</Line>
   <URL>/_static/_common/scripts/main.js?ver=1639335484</URL>
   <PageURL>/main.aspx</PageURL>
   <Function>anonymousr:Erlaubnisverweigert.</Function>
   <CallStack>
    <Function>anonymousr:Erlaubnisverweigert.</Function>
   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)</BrowserUserAgent>
   <BrowserLanguage>de-DE</BrowserLanguage>
   <SystemLanguage>de-DE</SystemLanguage>
   <UserLanguage>de-DE</UserLanguage>
   <ScreenResolution>1600x900</ScreenResolution>
   <ClientName>Web</ClientName>
   <ClientTime>2015-03-06T10:51:53</ClientTime>
  </ClientInformation>
  <ServerInformation>
    <OrgLanguage>1031</OrgLanguage>
    <OrgCulture>1031</OrgCulture>
    <UserLanguage>1031</UserLanguage>
    <UserCulture>1031</UserCulture>
    <OrgID>{967E0A26-E1B5-4940-88EC-B2C8BEA76D69}</OrgID>
    <UserID>{0EEDBD97-CAC5-DD11-87CB-00155D010303}</UserID>
    <CRMVersion>5.0.9690.4150</CRMVersion>
  </ServerInformation>
</CrmScriptErrorReport>

<CrmScriptErrorReport>
  <ReportVersion>1.0</ReportVersion>
  <ScriptErrorDetails>
   <Message>Zugriff verweigert
</Message>
   <Line>1</Line>
   <URL>/_static/_common/scripts/main.js?ver=1639335484</URL>
   <PageURL>/main.aspx</PageURL>
   <Function>anonymousr:Erlaubnisverweigert.</Function>
   <CallStack>
    <Function>anonymousr:Erlaubnisverweigert.</Function>
   </CallStack>
  </ScriptErrorDetails>
  <ClientInformation>
   <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)</BrowserUserAgent>
   <BrowserLanguage>de-DE</BrowserLanguage>
   <SystemLanguage>de-DE</SystemLanguage>
   <UserLanguage>de-DE</UserLanguage>
   <ScreenResolution>1600x900</ScreenResolution>
   <ClientName>Web</ClientName>
   <ClientTime>2015-03-06T10:52:24</ClientTime>
  </ClientInformation>
  <ServerInformation>
    <OrgLanguage>1031</OrgLanguage>
    <OrgCulture>1031</OrgCulture>
    <UserLanguage>1031</UserLanguage>
    <UserCulture>1031</UserCulture>
    <OrgID>{967E0A26-E1B5-4940-88EC-B2C8BEA76D69}</OrgID>
    <UserID>{0EEDBD97-CAC5-DD11-87CB-00155D010303}</UserID>
    <CRMVersion>5.0.9690.4150</CRMVersion>
  </ServerInformation>
</CrmScriptErrorReport>

*This post is locked for comments

I have the same question (0)
  • Bruno Lucas Profile Picture
    5,421 on at

    Is this happening to one page or they can't login\access anything?

    Does it change anything when you add\remove it from the Compatibility View?

    Have you tried to run fiddler on those workstations to see if there is any url\endpoint with a access error?

    Is this a intranet only or Internet Facing?

    could those users be in a different branch of the network or be running anything like a vpn?

  • Verified answer
    Community Member Profile Picture
    on at

    Thank you for your help.

    In the end we tried it again with Chrome and got the following Excepetion:

    400: Request Header is too long

    Don't know why the IE didn't show this error message.

    So we checked the Request Header and the authorization tag was huge.

    Unfortunately we couldn't shrink the tag, so we had to increase the MaxFieldLength and MaxRequestByte as described here (support.microsoft.com/.../2020943)

    This solved our problem in the end.

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