Michel,
You can use
Server.MapPath("")
to get this information.
>Is there a way to detect the asmx directory of the Web Service? I have a Web Service which resides in d:\ClientWebService. This is where the asmx file resides. Is there a way to detect that directory when my Web Service is being called?
>
>I am looking for a way to avoid entering the data path inside the code. I am using a Main.ini file which resides in the same place as the Web Service. However, I need to know where the Main.ini file resides. Is there a way to do that?