
tws97
-
个人空间
相册
- 组别:新手上路
- 性别:
- 来自:
- 积分:1
- 帖子:1
- 注册:
2007-11-25
|
救我“无法从指定的数据表中删除
出现下面的问题,如何解决: Server Error in '/' Application. 无法从指定的数据表中删除。 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.Data.OleDb.OleDbException: 无法从指定的数据表中删除。
Source Error:
| [No relevant source lines] |
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f7273113\5efb8f04\App_Web_x_xkekm9.3.cs Line: 0
Stack Trace:
[OleDbException (0x80004005): 无法从指定的数据表中删除。] System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +267 System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +192 System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +48 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +106 System.Data.OleDb.OleDbCommand.ExecuteNonQuery() +108 Discuz.Common.Database.ExecuteNonQuery(OleDbConnection connection, CommandType commandType, String commandText, OleDbParameter[] commandParameters) in E:\Source Code\Forum\Database.cs:401 Discuz.Common.Database.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, OleDbParameter[] commandParameters) in E:\Source Code\Forum\Database.cs:296 Discuz.Common.Database.ExecuteNonQuery(CommandType commandType, String commandText) in E:\Source Code\Forum\Database.cs:225 Discuz.Forum.OnlineUserFactory.Add(OnlineUserInfo __onlineuserinfo, Int32 timeout) in E:\Source Code\Forum\OnlineUserFactory.cs:469 Discuz.Forum.OnlineUserFactory.CreateGuestUser(Int32 timeout) in E:\Source Code\Forum\OnlineUserFactory.cs:551 Discuz.Forum.OnlineUserFactory.UpdateInfo(String passwordkey, Int32 timeout, Int32 uid, String passwd) in E:\Source Code\Forum\OnlineUserFactory.cs:695 Discuz.Forum.OnlineUserFactory.UpdateInfo(String passwordkey, Int32 timeout) in E:\Source Code\Forum\OnlineUserFactory.cs:715 Discuz.Forum.BasePage..ctor() in E:\Source Code\Forum\BasePage.cs:282 Discuz.ForumPage.index..ctor() in E:\Source Code\aspx\1\index.aspx.cs:26 ASP.bbs_aspx_1_index_aspx..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f7273113\5efb8f04\App_Web_x_xkekm9.3.cs [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66 System.Web.UI.PageParser.GetCompiledPageInstance(VirtualPath virtualPath, String inputFile, HttpContext context) +252 System.Web.UI.PageParser.GetCompiledPageInstance(String virtualPath, String inputFile, HttpContext context) +116 URLRewriter.RewriterFactoryHandler.GetHandler(HttpContext context, String requestType, String url, String pathTranslated) +348 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +175 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155 |
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
|