2010-11-17 26 views
1

當我嘗試在我們用於客戶端的項目管理系統中創建新用戶時出現以下錯誤消息,輸入所有相應的信息,然後單擊創建它引發此錯誤添加用戶時出錯Asp.net會員供應商

下面的消息可能在診斷問題有所幫助:。異常已被調用的目標拋出在System.RuntimeMethodHandle._InvokeMethodFast(對象目標,對象[]參數,SignatureStruct & SIG,在System.RuntimeMethodHandle.InvokeMethodFast(對象目標,對象[]參數,簽名sig,MethodAttributes methodAttributes,RuntimeTypeHandle typeOwner)System.Reflection.RuntimeMethodInfo.Invoke(對象上的MethodAttributes methodAttributes,RuntimeTypeHandle typeOwner)在System.Web上的System.Reflection.RuntimeMethodInfo.Invoke(Object obj,BindingFlags invokeAttr,Binder binder,Object []參數,CultureInfo culture)上的obj,BindingFlags invokeAttr,Binder binder,Object []參數,CultureInfo culture,Boolean skipVisibilityChecks) System.Web.Administration.WebAdminMembershipProvider.CreateUser(String username,String password,String email,String passwordQuestion,String passwordAnswer,Boolean isApproved,Object providerUserKey)上的管理。 ,MembershipCreateStatus & status)at System.Web.UI.WebControls.CreateUserWizard.AttemptCreateUser()at System.Web.UI.WebControls.CreateUserWizard.OnNextButtonClick(WizardNavigationEventArgs e)at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source ,EventArgs e)在System.Web.UI.WebControls.CreateUserWizard.OnBubbleEvent(Object s在System.Web.UI的System.Web.UI.Control.RaiseBubbleEvent(Object source,EventArgs args)上的System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source,EventArgs args)上的ource,EventArgs e)。 WebControls.Button.OnCommand(CommandEventArgs e)在System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)在System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,字符串eventArgument)在System.Web.UI.Page.RaisePostBackEvent(NameValueCollection中POSTDATA)在System.Web.UI.Page.ProcessRequestMain(布爾includeStagesBeforeAsyncPoint,布爾includeStagesAfterAsyncPoint)

回答

2

是什麼原因導致這個錯誤是硬盤驅動器,所有的數據庫都存儲已滿。即使剩下1kb,它也會發布錯誤。要解決此問題,請安裝更大的硬盤驅動器,或清除硬盤驅動器中的任何不必要的文件並釋放空間。服務器錯誤或asp.net錯誤,您可能會看到這是9002錯誤。當硬盤驅動器已滿時,數據庫日誌文件不能被寫入太多,當數據庫執行任何操作時,插入,更新等都會寫入日誌文件。如果沒有剩餘空間,則日誌文件無法展開,因此會引發錯誤。我感謝你的幫助chriskent。順便說一下,如果有人想知道我們沒有餘地,甚至沒有剩餘1kb的空間,我們的可用空間爲0kb。希望這可以幫助。

+0

嘎,我討厭那樣的事情。 – Greg 2010-11-18 15:13:01

+1

也截斷數據庫日誌文件將解決這個問題,我們有一個7MB的數據庫與135GB的日誌文件,從來沒有像它假設的截斷。 – 2010-11-18 18:04:19

1

你的web.config中是否有機器關鍵元素?確保這是專門設置的(不自動生成)。檢查此線程的詳細信息:

http://forums.asp.net/t/1213872.aspx

+0

實際上,我發現我們有1TB驅動器的答案,即存儲我們所有的數據庫已滿。 – 2010-11-17 16:45:22

+1

它沒有空間增加日誌文件,所以它會拋出一個錯誤,因爲如果它不能寫入日誌文件,則不允許訪問。 – 2010-11-17 16:46:18

+0

很高興你知道了!感謝您發佈您的答案。 – theChrisKent 2010-11-17 16:47:30