Solved

Exchange 2007 on SBS 2008

Posted on 2010-11-19
3
541 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
prashubvp earned 500 total points
ID: 34172831
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
ID: 34172970
Same error even with above command - any other suggestions?
0
 

Author Comment

by:PurpleJelly
ID: 34173098
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read this checklist to learn more about the 15 things you should never include in an email signature.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This video discusses moving either the default database or any database to a new volume.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

724 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