简体   繁体   English

框架和SQL更新后,网站在Test Server上挂起

[英]Site Hangs on Test Server after Framework and SQL updates

This is an odd issue that we just can't quite figure out. 这是一个奇怪的问题,我们只是无法弄清楚。 On our test server we had an instance of SQL Express as well as SQL Server 2008 R2 running our test database. 在我们的测试服务器上,我们有一个SQL Express实例以及一个运行我们的测试数据库的SQL Server 2008 R2。 We added a “playground” database so we could start messing around with a rewrite. 我们添加了一个“游乐场”数据库,因此我们可以开始进行重写。 We agreed to go ahead and start working with SQL Server 2012 for the new app that will be a MVC4 with a mixture of EF5 and SPROCS (and FileTables). 我们同意继续为新应用程序使用SQL Server 2012,它将是具有EF5和SPROCS(以及FileTables)混合的MVC4。

We first pushed the MVC4 app (that is only UI at this point with a little EF in it for an Error Handler I wrote) on to the test sever and we had to upgrade the framework on the server to 4.5 to see it. 我们首先将MVC4应用程序(此时仅是UI,其中包含我编写的错误处理程序的EF)推到测试服务器,然后必须将服务器上的框架升级到4.5才能看到它。 Everything seemed to work. 一切似乎都正常。 So then I installed a new instance of SQL Server 2012, and also installed the service pack. 因此,我安装了SQL Server 2012的新实例,并安装了Service Pack。

For the odd part…we hooked up our old app (web forms) to the 2008R2 instance, and it just hanged at login, but then it would occasionally go through. 奇怪的是……我们将旧的应用程序(Web表单)连接到了2008R2实例,它只是在登录时挂起,但是偶尔会通过。 We tied the old app back to the SQL Server Express version, and still the same hang up. 我们将旧应用绑定到了SQL Server Express版本,并且仍然挂断了。 Ok, so there is a hang up somewhere, maybe on SQL, right? 好的,所以某个地方挂了电话,也许在SQL上,对吗? The gotcha is it ONLY hangs up in IE and Chrome on a Windows system. 棘手的是它只能在Windows系统上的IE和Chrome中挂断。 It works fine in firefox on windows. 它在Windows的Firefox中工作正常。 And it works fine in Chrome/Safari/Firefox on a mac. 而且它在Mac上的Chrome / Safari / Firefox中可以正常运行。 From time to time, I CAN log in on Chrome via windows, but a few minutes later if I try again, back to hanging. 有时,我可以通过Windows登录Chrome,但过了几分钟,如果我再试一次,又回到挂起状态。

Things we've tried since: Restarting the server, uninstalling 4.5 framework, checking logs (I don't see anything of concern), reinstalled 4.5, used Fiddler and then used chrome on a windows machine (and it flew straight through), made sure that our old app was still targeted for the 4.0 framework in IIS, and banged our heads on the keyboard. 此后我们一直尝试做的事情:重新启动服务器,卸载4.5框架,检查日志(我没有发现任何问题),重新安装4.5,使用Fiddler,然后在Windows机器上使用chrome(然后直飞),确保我们的旧应用仍然针对IIS中的4.0框架,并敲了敲键盘。

If anyone can shed some light on this, it would be much appreciated. 如果有人可以对此有所了解,将不胜感激。

After trial and error of tracing back what could be the problem, we uninstalled the 4.5 .Net Framework update and re-installed 4.0 and it all went back to normal. 经过反复尝试并追查可能是什么问题的错误之后,我们卸载了4.5 .Net Framework更新并重新安装了4.0,所有操作均恢复正常。 Although we can't test out our 4.5 app, we were under the impression 4.5 was more of a side by side thing with 4.0. 尽管我们无法测试4.5应用程序,但我们给人的印象是4.5与4.0并存。 We even made sure that our old app was targeting 4.0, but it made no difference. 我们甚至确保我们的旧应用程序的目标是4.0,但这没什么区别。

If anyone has insight on how to make 4.5 and 4.0 work nicely together on the same server, please let me know! 如果有人对如何使4.5和4.0在同一台服务器上很好地协同工作有所了解,请告诉我!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM