Solved

Cannot change WebServicesVirtualDirectory to follow MS Kb 940726

Posted on 2008-10-20
6
2,736 Views
Last Modified: 2012-06-22
I am following the steps in the MS kb 940726, but I cannot complete the EWS InternalUrl step.  I suspect that the problem is the fact that the external URL is very different from the internal FQDN.   Using xxx to equate to the company name, the external is https://owa.xxxind.com while the internal is xxxmail.xxx.com

In the management shell, I issue the command:
Set-WebServicesVirtualDirectory -Identity "xxxmail.xxx.com\EWS (Default Web Site)" -InternalUrl https://owa.xxxind.com/ews/exchange.asmx

I get the error:
Set-WebServicesVirtualDirectory : A failure occurred while trying to update metabase properties.
At line:1 char:32
+ Set-WebServicesVirtualDirectory <<<< -Identity "xxxmail.xxx.com\EWS (Default Web Site)" -InternalUrl https://owa.xxxind.com/ews/exchange.asmx
0
Comment
Question by:xogent
[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
  • 3
  • 3
6 Comments
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 22767435
Just a guess.  Do you have a Host Header name configured for your Default Web Site?
0
 

Author Comment

by:xogent
ID: 22769141
I think I know what you're asking.  The 2 site bindings, http & https, both have no host name listed.  Also, this is running on a Server 2008 platform, if that makes a difference.

The http binding shows: Type: http,  IP address: All Unassigned,  Port: 80,  Host name: (this field is blank)
Https: Type: https,  IP address: All Unassigned,  Port: 443,  Host name: (this field is blank and greyed out),  SSL certificate: Xxx Industries - Outlook Anywhere
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 22775805
Can you run the Get-WebServicesVirtualDirectory cmd successfully?
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:xogent
ID: 22775906
No.
When I tried, I got this:
Get-WebServicesVirtualDirectory : Unable to create Internet Information Services (IIS) directory entry. Error message is: Access is denied.
. HResult = -2147024891.
At line:1 char:31
+ Get-WebServicesVirtualDirectory <<<<
0
 
LVL 31

Accepted Solution

by:
LeeDerbyshire earned 500 total points
ID: 22775939
Are you sure you are logged in with an account that has permission to do IIS administration; which is what the EMC console is doing on your behalf?  Easiest way to check is to go into IIS Manager, and see if the EWS VDir actually exists, then look at some of its properties.
0
 

Author Comment

by:xogent
ID: 22776529
You're right.  I had not launched the shell as an admin.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

738 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