Link to home
Start Free TrialLog in
Avatar of mrsimonsez
mrsimonsezFlag for United States of America

asked on

Unable to get past HTTP401 in CRM4

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)
 
 
Avatar of Aftab_Khateeb
Aftab_Khateeb
Flag of Australia image

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.
Avatar of Feridun Kadir
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.

Avatar of mrsimonsez

ASKER

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.
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
SOLUTION
Avatar of Aftab_Khateeb
Aftab_Khateeb
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you for checking in Aftab.  I am going to try to install tonight.

Thanks,

-Eric
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial