Article ID: 3404, created on Nov 30, 2007, last review on May 3, 2014

  • Applies to:
  • H-Sphere

Resolution

Problem:
I am having issues with exchange setup. I have made it almost completely through the process, and am having trouble now with step 4, Create Reseller Organization Unit. The problem I am having is a 401, Unauthorized:
----------------------
Server Error in '/MPSSampleWeb' Application.
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.

-----------------------

Solution:

1.At first make sure that you log on as Domain Administrator to http://localhost/MPSSampleWeb, in field User name should be test\administrator , where test is part of domain name test.com, administrator is is account that have administrative privileges in active directory domain controller server.
2.Check if you deployed correctly the MPS Sample Web Client (http://www.psoft.net/HSdocumentation/sysadmin/ms_exchange_3_5.html - Step 2.18
http://www.psoft.net/HSdocumentation/sysadmin/ms_exchange.html - Step 2.19) Should be correctly configured Web.Config file in the root directory of the MPS Sample Web Client

<add key="preferredDC" value="Server_1_full_name>"/>
<add key="DefaultNamingContext" Value="DC=domain_name_part1,DC=domain_name_part2"/>

example AD domain is test.ts.com , full computer name of ADC server is dc.test.ts.com

<add key="preferredDC" value="dc.test.ts.com"/>
<add key="DefaultNamingContext" value="DC=test,DC=ts,DC=com"/>

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF