根据Ayende 的公告,我刚刚下载了 RavenDB #2127 的新不稳定版本。
我想测试它在当前使用 build #888 的现有应用程序上的执行速度。
RavenDB部署为 IIS 应用程序。
Web.config
有:
<add key="Raven/AnonymousAccess" value="Get"/>
我得到了一个禁止的例外。然后我将其更改为:
<add key="Raven/AnonymousAccess" value="All"/>
现在,在尝试使用 Raven Studio 创建新数据库时,我遇到了以下“可怕”异常。
如果您知道是什么原因造成的,请分享解决方案。
at Raven.Studio.Infrastructure.InvocationExtensions.Catch(Task parent, Func`2 func)
at Raven.Studio.Infrastructure.InvocationExtensions.Catch(Task parent, Action`1 action)
at Raven.Studio.Infrastructure.InvocationExtensions.Catch(Task parent)
at Raven.Studio.Infrastructure.Execute.OnTheUI(Action action)
at Raven.Studio.Infrastructure.InvocationExtensions.<>c__DisplayClass30.<Catch>b__2e(Task task)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Client side exception:
System.ArgumentException: [Argument_StreamNotReadable]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.10411.00&File=mscorlib.dll&Key=Argument_StreamNotReadable
at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean leaveOpen)
at Raven.Studio.Models.ApplicationModel.AddErrorNotification(Exception exception, String message, Object[] details)
at Raven.Studio.Infrastructure.InvocationExtensions.<>c__DisplayClass30.<>c__DisplayClass32.<Catch>b__2f()
at AsyncCtpThreadingExtensions.<>c__DisplayClass4.<InvokeAsync>b__3()
我还在 RavenDB 问题跟踪站点上打开了一个错误报告。如果你想关注它,这里是链接: