网站后台出现程序错误:找不到存储过程 'WEB_PageView2'

hulinjun88 2015-09-22 10:38:14
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

找不到存储过程 'WEB_PageView2'。
说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: 找不到存储过程 'WEB_PageView2'。

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[SqlException (0x80131904): 找不到存储过程 'WEB_PageView2'。]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +2074174
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5066268
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33
System.Data.SqlClient.SqlDataReader.get_MetaData() +86
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +311
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +987
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +144
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +319
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +94
Game.Kernel.DbHelper.ExecuteDataset(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +325
Game.Kernel.DbHelper.ExecuteDataset(CommandType commandType, String commandText, DbParameter[] commandParameters) +286
Game.Kernel.DbHelper.RunProc(String procName, List`1 prams, DataSet& ds) +113
Game.Kernel.PagerManager.GetPagerSet2(PagerParameters pramsPager) +1148
Game.Kernel.BaseDataProvider.GetPagerSet2(PagerParameters prams) +57
Game.Data.TreasureDataProvider.GetGameScoreInfoList(Int32 pageIndex, Int32 pageSize, String condition, String orderby) +96
Game.Facade.TreasureFacade.GetGameScoreInfoList(Int32 pageIndex, Int32 pageSize, String condition, String orderby) +61
Game.Web.Module.AccountManager.AccountsGoldList.AccountsDataBind() +134
Game.Web.Module.AccountManager.AccountsGoldList.Page_Load(Object sender, EventArgs e) +67
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207




--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.1031

上面的问题出在哪呢
...全文
27899 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
avi9111 2017-04-13
  • 打赏
  • 举报
回复
X狐的棋牌后台,没源码, 数据库里好像是有这个存储过程了 但是还是出这个提示 有知道怎么解决的麻烦告诉一下
  • 打赏
  • 举报
回复
引用 4 楼 hulinjun88 的回复:
[quote=引用 2 楼 yupeigu 的回复:] 错误信息:找不到存储过程 'WEB_PageView2'。 说明你的数据库里 没有这个存储过程 'WEB_PageView2',你去数据库看看是不是名称写错了。
不知道怎么着啊。[/quote] 你在微软的客户端工具 ssms里登录后,用这个语句找;
select * from sys.sql_modules where definition like '%WEB_PageView2%'
hulinjun88 2015-09-24
  • 打赏
  • 举报
回复
引用 2 楼 yupeigu 的回复:
错误信息:找不到存储过程 'WEB_PageView2'。 说明你的数据库里 没有这个存储过程 'WEB_PageView2',你去数据库看看是不是名称写错了。
不知道怎么着啊。
  • 打赏
  • 举报
回复
错误信息:找不到存储过程 'WEB_PageView2'。 说明你的数据库里 没有这个存储过程 'WEB_PageView2',你去数据库看看是不是名称写错了。
spiritofdragon 2015-09-22
  • 打赏
  • 举报
回复
那就是找不到呗。 查看你连接串: 1、服务器名对不?(远程的ip啊,实例名啊) 2、数据库名对不?是否是最新的版本?测试名和生产名是否一样? 3、过程名WEB_PageView2对不?
仰望那天空 2015-09-22
  • 打赏
  • 举报
回复
引用 2 楼 yupeigu 的回复:
错误信息:找不到存储过程 'WEB_PageView2'。 说明你的数据库里 没有这个存储过程 'WEB_PageView2',你去数据库看看是不是名称写错了。
同意楼上!

22,209

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 疑难问题
社区管理员
  • 疑难问题社区
  • 尘觉
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧