2012-10-21 124 views
5

我剛剛根據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

回答

4

上用Skype聊天一些調試與Ayende後,他只提到了這一點:

[12年10月21日3:10 :上午31] Oren Eini:當在IIS中運行...你是否啓用 Windows驗證?你需要它來創建一個新的數據庫。

事實證明,Windows身份驗證甚至沒有安裝在我的機器上...我試圖在新的Windows 8安裝。所以我不得不去和install the Windows auth feature。然後我去了IIS並啓用Windows驗證了RavenDB網站:

enter image description here

現在通過創建工作室烏鴉只是工作一個新的數據庫! :)

Ayende始終在幫助我們充分利用RavenDB。來自他的部分的優秀支持。

相關問題