Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create A Virtual Directory Inside A Virtual Directory In
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01359105
Message ID:
01359206
Views:
32
This message has been marked as the solution to the initial question of the thread.
>I thought that was it, but in the line:
>
>
>DirectoryEntry virtualDir = IISAdmin.Children.Find("Root", "IIsWebVirtualDir");
>
>
>I get the error "The system cannot find the path specified".

Drop the /Root qualifier from the initial path of IISAdmin:

ex.
DirectoryEntry IISAdmin = new DirectoryEntry("IIS://localhost/W3SVC/1" );
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform