Click to See Complete Forum and Search --> : ASP. NET Webservice and IIS


arun1405
May 24th, 2004, 11:25 AM
Hi Folks,

I am writing an ASP.NET webservice in VC++7.1. It is deployed on IIS 5.0 WebServer running on Windows 2000 machine. My webservice is nothing but a simple wrapper over the existing code written in C. This existing C code requires custom environment and some third party DLLs.

My questions are:
1. How can I make my webservice running on IIS, to search for these dependent DLLs? (My webservice runs successfully if DLLs are located in the system32 directory, otherwise not. I have even tried to set the path to the DLLs in the environment settings of My Computer but it does not work)

2. Is it possible for IIS to load environment by some environment file (<filename>.env) ? I mean I have an environment file having something like PROJ_HOME="\project" PROJ_TMP="\project\temp"; can IIS read such a file and load the environment accordingly ?

Regards,
Arun.

coolbiz
May 27th, 2004, 05:50 AM
If I am not mistaken, you can specify the DLL paths in your Web.Config file. I can't really remember the exact config but MSDN should have it.

I don't think IIS can do that or at least I'm not aware it.

-Cool Bizs