System.Diagnostics Tracing does not work after publishing web service

C

cesporma

Hello -

I have created a web service using VS.NET 2005 and using the
System.Diagnostics tracing to write to a file. This all works great in
my development environment. Once I publish the web service using the
"Publish Web Site" feature, the deployed web service does not write
traces to the file. It will however, write to the Trace.axd file if I
enable tracing.

To get the project to write to a file, I had to specify the TRACE as a
compiler option in my web.config file.

Anyone have a clue?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top