每当打开或创建网站时,Webmatrix都会崩溃

时间:2013-11-20 06:13:17

标签: webmatrix

几天前,我试图从WebMatrix打开我的Orchards MVC网站,它崩溃了。目前我尝试打开的任何网站,或者即使我尝试创建一个空网站,也会导致WebMatrix停止工作。我得到Windows错误对话框告诉我“Web矩阵已停止工作”。我完全不知道是什么导致了这一点。我已经在iis.net论坛上发帖(http://forums.iis.net/post/2061458.aspx)但没有收到回复。

我重新启动,卸载并树脂化了WebMatrix和IIS 8 express。

事件查看器中有两个错误。详情如下。无论如何,我会非常感激,因为这使我无法在我的网站上工作。

提前致谢。

第一次错误

Application: WebMatrix.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpManager.GetMatchedContent(Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpProviderLevelContent, Microsoft.WebMatrix.Core.DynamicHelp.IApplicationStateChangedContext)
at Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpManager+HelpContent.<GetContent>b__22(Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpProviderLevelContent)
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Linq.Enumerable+WhereEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Linq.Enumerable+<SelectManyIterator>d__14`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Collections.Generic.KeyValuePair`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Linq.Lookup`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Create[[System.Collections.Generic.KeyValuePair`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.__Canon,System.__Canon>>, System.Func`2<System.Collections.Generic.KeyValuePair`2<System.__Canon,System.__Canon>,System.__Canon>, System.Func`2<System.Collections.Generic.KeyValuePair`2<System.__Canon,System.__Canon>,System.__Canon>, System.Collections.Generic.IEqualityComparer`1<System.__Canon>)
at System.Linq.GroupedEnumerable`3[[System.Collections.Generic.KeyValuePair`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetEnumerator()
at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Linq.Buffer`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(System.Collections.Generic.IEnumerable`1<System.__Canon>)
at System.Linq.Enumerable.ToArray[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>)
at Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpManager+HelpContent.GetContent(System.Collections.Generic.IEnumerable`1<Microsoft.WebMatrix.Core.DynamicHelp.IDynamicHelpContentProvider>)
at Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpManager+<GetHelpHistoryEnumerator>d__1b.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>, System.Func`2<System.__Canon,Boolean>)
at Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpManager.get_LatestHelp()
at Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpManager.RaiseLatestHelpContentUpdated()
at Microsoft.WebMatrix.Core.DynamicHelp.DynamicHelpManager.OnApplicationStateChanged(System.Object, Microsoft.WebMatrix.Core.DynamicHelp.ApplicationStateChangedEventArgs)
at Microsoft.WebMatrix.Core.DynamicHelp.ApplicationStateWhenInputIdleNotifier.<.ctor>b__0()
at Microsoft.WebMatrix.Utility.SingletonBackgroundAction+<>c__DisplayClass2.<.ctor>b__0(System.Object)
at Microsoft.WebMatrix.Utility.SingletonBackgroundAction`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].RunAction(System.__Canon)
at Microsoft.WebMatrix.Utility.SingletonBackgroundAction`1+<>c__DisplayClass3[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<Schedule>b__1(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

第二次错误

Faulting application name: WebMatrix.exe, version: 7.1.1932.0, time stamp: 0x52589c06
Faulting module name: Microsoft.WebMatrix.Core.ni.dll, version: 7.1.1932.0, time stamp: 0x52589c13
Exception code: 0xc0000005
Fault offset: 0x005e9398
Faulting process id: 0x2318
Faulting application start time: 0x01cedff7bbec8f10
Faulting application path: C:\Program Files (x86)\Microsoft WebMatrix\WebMatrix.exe
Faulting module path: C:\Windows\assembly\NativeImages_v4.0.30319_32\Microsoft.W38826ba1#\89265eccf2f3657048b6111d09c73386\Microsoft.WebMatrix.Core.ni.dll
Report Id: fd0ed1bd-4bea-11e3-bec0-98fc11e3977e
Faulting package full name:

7 个答案:

答案 0 :(得分:25)

我没有卸载WebMatrix 3.我刚刚删除了这个文件夹及其内容。

C:\ Users \用户your_username \应用程序数据\本地\微软\ WebMatrix的

答案 1 :(得分:1)

卸载Webmatrix3并安装Webmatrix2,这解决了我的问题

答案 2 :(得分:0)

我有同样的问题。我想问题是由安装的php组件引起的。无论如何,以下步骤解决了我的问题。

1) Remove Webmatrix 3
2) Delete C:\Users\your_username\AppData\Local\Microsoft\WebMatrix
3) Reinstall Webmatrix 3

答案 3 :(得分:0)

我遇到了同样的问题。要解决它:

  1. 卸载Web Matrix
  2. 备份我的网站目录
  3. 在C:\上搜索WebMatrix并删除包括DLL
  4. 在内的所有内容
  5. 重新安装WebMatrix

答案 4 :(得分:0)

即使我尝试使用webmatrix3打开我的网站,创建一个空网站也会导致WebMatrix停止工作。

我的解决方案

1。)删除Webmatrix 3 2.)删除C:\ Users \ your_username \ AppData \ Local \ Microsoft \ WebMatrix
3.)重新安装Webmatrix 3

答案 5 :(得分:0)

我没有卸载webmatrix。只是删除上面的文件夹工作。

删除C:\ Users \ your_username \ AppData \ Local \ Microsoft \ WebMatrix

令人难以置信的是,它仍然是一个问题?多少年后......?

答案 6 :(得分:0)

卸载Webmatrix 3

删除C:\ Users \ your_username \ AppData \ Local \ Microsoft \ WebMatrix

安装的webmatrix 2适用于我的网站