IIS 8.5 - Illegal Characters in Path

Posted on 2014-01-30
Last Modified: 2014-01-30
Server 2012 R2 - IIS 8.5 - Exchange 2010

When expanding the Default Web Site node in IIS manager an error dialog pops up with the following message "Illegal Characters in Path" and an Ok button.

IIS backups had an issue due to VSS problems on system drive which is resolved now but I dont have access to IIS history backups.

I do have daily file system backups but it seems difficult manually replacing IIS configuration files, someone might be able to guide me to do that or another way to step back to a good configuration.

Things tried:

Boot safe mode and restore old inetserv config files

Attempt uninstall re-install of IIS - dependencies like Windows Server Essentials need to be removed and I am wary of doing that after having all client computers setup to backup using essentials backup.

Maybe there is some powershell wizardry I can employ.

Question by:luddite-technologies
  • 2

Author Comment

ID: 39820405
This may help - looks pretty bog standard to me.

Type               Name                             Physical Path
----               ----                             -------------
directory          App_Data                         C:\Program Files\Windows Server\Bin\webapps\site\App_Data
directory          aspnet_client                    C:\Program Files\Windows Server\Bin\webapps\site\aspnet_client
application        Autodiscover                     C:\Program Files\Microsoft\Exchange
application        Autodiscover\bin                 C:\Program Files\Microsoft\Exchange
application        Autodiscover\help                C:\Program Files\Microsoft\Exchange
directory          Bin                              C:\Program Files\Windows Server\Bin\webapps\site\Bin
virtualDirectory   CertEnroll                       C:\Windows\system32\CertSrv\CertEnroll
application        CertSrv                          C:\Windows\system32\CertSrv\en-US
application        Connect                          C:\Program Files\Windows Server\Bin\WebApps\Client
directory          Customization                    C:\Program Files\Windows Server\Bin\webapps\site\Customization
file               Default.aspx                     C:\Program Files\Windows Server\Bin\webapps\site\Default.aspx
application        ecp                              C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\ecp
application        EWS                              C:\Program Files\Microsoft\Exchange
application        EWS\bin                          C:\Program Files\Microsoft\Exchange
virtualDirectory   Exchange                         C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa
virtualDirectory   Exchweb                          C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa
application        home                             C:\Program Files\Windows Server\Bin\WebApps\CloudTest
application        Microsoft-Server-ActiveSync      C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\sync
virtualDirectory   OAB                              C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\OAB
application        owa                              C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa
application        owa\Calendar                     C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa
application        owa\oma                          C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa
application        PowerShell                       C:\Program Files\Microsoft\Exchange
application        PowerShell-Proxy                 C:\Program Files\Microsoft\Exchange
virtualDirectory   Public                           C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\owa
application        Remote                           C:\Program Files\Windows Server\Bin\WebApps\RemoteAccess
directory          Resources                        C:\Program Files\Windows Server\Bin\webapps\site\Resources
file               Robots.txt                       C:\Program Files\Windows Server\Bin\webapps\site\Robots.txt
application        Rpc                              %windir%\System32\RpcProxy
application        RpcWithCert                      %windir%\System32\RpcProxy
application        services                         C:\Program Files\Windows Server\Bin\WebApps\WebApi
file               Web.config                       C:\Program Files\Windows Server\Bin\webapps\site\Web.config

Open in new window


Accepted Solution

luddite-technologies earned 0 total points
ID: 39820530
Running the following got IIS displaying the Default Web Site tree again - awesome.

Remove -OwaVirtualDirectory -Identity 'SERVER01\owa (Default Web Site)'

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Basic Regex for use in webservice 1 56
IIS on 2012 R2 server local access works, remote does not 12 57
Allow X-Forwarded-For Headers to Site or No? 3 57
Error viewing ASP page 12 146
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) ( is a much better solution when you need to p…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now