Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message “An error has occurred” when you click the Hardware tab in MBAM


View products that this article applies to.

Symptoms

When you try to View Hardware tab on Microsoft BitLocker Administration and Monitoring (MBAM) Server, you may receive an error message as show below.

An error has occurred.
Try contacting the site administrator.


↑ Back to the top


Cause

You'll see this message if the name resolution of the hostname specified via dns tag in the web.config file, doesn't happen correctly.

↑ Back to the top


Resolution

1. Open Windows Explorer and scroll to C:\inetpub\Malta BitLocker Management Solution\Help Desk Website.
2. Take a backup of web.config file.
3. Open web.config file using notepad.
4. Modify the following line in the webconfig file:

<endpoint contract="AdminServiceReference.IAdministrationService" behaviorConfiguration="AdministrationEndpointBehavior" binding="basicHttpBinding" name="Microsoft.Mbam.ApplicationSupportService.AdministrationService" address="http://localhost:portnumber/MBAMAdministrationService/AdministrationService.svc" bindingConfiguration="Microsoft.Mbam.ApplicationSupportService.AdministrationService">

to

<endpoint contract="AdminServiceReference.IAdministrationService" behaviorConfiguration="AdministrationEndpointBehavior" binding="basicHttpBinding" name="Microsoft.Mbam.ApplicationSupportService.AdministrationService" address="http://<yourserver name:portnumber>/MBAMAdministrationService/AdministrationService.svc" bindingConfiguration="Microsoft.Mbam.ApplicationSupportService.AdministrationService">

=====
         
   <dns value="localhost"></dns> 
to
   <dns value="<your server name>"></dns>

5. Save the web.config file.
6. Restart the IIS services on the server.

Now you can view the information in Hardware tab on MBAM Console.




If you are unable to resolve the issue by following the steps mentioned above, you may need to edit the web.config of the Administration Service and Helpdesk Website to comment out the <dns value=”mbam.contoso.com”></dns> tag.

Note: This is more relevant in cases where you are using a DNS alias (for example: mbam.contoso.com) instead of the hostname of the machine (adminserver.contoso.com). You will need to restart the MBAM website from IIS Manager, after making changes to the web.config file, for it to take effect. Below are the changes you need to make in the web.config file:

For example 

web.config of Administration Service (default location: C:\inetpub\Microsoft BitLocker Management Solution\Administration Service)

<services>
 <servicebehaviorConfiguration="Microsoft.Mbam.ApplicationSupportService.AdministrationServiceBehavior" name="Microsoft.Mbam.ApplicationSupportService.AdministrationService">
  <endpoint name="Microsoft.Mbam.ApplicationSupportService.AdministrationService" address="" contract="Microsoft.Mbam.ApplicationSupportService.IAdministrationService" binding="basicHttpBinding" bindingConfiguration="CoreServiceHttpBinding">
   <identity>
<dns value="mbam.contoso.com"></dns>
   </identity>
  </endpoint>
 </service>
</services>

Commented Value:

<services>
 <servicebehaviorConfiguration="Microsoft.Mbam.ApplicationSupportService.AdministrationServiceBehavior" name="Microsoft.Mbam.ApplicationSupportService.AdministrationService">
  <endpoint name="Microsoft.Mbam.ApplicationSupportService.AdministrationService" address="" contract="Microsoft.Mbam.ApplicationSupportService.IAdministrationService" binding="basicHttpBinding" bindingConfiguration="CoreServiceHttpBinding">
   <identity>
<!-- <dns value="mbam.contoso.com"></dns> -->
   </identity>
  </endpoint>
 </service>
</services>


web.config of Helpdesk Website (default location: C:\inetpub\Microsoft BitLocker Management Solution\Help Desk Website):

<endpoint contract="AdminServiceReference.IAdministrationService" behaviorConfiguration="AdministrationEndpointBehavior" binding="basicHttpBinding" name="Microsoft.Mbam.ApplicationSupportService.AdministrationService" address="http://adminserver.contoso.com:8001/MBAMAdministrationService/AdministrationService.svc" bindingConfiguration="Microsoft.Mbam.ApplicationSupportService.AdministrationService">
 <identity>
<dns value="localhost"></dns>
 </identity>
</endpoint>

Commented value:

<endpoint contract="AdminServiceReference.IAdministrationService" behaviorConfiguration="AdministrationEndpointBehavior" binding="basicHttpBinding" name="Microsoft.Mbam.ApplicationSupportService.AdministrationService" address="http://adminserver.contoso.com:8001/MBAMAdministrationService/AdministrationService.svc" bindingConfiguration="Microsoft.Mbam.ApplicationSupportService.AdministrationService">
 <identity>
<!-- <dns value="localhost"></dns> -->
 </identity>
</endpoint>

↑ Back to the top


More Information

↑ Back to the top


Keywords: kbtshoot, kb

↑ Back to the top

Article Info
Article ID : 2620280
Revision : 1
Created on : 1/7/2017
Published on : 3/6/2015
Exists online : False
Views : 656