我剛剛根據Ayende's announcement下載了RavenDB#2127的新不穩定版本。RavenDB build#2127客戶端異常:嘗試創建新數據庫時出現[Argument_StreamNotReadable]
我想測試它在當前正在使用內部版本#888的現有應用程序上執行的速度。
RavenDB是deployed as an IIS application。
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問題跟蹤網站上打開了一個錯誤報告。如果你想追隨它,這裏的鏈接:
http://issues.hibernatingrhinos.com/issue/RavenDB-636