rafaeldemartin
asked on
Problems with Exchange 2010 - OWA / ECP
Hi!
Here is my problem:
Exchange 2010 - Win2008 R2
I had to recreate virtual OWA and ECP in Exchange because they were not working. I could recreate OWA virtual directory but when I try to do the same with ECP it gives me this error:
Creating a new session for implicit remoting of "New-EcpVirtualDirectory" command...
An Active Directory error 0x51 occurred when trying to check the suitability of server 'ECP'. Error: 'Active directory
response: The LDAP server is unavailable.'
+ CategoryInfo : NotSpecified: (:) [New-EcpVirtualDirectory], SuitabilityDirectoryExcept ion
+ FullyQualifiedErrorId : EDE28C6,Microsoft.Exchange .Managemen t.SystemCo nfiguratio nTasks.New EcpVirtual Directory
I would appreciate your help! Thanks.
Here is my problem:
Exchange 2010 - Win2008 R2
I had to recreate virtual OWA and ECP in Exchange because they were not working. I could recreate OWA virtual directory but when I try to do the same with ECP it gives me this error:
Creating a new session for implicit remoting of "New-EcpVirtualDirectory" command...
An Active Directory error 0x51 occurred when trying to check the suitability of server 'ECP'. Error: 'Active directory
response: The LDAP server is unavailable.'
+ CategoryInfo : NotSpecified: (:) [New-EcpVirtualDirectory],
+ FullyQualifiedErrorId : EDE28C6,Microsoft.Exchange
I would appreciate your help! Thanks.
ASKER
I'm running it from the Exchange server.
If the Exchange server is exch.xxx.local and the DC is dc.xxx.local, what would be the entire line, please?
If the Exchange server is exch.xxx.local and the DC is dc.xxx.local, what would be the entire line, please?
ASKER
The IIS have created the "ecp" virtual directory but the Exchange Server doesn't see it.
May I remove it manually or just create a new one with another name?
When I try to access http or https exch.xxx.local/ecp it gives me this error:
Server Error in '/ecp' Application.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Error 0x5 (Access is denied) from HrGetServersForRole
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.Exchange.Rpc.Rpc Exception: Error 0x5 (Access is denied) from HrGetServersForRole
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
May I remove it manually or just create a new one with another name?
When I try to access http or https exch.xxx.local/ecp it gives me this error:
Server Error in '/ecp' Application.
--------------------------
Error 0x5 (Access is denied) from HrGetServersForRole
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.Exchange.Rpc.Rpc
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
This one ("Error 0x5 (Access is denied) from HrGetServersForRole ") is difficult to fully ascertian from where it is originating, On face balue it says that access was denied which can be rectified by following this article :
http://technet.microsoft.com/en-us/library/dd876904.aspx
Reset and verify if your permissions are correct and try again.
Hilal
http://technet.microsoft.com/en-us/library/dd876904.aspx
Reset and verify if your permissions are correct and try again.
Hilal
ASKER
I can't do that because Excahnge server doesn'r recognize this "ecp" virtual directory, in the EMC the work pane "ECP" is empty.
I tried to run from shell the command from the link you gave me and:
The operation couldn't be performed because object 'exch01\ecp (Default Deb Site)' couldn't be found on 'dc01.xxx.local
.
+ CategoryInfo : NotSpecified: (0:Int32) [Set-EcpVirtualDirectory], ManagementObjectNotFoundEx ception
+ FullyQualifiedErrorId : FB052989,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Se tEcpVirtua lDirectory
I tried to run from shell the command from the link you gave me and:
The operation couldn't be performed because object 'exch01\ecp (Default Deb Site)' couldn't be found on 'dc01.xxx.local
.
+ CategoryInfo : NotSpecified: (0:Int32) [Set-EcpVirtualDirectory],
+ FullyQualifiedErrorId : FB052989,Microsoft.Exchang
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
[PS] C:\Windows\system32>Remove -EcpVirtua lDirectory -Identity "exch01\ecp (Default Web site)"
The operation couldn't be performed because object 'exch01\ecp (Default Web site)' couldn't be found on 'dc02.xxx.local'
.
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-EcpVirtualDirector y], ManagementObjectNotFoundEx ception
+ FullyQualifiedErrorId : D3CF11D5,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Re moveEcpVir tualDirect or
y
What if I remove if manually from the IIS?
The operation couldn't be performed because object 'exch01\ecp (Default Web site)' couldn't be found on 'dc02.xxx.local'
.
+ CategoryInfo : NotSpecified: (0:Int32) [Remove-EcpVirtualDirector
+ FullyQualifiedErrorId : D3CF11D5,Microsoft.Exchang
y
What if I remove if manually from the IIS?
""" The operation couldn't be performed because object 'exch01\ecp (Default Web site)' couldn't be found on 'dc02.xxx.local' ""
Are you running this command locally on Exchange server or remotely ?
It should not be looking for ecp directory on dc02, instead it should be your exchange server exch01.
Hilal
Are you running this command locally on Exchange server or remotely ?
It should not be looking for ecp directory on dc02, instead it should be your exchange server exch01.
Hilal
ASKER
That's what I don't understand either. I'm running the command locally on the Exchange Server. Everything I do on the Exchange server I always do it locally with full admin privileges.
If I remove it manually and recreate it by shell, do you think I'll have big problems?
If I remove it manually and recreate it by shell, do you think I'll have big problems?
Hi, I am afraid not a good news from here. I talked to couple of guys and they said issues like these have been reported to Microsoft PSS and they have confirmed this as a bug and would be addressing it with Update Rollup which is to be released.
Here is a similar case although issue is different http://forums.slipstick.com/showthread.php?t=29397
You can remove it manually but make sure that you take backup of IIS server so that you can restore it back if something breaks down.
Hilal
Here is a similar case although issue is different http://forums.slipstick.com/showthread.php?t=29397
You can remove it manually but make sure that you take backup of IIS server so that you can restore it back if something breaks down.
Hilal
ASKER
I'll try to remove it manually, with a previous backup, and try to recreate it again by shell.
The I tell you what happens.
Thanks!
The I tell you what happens.
Thanks!
ASKER
I have removed ecp virtual directory and when I try to recreate it:
[PS] C:\Windows\system32>New-Ec pVirtualDi rectory -Identity "Exch01\ecp (Default Web site)"
Creating a new session for implicit remoting of "New-EcpVirtualDirectory" command...
Cannot process argument transformation on parameter 'DomainController'. Cannot convert value "Exch01\ecp (Default Web s
ite)" to type "Microsoft.Exchange.Data.F qdn". Error: ""Exch01\ecp (Default Web site)" isn't a valid SMTP domain."
+ CategoryInfo : InvalidData: (:) [New-EcpVirtualDirectory], ParameterBindin...mationEx ception
+ FullyQualifiedErrorId : ParameterArgumentTransform ationError ,New-EcpVi rtualDirec tory
[PS] C:\Windows\system32>New-Ec
Creating a new session for implicit remoting of "New-EcpVirtualDirectory" command...
Cannot process argument transformation on parameter 'DomainController'. Cannot convert value "Exch01\ecp (Default Web s
ite)" to type "Microsoft.Exchange.Data.F
+ CategoryInfo : InvalidData: (:) [New-EcpVirtualDirectory],
+ FullyQualifiedErrorId : ParameterArgumentTransform
ASKER
I have manually removed the ecp virtual directory and run:
New-EcpVirtualDirectory -externalurl "https://mail.abcd.com/ecp" -internalurl
"https://exch01/ecp" -Server "exch01.xxx.local"
It worked great!!!
Anyway, thanks for your help Hilal1924.
New-EcpVirtualDirectory -externalurl "https://mail.abcd.com/ecp" -internalurl
"https://exch01/ecp" -Server "exch01.xxx.local"
It worked great!!!
Anyway, thanks for your help Hilal1924.
I have this same issue but when i do command
Remove-EcpVirtualDirectory -Identity "Server01\ecp (default Web site)"
I get
object 'EXCHANgE\ecp (default web site)' couldn't be found on 'DOMAINCONTROLLER.xxxxx.co m'
could it be something wrong with my DNS?
Remove-EcpVirtualDirectory
I get
object 'EXCHANgE\ecp (default web site)' couldn't be found on 'DOMAINCONTROLLER.xxxxx.co
could it be something wrong with my DNS?
"Creating a new session for implicit remoting of "New-EcpVirtualDirectory" command..."
Also Please paste the entire New-EcpVirtualDirectory Cmdlet that you iused including the parameters that you specified. Add a -Domain Controller parameter and see if that helps.
Hilal