Solved

Unable to get past HTTP401 in CRM4

Posted on 2009-06-29
7
832 Views
Last Modified: 2012-05-07
I can not seem to get past the following Access error message trying to install custom applications and/or running CRM Reports (custom or canned).  My config consists of
-an SBS2003 server running AD & Exchange.  
-My SQL2005 server is also a W2k03 server running SQL2005 w/SP2, Reporting Services, .NET1.1 & .NET2.0, and Dynamics/GP10.
-My Web Server is also a W2k03 running CRM4.0, .NET1.1 & .NET2.0.   For the most part, the installation is vanilla (except for a CRM3 to CRM4 upgrade in place, occurring a while back)

I have checked that NETWORK Service is in the Identity of the CRM App Pool & the Reporting Services App Pool, and that the App Pools have been assigned to their respective WebSites.  

Any insight would be very much appreciated.




Event Type:      Warning
Event Source:      ASP.NET 2.0.50727.0
Event Category:      Web Event
Event ID:      1309
Date:            6/29/2009
Time:            5:59:54 PM
User:            N/A
Computer:      SCYTALE
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/29/2009 5:59:54 PM
Event time (UTC): 6/30/2009 12:59:54 AM
Event ID: f8356402941f4d89937d10bbd140b28a
Event sequence: 173
Event occurrence: 4
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/3/ROOT-1-128907947041877414
    Trust level: Full
    Application Virtual Path: /
    Application Path: d:\Program Files\Microsoft CRM\CRMWeb\
    Machine name: SCYTALE
 
Process information:
    Process ID: 1560
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: CrmReportingException
    Exception message: The request failed with HTTP status 401: Unauthorized.
 
Request information:
    Request URL: http://scytale:5555/{COName}/CRMReports/rsviewer/reportviewer.aspx
    Request path: /{COName}/CRMReports/rsviewer/reportviewer.aspx
    User host address: {Internal IP Address}
    User: {AD DOMAIN\AD User w/Administrator Equivalence}
    Is authenticated: True
    Authentication Type: Negotiate
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 11
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at Microsoft.Crm.Web.Reporting.SrsReportViewer.ConfigurePage()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
0
Comment
Question by:mrsimonsez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 8

Expert Comment

by:Aftab_Khateeb
ID: 24742244
May I know have you installed SRS Connector (SRS - Sql reporting services) n the SQL Server? If not you can download and install it in your SQL Server.

SRS connector is responsible for proxy of the request from CRM to the Reporting Services and ensures that double hop kerberos authentication isn't a problem.
0
 
LVL 29

Expert Comment

by:Feridun Kadir
ID: 24750044
I've sometimes seen this when the SQL Server and CRM Server are on different computers. A solution that may work is to add a registry key on the CRM server:

- Navigate to HKEY_LM\Software\Microsoft\MSCRM. Right-click on MSCRM and then click on NEW and choose DWORD.
- Type NTLMForSQLRSServer and enter a value of 1.

0
 

Author Comment

by:mrsimonsez
ID: 24750910
Thank you for your suggestions.
Aftab, I do not believe SRS Connector is installed on either server.  If installed, should it be on the database/SRS server?  Is the software on the CRM4 CD?  I did not perform the original installation.  Hence, I am unaware if it is there.
Feridun, does this apply to CRM4, as well?  My understanding is that cross server communication requires Kerberos authentication, not NTLM.  Is that incorrect?

Thank you again for your continued suggestions and guidance.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 8

Expert Comment

by:Aftab_Khateeb
ID: 24759091
You could find SRS Data connector in CRM Server 4.0 CD it self
it would be under the directory  Server\i386\SrsDataConnector .
You should install in the server where you happen to install Microsoft SQL Server 2005 Reporting Services.

Hope this helps
0
 
LVL 8

Assisted Solution

by:Aftab_Khateeb
Aftab_Khateeb earned 60 total points
ID: 24781865
Hi,

I am just curious to know, Can you please let me know if it worked?

Cheers,
Aftab
0
 

Author Comment

by:mrsimonsez
ID: 24787132
Thank you for checking in Aftab.  I am going to try to install tonight.

Thanks,

-Eric
0
 

Accepted Solution

by:
mrsimonsez earned 0 total points
ID: 24791779
It turned out that the SRS Connector was installed already.  But, in the hunt today, I found that the ASPNET account & SQLPrivUser & PrivReporting Groups did not have the correct access privileges.  Updating them resolved the issue.
Thank you for all of the guidance, though.  It was all good information.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Replace Dates in query 14 55
SSRS 2016 Rendering HTML tables 3 61
SSRS 2008 Jump To Report 4 29
Better way to filter date  - Query 5 25
Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question