如何在Web服务器中调试托管Web应用程序?

如何在Web服务器中调试托管Web应用程序?

问题描述:

嗨先生,

告诉我在Web服务器中调试bosted Web应用程序的步骤。我开发了一个Web应用程序,它工作正常。但我收到错误

字符串未被识别为有效的日期时间格式。我想知道如何在Web服务器中调试托管的Web应用程序。请给我这个问题的解决方案。







[提示:我需要调试托管Web服务器中的Web应用程序]

Hi sir,
Tell me the steps to debug the bosted web application in web server. I developed one web application and it is working fine. But i am getting error
"String was not recognised as valid date time format". I want to know how to debug
the hosted web application in web server. Kindly give me the solution for this problem.



[Hint: I need to debug the hosted web application in web server]

尝试这个 [ ^ ]


您必须在部署到Web服务器之前调试应用程序或添加异常处理你的代码可以捕获错误。



代码中的某个地方,你正在尝试转换为DateTime格式。您的字符串是否为null或格式正确。
You have to debug your application before deployment to web server or add Exception handling in your code to catch errors.

Somewhere in your code, you are trying to conversion into DateTime format. Either your string is null or not in correct format.