Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 844
  • Last Modified:

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)
 
 
0
mrsimonsez
Asked:
mrsimonsez
  • 3
  • 3
2 Solutions
 
Aftab_KhateebCommented:
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
 
Feridun KadirPrincipal ConsultantCommented:
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
 
mrsimonsezAuthor Commented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Aftab_KhateebCommented:
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
 
Aftab_KhateebCommented:
Hi,

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

Cheers,
Aftab
0
 
mrsimonsezAuthor Commented:
Thank you for checking in Aftab.  I am going to try to install tonight.

Thanks,

-Eric
0
 
mrsimonsezAuthor Commented:
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now