异常详细信息: System.Data.SqlClient.SqlException: 由于存储过程改变了目标表的架构,INSERT EXEC 失败。源错误:
行 59: public void RunProc(string procName, SqlParameter[] prams, out SqlDataReader dataReader) {
行 60: SqlCommand cmd = CreateCommand(procName, prams);
行 61: dataReader = cmd.ExecuteReader(System.Data.CommandBehavior.CloseConnection);
行 62: //return (int)cmd.Parameters["ReturnValue"].Value;
行 63: }
源文件: D:\Inetpub\wwwroot\UDS\Components\Database.cs 行: 61 堆栈跟踪:
[SqlException: 由于存储过程改变了目标表的架构,INSERT EXEC 失败。]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
UDS.Components.Database.RunProc(String procName, SqlParameter[] prams, SqlDataReader& dataReader) in D:\Inetpub\wwwroot\UDS\Components\Database.cs:61
UDS.Components.Desktop.GetMyDocument(String UserName, Int32 RightCode) in D:\Inetpub\wwwroot\UDS\Components\Desktop.cs:39[Exception: 读取我的文档出错!]
UDS.Components.Desktop.GetMyDocument(String UserName, Int32 RightCode) in D:\Inetpub\wwwroot\UDS\Components\Desktop.cs:46
UDS.SubModule.UnitiveDocument.Desktop.Bangding() in D:\Inetpub\wwwroot\UDS\SubModule\UnitiveDocument\Desktop.aspx.cs:236
UDS.SubModule.UnitiveDocument.Desktop.Page_Load(Object sender, EventArgs e) in D:\Inetpub\wwwroot\UDS\SubModule\UnitiveDocument\Desktop.aspx.cs:40
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain() 请高手指点
用ADMIN
密码1
一切OK
TYPE 也OK
是不是本身的错误
没有权限的问题
就会出现此问题
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
行 59: public void RunProc(string procName, SqlParameter[] prams, out SqlDataReader dataReader) {
行 60: SqlCommand cmd = CreateCommand(procName, prams);
行 61: dataReader = cmd.ExecuteReader(System.Data.CommandBehavior.CloseConnection);
行 62: //return (int)cmd.Parameters["ReturnValue"].Value;
行 63: }
源文件: D:\Inetpub\wwwroot\UDS\Components\Database.cs 行: 61 堆栈跟踪:
[SqlException: 由于存储过程改变了目标表的架构,INSERT EXEC 失败。]
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
UDS.Components.Database.RunProc(String procName, SqlParameter[] prams, SqlDataReader& dataReader) in D:\Inetpub\wwwroot\UDS\Components\Database.cs:61
UDS.Components.Desktop.GetMyDocument(String UserName, Int32 RightCode) in D:\Inetpub\wwwroot\UDS\Components\Desktop.cs:39[Exception: 读取我的文档出错!]
UDS.Components.Desktop.GetMyDocument(String UserName, Int32 RightCode) in D:\Inetpub\wwwroot\UDS\Components\Desktop.cs:46
UDS.SubModule.UnitiveDocument.Desktop.Bangding() in D:\Inetpub\wwwroot\UDS\SubModule\UnitiveDocument\Desktop.aspx.cs:236
UDS.SubModule.UnitiveDocument.Desktop.Page_Load(Object sender, EventArgs e) in D:\Inetpub\wwwroot\UDS\SubModule\UnitiveDocument\Desktop.aspx.cs:40
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain() 请高手指点
用ADMIN
密码1
一切OK
TYPE 也OK
是不是本身的错误
没有权限的问题
就会出现此问题
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573
解决方案 »
- 博客功能
- 分页Repeater 几种方式导出数据到excel..
- repeater嵌套做成横向导航菜单
- 帮个忙解释下这个JS代码
- 求助!!Repeater自定义显示数据!!!!
- EXT.NET gridPanel导出EXCEL的问题
- 求一算法
- 关于UserControl的问题
- 小弟求救:visiuao studio.net已检测到指定的WEB服务器运行的不是ASP.NET 1.1版本.您将无法运行ASP.NET WEB应用程序
- 10秒钟在你的页面加入天气预报,觉的好的顶下帖子
- 当前有两个无关的窗口,如何在其中一个窗口关闭另一个窗口
- 把winform中的放在web中,然后怎么给这个东西传些参数,调用其中的事件.
存储过程就知道了,用户验证用的是两个数据表