Solved

Cannot change WebServicesVirtualDirectory to follow MS Kb 940726

Posted on 2008-10-20
6
2,728 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…

810 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