部署后代码不运行: [英] code not run after deployed:

查看:112
本文介绍了部署后代码不运行:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用存储过程获取数据并绑定到gridview它在本地运行良好....在服务器上部署站点然后记录没有获取。我不能告诉我怎么可能?我的参数传递出错或为什么存储过程没有如果调用那么为什么不在网格视图中显示?

我使用asp.net框架工作4 vs10 ...是否有在服务器上调试的过程?

using stored procedure fetch data and bind to gridview it run fine on local....After deploy site on server then record not get fetched.I cant undaerstand how it possible?is my parameter passing get wrong or why stored procedure not call?if call then why not shown in grid view?
I use asp.net frame work 4 vs10...is there process to debugg on server?

推荐答案

首先要做的是远程查看错误: http:// technet .microsoft.com / zh-CN / library / bb684665.aspx [ ^ ] - 这将告诉你你得到了什么(如果有的话)错误信息。



但我的第一个猜测是:您是否将存储过程添加到生产SQL服务器实例上的新数据库中?因为如果你没有......
The first thing to do is enable remote viewing of errors: http://technet.microsoft.com/en-us/library/bb684665.aspx[^] - that will tell you what (if any) error message you are getting.

But my first guess would be: did you add the stored procedure to the new database on the production SQL server instance? Because if you didn't...


这篇关于部署后代码不运行:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆