Salonge
asked on
Unable to recreate the ECP virtual directory in Exchange 2010
I installed Exchange 2010 and everything was working fine, except the options in OWA from the external URL.
I was told to remove the ecp virtual directory and add it back by using the new-ecpvirtualdirectory "servername\ecp (default web site)"
It removed just fine, but when I tried to add it back I got the error message
The virtual directory 'ecp' already exists under 'Servername\ecp/Default Web Site'.
Parameter name: VirtualDirectoryName
+ CategoryInfo : InvalidArgument: (EXCHANGE2010\ecp (Default Web Site):ADObjectId) [New-EcpVirtualDirecto
ry], ArgumentException
+ FullyQualifiedErrorId : 72EA2BC3,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Ne wEcpVirtua lDirectory
So I looked in my IIAdmin and saw the ecp directory, which does not work.
I tried the remove again and new again with the same error. I went into the IIAdmin and manually removed the virtual directory and tried again, still not working.
This morning I went back into the IISadmin and the directory is there, but still not working.
Please help.
I was told to remove the ecp virtual directory and add it back by using the new-ecpvirtualdirectory "servername\ecp (default web site)"
It removed just fine, but when I tried to add it back I got the error message
The virtual directory 'ecp' already exists under 'Servername\ecp/Default Web Site'.
Parameter name: VirtualDirectoryName
+ CategoryInfo : InvalidArgument: (EXCHANGE2010\ecp (Default Web Site):ADObjectId) [New-EcpVirtualDirecto
ry], ArgumentException
+ FullyQualifiedErrorId : 72EA2BC3,Microsoft.Exchang
So I looked in my IIAdmin and saw the ecp directory, which does not work.
I tried the remove again and new again with the same error. I went into the IIAdmin and manually removed the virtual directory and tried again, still not working.
This morning I went back into the IISadmin and the directory is there, but still not working.
Please help.
ASKER
Yes. but I will try again
ASKER
did not work.
ASKER
This is the error
The virtual directory 'ecp' already exists under 'Servername\ecp/Default Web Site'.
Parameter name: VirtualDirectoryName
+ CategoryInfo : InvalidArgument: (EXCHANGE2010\ecp (Default Web Site):ADObjectId) [New-EcpVirtualDirecto
ry], ArgumentException
+ FullyQualifiedErrorId : 72EA2BC3,Microsoft.Exchang e.Manageme nt.SystemC onfigurati onTasks.Ne wEcpVirtua lDirectory
The virtual directory 'ecp' already exists under 'Servername\ecp/Default Web Site'.
Parameter name: VirtualDirectoryName
+ CategoryInfo : InvalidArgument: (EXCHANGE2010\ecp (Default Web Site):ADObjectId) [New-EcpVirtualDirecto
ry], ArgumentException
+ FullyQualifiedErrorId : 72EA2BC3,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.
That means it didn't create properly.
My instinct is that you have a corrupt IIS metabase. However before you do that, go through teh setup steps again like this:
Run the command to remove the directory again.
Then check if it has been removed from IIS manager. If not, remove it manually.
Run IISRESET to write the change to the IIS metabase.
Run the command to create the virtual directory, again check in IIS manager.
Run IISRESET again.
If it still isn't working, check the Application logs for any errors, but you could be looking at a reinstall of IIS and the CAS role.
Simon.
My instinct is that you have a corrupt IIS metabase. However before you do that, go through teh setup steps again like this:
Run the command to remove the directory again.
Then check if it has been removed from IIS manager. If not, remove it manually.
Run IISRESET to write the change to the IIS metabase.
Run the command to create the virtual directory, again check in IIS manager.
Run IISRESET again.
If it still isn't working, check the Application logs for any errors, but you could be looking at a reinstall of IIS and the CAS role.
Simon.
ASKER
This was the fix for me. Even though the ecp did not show up in the directory list, I was able to get to the options,.
Simon.