IIS 7 and Above
The given path's format is not supported (IIS Manager)
Last post Apr 09, 2012 02:19 PM by hcaldwell
Apr 12, 2011 07:26 PM|hcaldwell|LINK
When I attempt to access a site in IIS Manager I get this error. I don't see any errors in the application or system logs. Is there a way to get more information on what is causing this error?
Apr 13, 2011 11:53 AM|sbradk|LINK
If this is IIS7 you might want to look at the config file and check the path that is set for that site to make sure it is valid.
Apr 13, 2011 12:20 PM|hcaldwell|LINK
This is IIS 7.5. The path is valid. I can right click on the website and select explore which brings up an explorer window in the correct directory.
Apr 15, 2011 07:30 AM|Linda-in-spring|LINK
Would you please show some detailed steps that encounter the error?
Apr 15, 2011 01:38 PM|hcaldwell|LINK
I open IIS Manager, double click on the site to expand it and the error message pops up.
If I right click on the site and select explore than the an explorer window pops up. I'm pretty sure it's something in one of the many web.config files in the site but i don't know which one or where in the web.config file to find the error.
Are the web.config files of sub directories read before you attempt to directly access them or since I'm only trying to expand the top level directory of the site has only the web.config file in the root been read by IIS manager?
As far as I have been able to determine IIS is not having any problems serving the site.
Apr 18, 2011 03:09 AM|Lloydz|LINK
Could you please post the physical path you used for the site setting? Do you encounter the error even it is an empty folder?
Apr 18, 2011 12:45 PM|hcaldwell|LINK
The path hasn't changed since this behavior developed. I have other sites with similar paths and IIS Manager has no trouble managing them.
Apr 19, 2011 01:54 AM|Lloydz|LINK
The UNC path should be like "\\<server_name>\<share_name>". According to the path you posted, "afs" is the server name and ".my.org\www\my.dir\htdocs" is the shared folder path?
Apr 19, 2011 01:08 PM|hcaldwell|LINK
AFS is a distributed file system: http://www.openafs.org/
It's highly unlikely that it has anything to do with the the path to the files since IIS has no problem serving this site, I also used to be able to manage this site through IIS Manager and the UNC Path hasn't changed. This IIS server also serves and allows
me to manage other sites that are stored in AFS.
Jan 18, 2012 02:45 PM|hcaldwell|LINK
I'm still having this issue. Can anyone recommend steps to determine where in the application.config or web.config file the IIS manager is running into a problem?
Apr 09, 2012 02:19 PM|hcaldwell|LINK
This behavior also occurs in powershell as well as the IIS manager. I can access list the contents of folders above and below the problem directory.
Running ls on the following path (\\afs\usgs.gov\www\staging-www\htdocs) in powershell returns
PS Microsoft.PowerShell.Core\FileSystem::\\afs\usgs.gov\www\staging-www\htdocs> ls
Get-ChildItem : The given path's format is not supported.
At line:1 char:3
+ ls <<<<
+ CategoryInfo : NotSpecified: (:) [Get-ChildItem], NotSupportedException
+ FullyQualifiedErrorId : System.NotSupportedException,Microsoft.PowerShell.Commands.GetChildItemCommand
Running ls on \\afs\usgs.gov\www\staging-www or \\afs\usgs.gov\www-staging\htdocs\subdir works normally.