如何使我的 MVC 4 应用程序能够从其他计算机访问,允许多台计算机连接到我在 IIS 7.5 上的站点

How to make my MVC 4 application able to access from other computer , allow multiple computers to connect to my site on IIS 7.5

我在本地计算机的 IIS 7.5 上有一个 mvc 4 应用程序,我确实为我的应用程序设置了绑定。但目前它一次只能访问一个用户,当试图从另一台电脑访问时它显示错误 The "RenderBody" has not been call for layout page。我已经修改了限制设置 > 限制 IIS 上的连接数,但仍然不起作用!

This is the error shown ,when i tried to access the site from another computer in a network

to make other user able access my site successfully without error is to sign out first the currently logged in user,click this link for the image

为此,我认为我在 IIS 上的站点不允许并发请求,**我需要先注销才能使网络中的其他计算机无错误地访问我的站点。

当我当前登录到我的网站时,当我尝试从另一台电脑访问我的网站时显示错误,尚未为布局页面调用 "RenderBody" 方法 我该如何处理这个问题?

这不是连接问题。这听起来像是您的布局页面中的问题。也许您错过了“@RenderBody()”部分?

@RenderBody 作为占位符,让引擎知道使用布局页面将视图的内容放在哪里

Here 很好地解释了您 can/need 要使用的部分。