Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create A Virtual Directory Inside A Virtual Directory In
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01359105
Message ID:
01359206
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform