在IIS网站上不工作查询 [英] On IIS website is not Working on query

查看:68
本文介绍了在IIS网站上不工作查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在IIS服务器上发布了我的网站。我成功登录但是当我试图从服务器启动更新查询时没有更新并且它既没有显示任何结果也没有任何错误。我在sql-server上有我的数据库2008 r2。





请帮助解决此问题

解决方案

有很多方法可以跟踪应用程序内部发生的情况。

请将您的事件和数据记录在文件或数据库中。



在代码中放置 Try Catch 阻止来处理异常。记录这些例外。



您的问题可能有多种原因。
可能是数据库连接问题或更新查询错误,错字错误等等。


一旦你记录了一些关于你的应用程序进度的信息,你就会得到关于这个问题的提示。

然后跟踪和解决意志更容易。



说这一切,我强烈建议您点击改善问题链接,将您的代码放在这里供参考。

在代码中使用Try Catch Block来处理异常。这将有助于你更好......


I have publish my website on IIS server .I did successfull login but when i am trying to fire update query from server recored are not updating and also it's neither showing any result nor any errors .I have my database on sql-server 2008 r2.


Please help how to resolve this issue

解决方案

There are many ways to track what is happening inside your App.
Please log your events and data either in files or database.

Put Try Catch Block in your code to handle the Exceptions. Log these exceptions.

There may be multiple reasons to your problem.
It may be database connection issue or update query error, typo mistakes etc.

Once you log some info about your progress of Application, you will get hint about the issue.
Then tracking and resolving will be easier.

Saying all this, I strongly recommend to put your code here for reference by clicking on Improve question link.


Use Try Catch Block in your code to handle the Exceptions.This will helps u better...


这篇关于在IIS网站上不工作查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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