Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / September 2006

Tip: Looking for answers? Try searching our database.

Trace.WriteLine and Web Services

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
redhotsly@hotmail.com - 19 Sep 2006 14:17 GMT
Hi, we use Trace.WriteLine to output tracing information in our web
services methods. With .Net Framework 1.1, we could view the tracing in
real-time using DebugView (DbgView.exe) without attaching a debugger.
After upgrading to .Net 2.0, it seems like the Trace.WriteLine output
is sent somewhere else because it no longer shows up in DebugView. If I
replace the Trace.WriteLine by Debug.WriteLine, then it works. How can
I fix the Trace.WriteLine?
Regards
-Sly
Gaurav Vaish (www.EduJiniOnline.com) - 19 Sep 2006 15:09 GMT
> After upgrading to .Net 2.0, it seems like the Trace.WriteLine output
> is sent somewhere else because it no longer shows up in DebugView. If I
> replace the Trace.WriteLine by Debug.WriteLine, then it works. How can
> I fix the Trace.WriteLine?

Ensure that you theh correct the trace-listeners initialized appropriately.

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------

redhotsly@hotmail.com - 20 Sep 2006 12:24 GMT
> Ensure that you theh correct the trace-listeners initialized appropriately.

Which listener do I have to use? Also, how do I configure and
initialize it properly?
Thank you
-Sly
Gaurav Vaish (www.EduJiniOnline.com) - 21 Sep 2006 03:31 GMT
Look in the documentation for "Configuration File Schema"

Sub-topic: "<system.diagnostics> Element"

Signature

Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------

>> Ensure that you theh correct the trace-listeners initialized
>> appropriately.
[quoted text clipped - 3 lines]
> Thank you
> -Sly

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.