Link to home
Start Free TrialLog in
Avatar of ZitCom
ZitComFlag for Denmark

asked on

Error running new-autodiscovervirtualdirectory

I am getting the following error when trying to recreate autodiscovervirtualdirectory

New-AutodiscoverVirtualDirectory : An error occurred while creating the IIS vir
tual directory 'IIS://mail01.domain.local/W3SVC/1/ROOT/Autodiscover' on 'MAIL01
'.
At line:1 char:32
+ new-autodiscovervirtualdirectory <<<<


I already tried reinstalling iis and exchange CAS. no help there.
Avatar of florin_s
florin_s

Hi,

A cause for this is maybe you are running Microsoft Internet Information Service (IIS) in 32 bit anyway check out this link:

http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=2350934&SiteID=17
Avatar of ZitCom

ASKER

i doubt that. I should add that earlier i managed to create a new autodiscovervirtualdirectory in a website called "AutoDiscover" using that command. However i discovered i made an error creating a seperate website for that vdir, and deleted it again. now i get that error when trying to recreate the vdir in its orignal location.
So i have been able to run that command, for some reason i am unable to do so now.
Avatar of ZitCom

ASKER

But that is not the same problem, the command he is running in that post, is the command that is not working for me
ASKER CERTIFIED SOLUTION
Avatar of abdulzis
abdulzis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ZitCom

ASKER

abdulzis:
thank you for your reply.

There is an autodiscover vdir in LM\W3SVC\1\ROOT

I assume i should just delete that and try again?
Avatar of ZitCom

ASKER

Ok i deleted it, and was able to make a new autodiscover vdir. Thank you very much