livingwater - 2008-6-3 2:30:00
發了約250帖子後竟然登錄論壇時出現以下錯誤訊息,但空間仍可使用,請前輩們幫忙解決,感激不盡
Server Error in '/' Application.
--------------------------------------------------------------------------------
Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds.]
System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) +0
System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length) +23
Discuz.Common.Utils.GetSubString(String p_SrcString, Int32 p_StartIndex, Int32 p_Length, String p_TailString) +759
Discuz.Common.Utils.GetSubString(String p_SrcString, Int32 p_Length, String p_TailString) +39
Discuz.Forum.PrivateMessages.GetPrivateMessageCollectionForIndex(Int32 userid, Int32 pagesize, Int32 pageindex, Int32 inttype) +98
Discuz.ForumPage.forumindex.ShowPage() +346
Discuz.Web.UI.Pages.BasePage..ctor() +3958
Discuz.ForumPage.forumindex..ctor() +55
ASP.aspx_13_forumindex_aspx..ctor() +10
__ASP.FastObjectFactory_app_web_psdsk7uq.Create_ASP_aspx_13_forumindex_aspx() +20
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +115
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161
戏水 - 2008-6-3 9:51:00
您提供的这些信息还不足以帮我们判断具体的问题所在 。
可否留下您论坛地址 呢先?
livingwater - 2008-6-4 1:13:00
這是我們的網址forum.familykeepers.org 謝謝戲水及各位大大的幫忙!
戏水 - 2008-6-5 10:16:00
我试验了一下 ,貌似新注册的用户是登录没有问题的 。 再观察一下具体的情况吧。
userid - 2008-6-5 13:22:00
:_onion7: 有问题,还是有问题,支持一下,解决问题
livingwater - 2008-6-7 1:24:00
原帖由 戏水 于 2008-6-5 10:16:00 发表
我试验了一下 ,貌似新注册的用户是登录没有问题的 。 再观察一下具体的情况吧。
一般帳號目前都正常,問題是原始的管理員帳號用到一個程度後才遇到這樣無法登錄的問題,只得另外重新開了一個新的管理員帳號運作!
請協助,謝謝