2013-05-27 76 views
1
http://localhost:72/Home/Support?_subject=&_category=&_reportedDateFrom=09%2F05%2F2013&_reportedDateTo=09%2F05%2F2013&_solvedDateFrom=&_solvedDateTo=&_status= 

以上是预设置IIS网站..日期过滤未正确过滤。IIS和Visual Studio有不同的结果

http://localhost:54550/Home/Support?_subject=&_category=&_reportedDateFrom=09%2F05%2F2013&_reportedDateTo=09%2F05%2F2013&_solvedDateFrom=&_solvedDateTo=&_status= 

以上是visual studio的调试网址,只是端口号不同而且工作完美。

我不知道发生了什么事。

+0

这两个位置有两种不同版本的程序可能存在吗? – Rots

+0

是这个asp.net吗? MVC? web.api? –

回答

1

要调试这个我会先从以下内容:

  • 做一个干净和解决方案的重建。

  • 确保您没有运行该应用程序的两个副本。

  • 确保该应用程序正确托管在IIS中。 (当您右键单击并从IIS管理器中浏览网站时,该应用将显示)

  • 将调试器附加到在IIS下运行的进程以检查查询参数。

This article是有点老,但它需要遵循附加到IIS检查过程的一般程序。