Solved

Exchange 2007 on SBS 2008

Posted on 2010-11-19
3
506 Views
Last Modified: 2012-05-10
Having just installed a new SBS2008 server clients are unable to set the Out Of Office and getting a message that the server is offline.  I have found the cause - the internal URL is incorrect and auto discovery is failing.  I am trying to enter the following command

Set-WebServicesVirtualDirectory -Identity "SERVERNAME\EWS (Default Web Site)" -InternalURL https://SERVERNAME/EWS/Exchange.asmx -ExternalURL https://mailserver.domain.co.uk -BasicAuthentication:$true

in the Exchange Management Shell but get the follwing error

Set-WebServicesVirtualDirectory : The operation could not be performed because
object 'SERVERNAME\EWS (Default Web Site)' could not be found on domain controller
 'TCE-SRV.ce.local'.
At line:1 char:32
+ Set-WebServicesVirtualDirectory <<<<  -Identity "SERVERNAME\EWS (Default Web Sit
e)" -InternalURL https://SERVERNAME/EWS/Exchange.asmx -ExternalURL https://mailser
ver.domain.co.uk -BasicAuthentication:$true
    + CategoryInfo          : NotSpecified: (0:Int32) [Set-WebServicesVirtualD
   irectory], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : A894A82A,Microsoft.Exchange.Management.SystemCon
   figurationTasks.SetWebServicesVirtualDirectory

Surely im doing something very simple wrong?
0
Comment
Question by:PurpleJelly
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
prashubvp earned 500 total points
Comment Utility
its unable to find the EWS directory
Try this command:

Set-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)" -InternalURL https://SERVERNAME/EWS/Exchange.asmx -ExternalURL https://mailserver.domain.co.uk -BasicAuthentication:$true

Refer the below link

http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/configuring-exchange-server-2007-web-services-urls.html

0
 

Author Comment

by:PurpleJelly
Comment Utility
Same error even with above command - any other suggestions?
0
 

Author Comment

by:PurpleJelly
Comment Utility
Have now resolved

failed to notice when using the "Get-webservicesvirtualdirectory | fl identity,internalurl,externalurl" command it reported the following

SERVERNAME\EWS (SBS Web Applications) and not (Default Web Site)

Will award points
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now