Create corresponding ECP

  • Thread starter Matthew Arkin [MVP]
  • Start date Views 900
Status
Not open for further replies.
M

Matthew Arkin [MVP]



I'm having a couple OWA issues.

I'm trying to create an OWA site under a New Site in IIS (this is because I want my end users to be able to access owa through a subdomain, but I need my offisite IT folks to be able to access ECP so the redirection wouldn't work if I left it all in the same IIS site).

After I create the new OWA site, it tells me I must create a corresponding ECP site (when I try to do it, I can't figure out the correct Identity it wants me to use (sorry if thats a noob question).

Right now if I try to access the OWA page it give me a 500 internal server error.

Thanks,

Matt

Matthew Arkin - Microsoft Partner - http://twitter.com/Microsoft_Cares - All posts are "as is" without warranty of any kind, either expressed or implied
 
T

Tom Vanopoulos



In the shell try the following commands. The first is creating the OWA vir dir and the Second is creating the ECP vir dir.

New-OwaVirtualDirectory -NewWebSiteName "Website Name"

New-EcpVirtualDirectory -Identity "Server_Name\ecp (New Web Site Name)"

Regards,

Tom

MCITP: Enterprise Messaging Administrator 2007/2010 | MCITP: Server Administrator | MCTS: Windows Server 2008 Applications Infrastructure, Configuring | MCP | MCDST
 
M

Matthew Arkin [MVP]



Thanks Tom,

I was able to set up the OWA Directory in a new site, but when I try running the Ecp commands it tells me that

Cannot process argument transformation on parameter 'DomainController'. Cannot convert value "WIN-BPES89UC4SA\ecp (Exch

ange1)" to type "Microsoft.Exchange.Data.Fqdn". Error: ""Server Name\ecp (Exchange1)" isn't a valid SMTP domain."
+ CategoryInfo : InvalidData: :)) [New-EcpVirtualDirectory], ParameterBindin...mationException
+ FullyQualifiedErrorId : ParameterArgumentTransformationError,New-EcpVirtualDirectory

I've tried the fqdn as well as just the servername

Matthew Arkin - Microsoft Partner - http://twitter.com/Microsoft_Cares - All posts are "as is" without warranty of any kind, either expressed or implied
 
T

Tom Vanopoulos



Try typing Get-ECPVirtualDirectory what does the output show. By default it should show the following:

Name Server
---- ---- ecp (Default Web Site) <Server_Name>

Try the following command and match the Server Name as the above output:

New-EcpVirtualDirectory -Identity "<Server_Name>" -name "ECP" -WebSiteName "New Web Site Name"

Regards,

Tom

MCITP: Enterprise Messaging Administrator 2007/2010 | MCITP: Server Administrator | MCTS: Windows Server 2008 Applications Infrastructure, Configuring | MCP | MCDST
 
M

Matthew Arkin [MVP]

With New-EcpVirtualDirectory -Identity "<Server_Name>" -name "ECP" -WebSiteName "New Web Site Name", it told me I needed to add the External and Internal Urls and now it wants me to add the path, which is?Matthew Arkin - Microsoft Partner - http://twitter.com/Microsoft_Cares - All posts are "as is" without warranty of any kind, either expressed or implied
 
T

Tom Vanopoulos



If the ECP directory has been created then you can type the following:

Set-EcpVirtualDirectory -Identity "<Server_Name>\ecp (New Web Site)" -ExternalURL "https://<URLforExternalAccess>/ecp" -InternalURL "https://<URLforInternalAccess>ecp"

If it hasn't been created then you can type the following:

New-EcpVirtualDirectory -Identity "<Server_Name>" -name "ECP" -WebSiteName "New Web Site Name" -ExternalURL "https://<URLforExternalAccess>/ecp" -InternalURL "https://<URLforInternalAccess>/ecp"

Let me know how it goes.

Regards,

Tom

MCITP: Enterprise Messaging Administrator 2007/2010 | MCITP: Server Administrator | MCTS: Windows Server 2008 Applications Infrastructure, Configuring | MCP | MCDST
 
Status
Not open for further replies.
Top