Add Application_Start in Global
For example:
Void Application_Start (object sender, EventArgs e)
{
// Code that runs when the application starts
System. reflection. propertyInfo p = typeof (System. web. httpRuntime ). getProperty ("FileChangesMonitor", System. reflection. bindingFlags. nonPublic | System. reflection. bindingFlags. public | System. reflection. bindingFlags. static );
Object o = p. GetValue (null, null );
System. reflection. fieldInfo f = o. getType (). getField ("_ dirMonSubdirs", System. reflection. bindingFlags. instance | System. reflection. bindingFlags. nonPublic | System. reflection. bindingFlags. ignoreCase );
Object monitor = f. GetValue (o );
System. Reflection. MethodInfo m = monitor. GetType (). GetMethod ("StopMonitoring", System. Reflection. BindingFlags. Instance | System. Reflection. BindingFlags. NonPublic );
M. Invoke (monitor, new object [] {});
}