I had unpleasant locks when debugging under VS2008, SP1 on my machine. I ran ProcMon.exe to try to determine what was going on. One thing I see is 100 or 1000 repeated readings + writing to a file called security.config.cch and security.config.cch.new.
What kind of files are these? Why does my application need to read + write repeatedly to this file?
Thanks Dave
Example:
2: 18: 14.1421944 PM App.vshost.exe 1152 ReadFile C: \ Documents and Settings \ myuser \ Application Data \ Microsoft \ CLR Security Config \ v2.0.50727.42 \ security.config.cch SUCCESS Offset: 170,397, Length: 208 2: 18: 14.1422854 PM App.vshost.exe 1152 ReadFile C: \ Documents and Settings \ myuser \ Application Data \ Microsoft \ CLR Security Config \ v2.0.50727.42 \ security.config.cch SUCCESS Offset: 170,605, Length: 224 2: 18: 14.1423824 PM App.vshost.exe 1152 WriteFile C: \ Documents and Settings \ myuser \ Application Data \ Microsoft \ CLR Security Config \ v2.0.50727.42 \ security.config.cch.new SUCCESS Offset: 206,817, Length : 208 2: 18: 14.1424843 PM App.vshost.exe 1152 WriteFile C: \ Documents and Settings \ myuser \ Application Data \ Microsoft \ CLR Security Config \ v2.0.50727.42 \ security.config.cch.new SUCCESS Offset: 207,025 , Length: 224 2: 18: 14.1425788 PM App.vshost.exe 1152 WriteFile C: \ Documents and Settings \ myuser \ Application Data \ Microsoft \ CLR Security Config \ v2.0.50727.42 \ security.config.cch.new SUCCESS Offset : 207,249 Le ngth: 12 2: 18: 14.1426746 PM App.vshost.exe 1152 ReadFile C: \ Documents and Settings \ myuser \ Application Data \ Microsoft \ CLR Security Config \ v2.0.50727.42 \ security.config.cch SUCCESS Offset: 170,841, Length: 220 2: 18: 14.1427679 PM App.vshost.exe 1152 ReadFile C: \ Documents and Settings \ myuser \ Application Data \ Microsoft \ CLR Security Config \ v2.0.50727.42 \ security.config.cch SUCCESS Offset: 171,061, Length: 224
source share