G
Guest
I need to determine which ASP.NET web site directory a DLL was called from.
The directory path is needed so that a config file located there can be
called by a datalayer component in the same directory, that will be called by
the web site.
(A DLL called from an ASP.NET website is started not in that installation
directory but in C:\Windows\System for Windows 2000 and XP. For Windows 2003
Server, the location is C:\Windows\System\InetSrv and for running within
Visual Studio 2005, from within one of its directories.)
The directory path is needed so that a config file located there can be
called by a datalayer component in the same directory, that will be called by
the web site.
(A DLL called from an ASP.NET website is started not in that installation
directory but in C:\Windows\System for Windows 2000 and XP. For Windows 2003
Server, the location is C:\Windows\System\InetSrv and for running within
Visual Studio 2005, from within one of its directories.)