Solved

Unable to get past HTTP401 in CRM4

Posted on 2009-06-29
7
817 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
  • 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
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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now