Why won\'t Environment.GetEnvironmentVariable(\"variableName\") get a variable\'s value if the call is made from within a webMethod hosted on IIS and it will wo
Environment.GetEnvironmentVariable(\"variableName\")
You need to restart IIS by using the iisreset command.
iisreset