Bizagi Web Application has ended! Change Notification for critical directories

4 Years Ago


When a project is migrated from one version to another, as end users work in their Work Portal they are constantly redirected to the Start page. This happens because the framework finds a change in the bin directory and restarts the application. In order to solve this issue, you can disable the changes control by adding a key in the registry.

Applies to

Bizagi .NET.


When the end users execute any action in their Work Portal, the application redirects them to the Start page.
The Administrator user identifies that the Application is constantly restarted and the Application Server Log Viewer records the following error:

Bizagi Web Application has ended!
Change Notification for critical directories.
bin dir change or directory rename
HostingEnvironment initiated shutdown
HostingEnvironment caused shutdown
 at System.Environment.get_StackTrace()
 at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal()....


The Framework finds changes in the bin directory and restarts the application.


First, validate that your server does not have viruses or another agent that can possibly change the bin directory. Review your Antivirus configuration and perform a general check on the server.

If the server is virus-free and there is no external agent making changes in the bin directory, perform a change in the Windows Registry of your server. To do this, follow the instructions below:

1. Take a backup of the Windows Registry:

1.1. Click the Start button, click Run, and type REGEDIT. Click OK.
1.2. In the Registry Editor, select the HKLM\Software\Microsoft\ASP.NET\ branch.
1.3. From the Registry menu, choose Export Registry File.
1.4. In the Save In list, select the folder where you want to save the backup.
1.5. In the File Name box, type a name for your backup file, such as "Options" or "Backup."
1.6. In the Export Range box, be sure that "Selected branch" is selected.
1.7. Click Save. The file is saved with a .reg extension.

2. Create the FCNMode key with type DWORD and value 1 in the branch HKLM\Software\Microsoft\ASP.NET\

2.1. Select the branch HKLM\Software\Microsoft\ASP.NET\.
2.2. Right-click on the entry and select New DWORD (32bit) value.
2.3. Put the name FCNMODE.
2.4. Right-click on the key FCNMODE and select Modify. 
2.5. In the Value data box, set 1.
2.6. Exit Registry Editor.


Last Modified:4 Years Ago
Last Modified By: AndresM
Level: Expert
Rated 4 stars based on 1 vote
Article has been viewed 9.1K times.