Solved

Cannot change WebServicesVirtualDirectory to follow MS Kb 940726

Posted on 2008-10-20
6
2,724 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
Comment Utility
Just a guess.  Do you have a Host Header name configured for your Default Web Site?
0
 

Author Comment

by:xogent
Comment Utility
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
Comment Utility
Can you run the Get-WebServicesVirtualDirectory cmd successfully?
0
Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 

Author Comment

by:xogent
Comment Utility
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
Comment Utility
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
Comment Utility
You're right.  I had not launched the shell as an admin.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create a User 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 >> Mailb…
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

772 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

16 Experts available now in Live!

Get 1:1 Help Now