Link to home
Start Free TrialLog in
Avatar of jontresko
jontresko

asked on

CRM 3.0 HTTP 401 Unauthorized access error

This problem started after making the following changes to the network:

Configured SBS server to act as DHCP Server (Have since reverted back to all IP's, etc)

Switched modem and ISP provider

New ethernet HUB

Computers can connect to everything else, including other IIS resources.  We can access some entities like queues, articles, quick campaign, etc, but user owned entities can't be accessed and throwing this error.

We have also received HTTP 403 error, but have seemed to fixed this error.

The request failed with HTTP status 401: Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[WebException: The request failed with HTTP status 401: Unauthorized.]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1302
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
   Microsoft.Crm.Platform.Proxy.UserQueryWebService.RetrieveMultiple(QueryBase queryExpression) +55
   Microsoft.Crm.Application.Platform.UserQuery.RetrieveByObjectType(Int32 returnTypeCode, String columnSetXml, Int32[] queryType, UserQueryState state) +265
   Microsoft.Crm.Controls.ViewSelector.AddUserViewGroup(String groupName, String groupId, OptionSorting sorting, Int32[] queryTypes, UserQueryState queryState, Boolean flagInactiveQueries) +129
   Microsoft.Crm.Application.Controls.AppViewSelector.Initialize() +170
   Microsoft.Crm.Application.Controls.AppViewSelector.GetDefaultView() +10
   Microsoft.Crm.Web.Workplace.HomeActivitiesPage.ConfigurePage() +794
   Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +19
   System.Web.UI.Control.PreRenderRecursiveInternal() +62
   System.Web.UI.Page.ProcessRequestMain() +1499

 
Avatar of WilyGuy
WilyGuy
Flag of United States of America image

so you can connect to CRM using the web client, but when you open individual objects you get a 401 Unauthorized?

What about on the server itself?  You can set the URL in Trusted Sites and set Trusted Sites to Prompt, then you can try different users.

Are there other sites on the SBS server and are they problematic as well?

Are the problems from inside the network or from the outside?  
Avatar of jontresko
jontresko

ASKER

The web client loads, but when selecting certain entities, it throws this error.  Some entities, however, work fine, like quick campaign, announcements and queues.  Leads, Opportunities, custom entities, etc... throw this error before even seeing a list of records.

This is from client computers.  The kicker is that when trying to connect via the server, it says "Internet Explorer cannot display the webpage"

The problem started after trying to connect the internet directly to the modem and setting it up as the DHCP server. After we realized this was not the optimal setup, I reverted everything back to the way it was before, just using local IPs.

All other IIS sites work fine.

We only use this in the local local network/never remotely (unless i do logmein.com to my computer, which ends up being accessed on the local network.)
ASKER CERTIFIED SOLUTION
Avatar of Biffster007
Biffster007
Flag of New Zealand 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
Also check to make sure that the Integrated Security is on below just the CRM website.  Check random folders and files to make sure.