system.diagnostic trace not creating file in asp.net
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFcna0Ujp09bgbBrPD7ihc_uWktsFJNSJQQ2ZZuUYfV1F61sCxp6EAPrPc0iDmg_X1uBEXyvscapWfZI8YOFMJBXxrhLR0eNakoyIQ8OXP-ZoGqUzCZ6Qk7vCHM5O5yzQMOHhe0nFmSZQY/s1600/ApplicationPool.png)
If your S ystem .D iagnostic trace is not creating a file in asp.net make sure the the user that the website/webapp is running under has write permissions to the log file folder(default is web root ie where the web.config is). You can find the user that the website/webapp is running under by going into IIS. Go to the application pool that the website/webapp is running under and the Identity column will show the user that needs write permissions to the log file folder.