Search notes:

srcsrv.ini

$srcsrv.ini (located in the directory pointed at by the Visual Studio environment variable %DevEnvDir%) stores the path to tf.exe.
[trusted commands]
tf.exe="CommonExtensions\Microsoft\TeamFoundation\Team Explorer\TF.exe"

Misc

Apparently, there should be a better solution (Bug 194740).

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1759406858, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/dirs/Program-Files-x86/Microsoft-Visual-Studio/version/edition/Common7/IDE/srcsrv_ini(40): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78