Still not getting alerts

I am using Beta 3 TFS, and still can not get the Alerts to work.
We have an Exchange Server that uses Windows Authetication. 
I have confirmed that the smtp server is declared in the web.config file.
I have signed up for alerts under the Team Project.
I have even changed the 'eSwitch' value to 3 as I have seen mentioned in other older posts in order to generate a log file.

I do not get any emails from the system, and also do not see any kind of log file that might hold the key to the problem.  Where is this log file located

Thanks
--MikeH



Answer this question

Still not getting alerts

  • Jonrio

    Tracing simply defaults writing to windows debug output.  There are many tools that listen to debug output - Visual Studio has a debug output window, theres a resource kit tool called dbmon, and sysinternals has debug view - I'm sure there's others. 

    It's also standard .net tracing so you can also configure it to output to a file or any other trace listener.

    http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdiagnosticsdefaulttracelistenerclasstopic.asp

    If you configure it to trace to a file in the web service, specify a directory under the webservice\services folder that the service account (specified at setup - team foundation app pool runs as this identity) has permissions to write to.

    hope that helps.

  • Maryello



  • ZackL


    To turn on tracing for Beta 3, look for the "General" switch in web.config, not "eSwitch".  Then run DbgView to monitor the output as you run the system.


  • jch_00

    Thanks for the reply.

    The reason I changed the 'eSwitch' value was due to several other posts on this same subject stating this would generate a log. I realize these posts may be referencing Beta 2 or earlier.
    http://forums.microsoft.com/msdn/ShowPost.aspx PostID=69802
    http://forums.microsoft.com/msdn/ShowPost.aspx PostID=13879
    http://forums.microsoft.com/msdn/ShowPost.aspx PostID=11452

    I changed 'eSwitch' back to 1 and changed 'General' to 3.
    I guessed on the value since you didn't suggest one.

    Should this have generated a log file   If so, it didn't.
    So, back to my original question: Where is this log file located
    Event log Build log ErrorsandWarnings log   Some temp log file

    As far as your suggestion about DbgView, I havent tried it yet.  However, I am never fond of answers that imply 'You cant do that unless you download a third party tool'. 

    Thanks again for your help.
    --MikeH


  • Ruden

    In addition to the mechanisms < xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />Bryan describes, you can also view the trace output via ASP. Net’s tracing mechanism if it is enabled.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     To enable ASP.NET tracing, change the trace setting in web.config (system.web section)

                <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />

     Here’s a description of the ASP.NET configuration settings – note the ‘trace element’: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/gngrfaspnetconfigurationsectionschema.asp

     What’s the setting of the traceWriter key in web.config The setting of this determines whether trace output is persisted in a file; if set to true, than the output will be placed according to the value of traceDirectoryName. Both of these settings are in the appSettings section of web.config.

     

    -jeff


  • Still not getting alerts