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
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.
In addition to the mechanisms Bryan describes, you can also view the trace output via ASP. Net’s tracing mechanism if it is enabled.
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