Failed to start monitoring changes to '*\bin' because the network BIOS command limit has been reached

Topics: Troubleshooting
Sep 10, 2011 at 3:09 PM

Getting the following error on my live shared hosting site

When I refresh it just changes to a different ".\bin" folder.

Failed to start monitoring changes to 'D:\Hosting\8341745\html\bmst\Modules\Orchard.Tags\bin' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886. Hosting on a UNC share is not supported for the Windows XP Platform.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Failed to start monitoring changes to 'D:\Hosting\8341745\html\bmst\Modules\Orchard.Tags\bin' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886. Hosting on a UNC share is not supported for the Windows XP Platform.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[HttpException (0x80070038): Failed to start monitoring changes to 'D:\Hosting\8341745\html\bmst\Modules\Orchard.Tags\bin' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886. Hosting on a UNC share is not supported for the Windows XP Platform.]
   System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter) +8861853
   System.Web.DirectoryMonitor.StartMonitoring() +41
   System.Web.DirectoryMonitor.StartMonitoringFileWithAssert(String file, FileChangeEventHandler callback, String alias) +159
   System.Web.FileChangesMonitor.StartMonitoringPath(String alias, FileChangeEventHandler callback, FileAttributesData& fad) +852
   System.Web.Caching.CacheDependency.Init(Boolean isPublic, String[] filenamesArg, String[] cachekeysArg, CacheDependency dependency, DateTime utcStart) +2475
   System.Web.Caching.CacheDependency..ctor(String filename, DateTime start) +109
   System.Web.Caching.CacheDependency..ctor(String filename) +54
   System.Web.Hosting.MapPathBasedVirtualPathProvider.CacheLookupOrInsert(String virtualPath, Boolean isFile) +268
   System.Web.Hosting.MapPathBasedVirtualPathProvider.FileExists(String virtualPath) +6
   Orchard.FileSystems.Dependencies.WebFormVirtualPathProvider.FileExists(String virtualPath) in WebFormsExtensionsVirtualPathProvider.cs:44
   System.Web.Hosting.VirtualPathProvider.FileExists(String virtualPath) +25
   Orchard.FileSystems.Dependencies.WebFormVirtualPathProvider.FileExists(String virtualPath) in WebFormsExtensionsVirtualPathProvider.cs:44
   System.Web.Hosting.VirtualPathProvider.FileExists(String virtualPath) +25
   Orchard.FileSystems.VirtualPath.DefaultVirtualPathProvider.FileExists(String virtualPath) in DefaultVirtualPathProvider.cs:145
   Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.GetAssemblyPath(ExtensionDescriptor descriptor) in PrecompiledExtensionLoader.cs:238
   Orchard.Environment.Extensions.Loaders.PrecompiledExtensionLoader.Probe(ExtensionDescriptor descriptor) in PrecompiledExtensionLoader.cs:184
   Orchard.Environment.Extensions.<>c__DisplayClass40.<CreateLoadingContext>b__17(IExtensionLoader loader) in ExtensionLoaderCoordinator.cs:201
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +151
   System.Linq.WhereEnumerableIterator`1.MoveNext() +154
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +217
   System.Linq.Enumerable.ToArray(IEnumerable`1 source) +78
   Orchard.Environment.Extensions.ExtensionLoaderCoordinator.<CreateLoadingContext>b__16(ExtensionDescriptor extension) in ExtensionLoaderCoordinator.cs:201
   Orchard.Caching.<>c__DisplayClass7.<RunInParallel>b__1() in DefaultParallelCacheContext.cs:24
   Orchard.Caching.TaskWithAcquireContext`1.Execute() in DefaultParallelCacheContext.cs:71
   Orchard.Caching.DefaultParallelCacheContext.<RunInParallel>b__2(ITask`1 task) in DefaultParallelCacheContext.cs:30
   System.Linq.Parallel.SelectQueryOperatorResults.GetElement(Int32 index) +32
   System.Linq.Parallel.ArrayMergeHelper`1.ToArrayElement(Int32 index) +22
   System.Linq.Parallel.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey) +83
   System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork() +45
   System.Linq.Parallel.SpoolingTaskBase.Work() +184
   System.Linq.Parallel.QueryTask.BaseWork(Object unused) +65
   System.Linq.Parallel.QueryTask.<.cctor>b__0(Object o) +41
   System.Threading.Tasks.Task.InnerInvoke() +67
   System.Threading.Tasks.Task.Execute() +66

[AggregateException: One or more errors occurred.]
   System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose) +276
   System.Linq.Parallel.SpoolingTask.SpoolForAll(QueryTaskGroupState groupState, PartitionedStream`2 partitions, TaskScheduler taskScheduler) +130
   System.Linq.Parallel.DefaultMergeHelper`2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute() +80
   System.Linq.Parallel.MergeExecutor`1.Execute(PartitionedStream`2 partitions, Boolean ignoreOutput, ParallelMergeOptions options, TaskScheduler taskScheduler, Boolean isOrdered, CancellationState cancellationState, Int32 queryId) +310
   System.Linq.Parallel.PartitionedStreamMerger`1.Receive(PartitionedStream`2 partitionedStream) +34
   System.Linq.Parallel.ForAllOperator`1.WrapPartitionedStream(PartitionedStream`2 inputStream, IPartitionedStreamRecipient`1 recipient, Boolean preferStriping, QuerySettings settings) +232
   System.Linq.Parallel.ChildResultsRecipient.Receive(PartitionedStream`2 inputStream) +77
   System.Linq.Parallel.ScanEnumerableQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient) +77
   System.Linq.Parallel.UnaryQueryOperatorResults.GivePartitionedStream(IPartitionedStreamRecipient`1 recipient) +390
   System.Linq.Parallel.QueryOperator`1.GetOpenedEnumerator(Nullable`1 mergeOptions, Boolean suppressOrder, Boolean forEffect, QuerySettings querySettings) +379
   System.Linq.Parallel.ForAllOperator`1.RunSynchronously() +215
   System.Linq.ParallelEnumerable.ForAll(ParallelQuery`1 source, Action`1 action) +242
   System.Linq.Parallel.ArrayMergeHelper`1.Execute() +388
   System.Linq.Parallel.QueryOperator`1.ExecuteAndGetResultsAsArray() +615
   System.Linq.ParallelEnumerable.ToArray(ParallelQuery`1 source) +71
   Orchard.Caching.DefaultParallelCacheContext.RunInParallel(IEnumerable`1 source, Func`2 selector) in DefaultParallelCacheContext.cs:27
   Orchard.Environment.Extensions.ExtensionLoaderCoordinator.CreateLoadingContext() in ExtensionLoaderCoordinator.cs:199
   Orchard.Environment.Extensions.ExtensionLoaderCoordinator.SetupExtensions() in ExtensionLoaderCoordinator.cs:55
   Orchard.Environment.DefaultOrchardHost.BuildCurrent() in DefaultOrchardHost.cs:95
   Orchard.Environment.DefaultOrchardHost.Orchard.Environment.IOrchardHost.Initialize() in DefaultOrchardHost.cs:64
   Orchard.Web.MvcApplication.HostInitialization(HttpApplication application) in Global.asax.cs:48
   Orchard.WarmupStarter.<>c__DisplayClass3.<LaunchStartupThread>b__2(Object state) in Starter.cs:89

[ApplicationException: Error during application initialization]
   Orchard.WarmupStarter.Starter`1.OnBeginRequest(HttpApplication application) in Starter.cs:63
   Orchard.Web.MvcApplication.Application_BeginRequest() in Global.asax.cs:29

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +0
   System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner) +72
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +335
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +28
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
   System.Web.Util.ArglessEventHandlerProxy.Callback(Object sender, EventArgs e) +57
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Coordinator
Sep 10, 2011 at 5:31 PM

Orchard is creating some file system watcher in order to detect changes and recompile on the fly. But this is not supported on shared drives, which your hoster seems to use. Maybe just commenting the Build Provider line in the web.config might prevent them to be created. Note that then you won’t be able to download modules dynamically, and that you must compile everything before deploying.

Sep 10, 2011 at 6:16 PM

Thanks, it seems to have started working again without needing to comment out build provider.

Sep 11, 2011 at 11:58 AM

Seems the issue is intermittent with GoDaddy.

Going to try commenting out the build provider and compile everything before deploying.