Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Current Directory
Message
 
À
21/07/2004 18:39:49
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Divers
Thread ID:
00926834
Message ID:
00926986
Vues:
11
Thanks! I actually played with that method, but did not consider passing an empty string as the parameter...

Troy

>>How can I get the current directory the web service is running from?
>>using the location property of System.Reflection.Assembly.GetExecutingAssembly() gives me the framework web service folder and using System.IO.Directory.GetCurrentDirectory() gives me the System32 folder. I need the c:\inetpub\wwwroot\mywebservicefolder path.
>
>Try this:
>
>
>Private cStartupDirectory As String = Server.MapPath("")
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform