{"id":167,"date":"2010-01-12T22:07:00","date_gmt":"2010-01-12T22:07:00","guid":{"rendered":"http:\/\/turtlellc.com\/index.php\/appsettings-for-a-sharepoint-timer-job\/"},"modified":"2010-01-12T22:07:00","modified_gmt":"2010-01-12T22:07:00","slug":"appsettings-for-a-sharepoint-timer-job","status":"publish","type":"post","link":"https:\/\/www.turtle.works\/knowledge\/appsettings-for-a-sharepoint-timer-job\/","title":{"rendered":"appSettings for a SharePoint Timer Job"},"content":{"rendered":"<p>The SPTimerJobs run under OWSTIMER.exe which doesn&#8217;t use web.config or it seems machine.config. So add an OWSTIMER.EXE.config file to C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12BIN. This is the format of the file:<\/p>\n<p><configuration><br \/> <configsections><br \/>   <sectiongroup name=\"applicationSettings\" type=\"System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\">     <\/p>\n<section name=\"youAssemblyNamespace.Properties.Settings\" type=\"System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\" requirepermission=\"false\">   <\/section>\n<p> <\/sectiongroup> <appsettings><br \/>   <add key=\"GageCalibration_SPSite\" value=\"http:\/\/sharepoint-test\/sites\/qualityAssurance\"><br \/>   <add key=\"GageCalibration_CorpGageCoordName\" value=\"Stephanie\"><br \/>   <add key=\"GageCalibration_CorpGageCoordEmail\" value=\"jwainz@nowhere.com\"><br \/> <\/add><br \/><\/add><\/add><\/appsettings><\/configsections><\/configuration><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SPTimerJobs run under OWSTIMER.exe which doesn&#8217;t use web.config or it seems machine.config. So add an OWSTIMER.EXE.config file to C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12BIN. This is the format of the file:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":0,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.turtle.works\/knowledge\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}