We have our TFS Server hosted on Windows Server 2012 R2 Standard. Recently our TFS web application started to slow down to the point that it is almost not usable. We did some digging on the server and noticed in the event logs that the TFS Service keep shutting down and restarting the shut down message is "The application is being shutdown for the following reason: BinDirChangeOrDirectoryRename" - I have checked the bin folder for the application in IIS (C:\Program Files\Microsoft Team Foundation Server 2018\Application Tier\Web Services\bin) and checked to see if any files have recent created or updated dates - nothing. I let process mon monitor the folder for the event "CreateFile" and I noted that our AV was triggering this event as it was scanning the directory (I note that the createFile event is triggered when an attempt is made to open the file with write access - I believe). Thinking that maybe this had something to do with it we stopped the AV, but the Application continues to shut down every minute or so. We did a repair on the TFS install to see if this resolved our problems. Unfortunately nothing is helping. Any suggestions as to what might be causing this issue??
2
There are 2 best solutions below
0
Paul
On
I have finally resolved this - for anyone who is having similar problems - my solution was to add this to the web.config of the app <httpRuntime fcnMode="Disabled" /> - using the advice given here
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in TFS
- Missing Header (Feature Title and Toolbar) on some Feature Work Items in TFS Web Access
- Upgrading separate Project Collection Database to new TFS Version
- OpsHub Visual Studio Online Migration Utility Hangs on Creating Configuration
- The merge tool is not showing when call Workspace.ResolveConflict method in TFS 2012
- HowTo: change a project's status from `Invalid` to `Valid`?
- TFS 2013 Object reference not set to an instance of an object in Team Explorer
- Release Management for Visual Studio 2013 - Release Exception
- Visual studio 2013 team project has been deleted
- TFS version control does not show conflicts
- include typescript file in output result build with TFS
- Team Foundation 2012 not recognising changes in vb6 app
- WebDeploy from TFS using Build Definitions to IIS site containing files changed by users
- Team Foundation plugin for Android Studio
- TFS 2013 with Octopus Deploy, Email Template - Resolved Bugs/User Stories
- What is the best branching strategy in TFS to share code between multiple team projects?
Related Questions in IIS-7.5
- Create an IIS web request activity light
- IIS7 SQL ODBC and Server 2008 R2 (converted site from IIS6 2003 to 2008 R2 IIS7)
- WCF on WAS - Do I need to host on IIS (HTTP) as well?
- Adding Application Insights to a WCF service on a locked down IIS box
- Access secured Web Services using integrated windows authentication from Angular app on different server
- $.get() and $.post() in MVC app works fine in local Cassini webserver but when published into IIS 7.5 it doesn't work anymore
- Code runs on development server but not on IIS
- Hosting WCF service on IIS7.5, receiving 404.0 error
- IIS 7.5 app pool stops on first request to web page
- "Unable to find the requested .Net Framework Data Provider", MySQL. tried using odbc too
- How to display the physical path of a web application using appcmd.exe?
- Why can't I access 'Advanced Settings' on an IIS website with only a net.tcp binding?
- Is there anyway to skip app domain recycle during App_Code changes?
- OData $batch endpoint not found when hosted in IIS
- How do I change the Localization settings for domain accounts being used by IIS Application Pools
Related Questions in PROCESS-MONITOR
- "An error occurred opening snapshot" Process Monitor
- Sysinternals Process Monitor (ProcMon): Using wildcards on filter
- Sysinternals Process Monitor (ProcMon): Working with Time of Day Filter
- What happens to the file with colon in the name?
- TFS 2018 Server Web Services keeps shutting down and restarting every minute or so with message "BinDirChangeOrDirectoryRename"
- Hide ProcessMonitor from ThemIda
- How to control procmon through python?
- Procmon command line does not save filtered output
- Visual studio has gone crazy trying to create files
- How to install Sensu client without installing Sensu server?
- How to find which process deleted my file in Windows
- Process Explorer & Process Monitor: discrepancy in report of written bytes
- How to build an application that displays more stack information in Process Monitor?
- How to use Process Monitor to determine which DLL is causing a BadImageFormatException
- Prefetching information in windows XP fails and abort the launching of my application
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I had major issues with this a few years back and our case it was definitely related to AV scanning and locking the folders.
After applying a few exclusions, it stopped completely.