Hi,
I am using Appcmd.exe to create Virtual directories, AppPools and applications. I am getting the following error in one of my environment where i have all the role services installed for IIS web server.
"%SystemRoot%\System32\InetSrv\Appcmd.exe" list app "Default Web Site"/TempAPP
I am running this command on a remote box using my exe which runs command on remote box.
Here is the error i am getting upon executing the above command.
Failed to process input: The parameter 'Web' must begin with a / or - (HRESULT=80070057).
Failed to process input: The parameter 'Web' must begin with a / or - (HRESULT=80070057).
I tried creating the AppPool and listing AppPools and they worked with out any issue.
I am not sure this is due to any role service added or removed from IIS.
Please share your suggestion.
Thanks,
Bharani