Thanks for the sample . We were able to determine that the
System.Diagnostics.Trace.Write() that wasn't showing up was actually part of
a code path that exists during session_start .
simply ,
application_beginRequest was followed by Session_start (as no session
existed yet) which had a module that called System.Diagnostics.Trace.Write()
..
This diagnostic never made it to the page output presumably because the page
hadn't been created yet .
So this indicates that the earliest one can write to the trace and expect it
output to the webpage is during or after pre-init.
"Walter Wang [MSFT]" wrote:
Hi,
I've created a simple web application following the walkthrough steps as
you mentioned in the MSDN Library. And it works correctly on my system.
Please see if it works on your system.
Please note you may need to use Outlook Express to download my attachment.
Hope this helps. Please feel free to post here if anything is unclear.
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights