• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2766
  • Last Modified:

Cannot change WebServicesVirtualDirectory to follow MS Kb 940726

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
xogent
Asked:
xogent
  • 3
  • 3
1 Solution
 
LeeDerbyshireCommented:
Just a guess.  Do you have a Host Header name configured for your Default Web Site?
0
 
xogentAuthor Commented:
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
 
LeeDerbyshireCommented:
Can you run the Get-WebServicesVirtualDirectory cmd successfully?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
xogentAuthor Commented:
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
 
LeeDerbyshireCommented:
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
 
xogentAuthor Commented:
You're right.  I had not launched the shell as an admin.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now