Solved

Unable to get past HTTP401 in CRM4

Posted on 2009-06-29
7
825 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 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

822 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