Hi,
I'm
trying to keep a log writing to a file when certain operations are
executed, but it's not writing anything and it doesn't report any
error.
MainLogger = new FileLogger("C:\\myWSlog.log");
MainLogger.Log(LogSeverity.Info, "WSHelloFromPostgreDB", "String Returned.");
The
same set of instructions works on a client app, but not from my
webservice. Even more, I try running the web service from VS2005 IDE
and works fine. However, if I copy the web service to the IIS virtual
directories it just doesn't write anything to the file and reports no
error.
I have given Wrtite permisions to the WebSite in IIS, but
it doesn't solve it. It seems like I don't have the necesary
configuration implemented in my IIS, becasue from inside the IDE works
smoothly.
Any ideas Thanks,
Michael.

Writing to a file from a Webservice
DPolen
However, now I'm trying to write the log on a file in a network drive and I have the same error than before. The user logged on also has all permissions in that network drive, but the web service doesn't write anything.
It works if I run the web service from the VS2005 IDE or if I execute the same piece of code from a console app.
What am I missing now, so that the web service could write to a file on a network drive
Thanks,
Michael.