蓝天下论坛出现应用程序中的服务器错误公告
蓝天下论坛出现服务器访问错误,所有贴子都只能显示第一页,不能查看第二页及其以后的内容,给您带来阅读的不便,敬请谅解,现在也没有一个合适的办法予以解决,但正在寻求解决问题的途径中。
出现的错误如下,若有朋友能够帮忙解决,请与论坛显示的QQ联系,谢谢!
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
在关键字 'AS' 附近有语法错误。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Data.SqlClient.SqlException: 在关键字 'AS' 附近有语法错误。
源错误:
[没有相关的源行]
源文件: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f2cc858f\eb74aa80\App_Web_ohtirdwb.6.cs 行: 0
堆栈跟踪:
[SqlException (0x80131904): 在关键字 'AS' 附近有语法错误。]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857434
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +735046
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
System.Data.SqlClient.SqlDataReader.get_MetaData() +62
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12
System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) +7
Discuz.Data.DbHelper.ExecuteReader(DbConnection connection, DbTransaction transaction, CommandType commandType, String commandText, DbParameter[] commandParameters, DbConnectionOwnership connectionOwnership) in E:\source\dnt_25_source\25_release\Discuz.Data\DbHelper.cs:3751
Discuz.Data.DbHelper.ExecuteReader(CommandType commandType, String commandText, DbParameter[] commandParameters) in E:\source\dnt_25_source\25_release\Discuz.Data\DbHelper.cs:3799
Discuz.Data.SqlServer.DataProvider.GetPostList(PostpramsInfo _postpramsinfo, String posttablename) in E:\source\dnt_25_source\25_release\Discuz.Data.SqlServer\PostManage.cs:1620
Discuz.Forum.Posts.GetPostList(PostpramsInfo postpramsinfo, List`1& attcoll, Boolean ismoder) in E:\source\dnt_25_source\25_release\Discuz.Forum\Posts.cs:1544
Discuz.Web.showtopic.ShowPage() +5579
Discuz.Forum.PageBase..ctor() in E:\source\dnt_25_source\25_release\Discuz.Forum\PageBase.cs:658
Discuz.Web.showtopic..ctor() +208
ASP.aspx_1_showtopic_aspx..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f2cc858f\eb74aa80\App_Web_ohtirdwb.6.cs:0
__ASP.FastObjectFactory_app_web_ohtirdwb.Create_ASP_aspx_1_showtopic_aspx() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f2cc858f\eb74aa80\App_Web_ohtirdwb.22.cs:0
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() +120
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42