简体   繁体   English

500-内部服务器错误ASP.NET(IIS 7.5)

[英]500 - Internal Server Error ASP.NET (IIS 7.5)

I am now in the process of transferring my servers to windows azure. 我现在正在将服务器传输到Windows Azure。 I created a virtual machine ( 2008 R2 ) and installed IIS 7.5 . 我创建了一个虚拟机( 2008 R2 )并安装了IIS 7.5 I then transferred one of the site ( DNN ) and configured it to with it's own apppool (4.0) and granted permission for this app pool to read and write. 之后我转到网站之一( DNN ),它与它自己的配置为apppool (4.0)和授予的权限为这个应用程序池读取和写入。

I have two domains: one internal, which I defined in the HOST file, and one public (mydomain.com). 我有两个域:一个是我在HOST文件中定义的内部域,另一个是公共域(mydomain.com)。 The internal domain works fine however with the external domain I'm getting: 内部域可以正常工作,但是与外部域却可以:

500 - Internal server error. 500内部服务器错误。 There is a problem with the resource you are looking for, and it cannot be displayed. 您正在寻找的资源有问题,无法显示。

Perhaps, you haven't set up endpoints for the server on the portal to allow HTTP traffic? 也许您还没有为门户网站上的服务器设置端点以允许HTTP通信? In other words, did you open up port 80 on the Azure portal for this VM? 换句话说,您是否在Azure门户上为此虚拟机打开了端口80?

Check out how to do that here - https://www.windowsazure.com/en-us/manage/windows/how-to-guides/setup-endpoints/ 在此处查看操作方法-https: //www.windowsazure.com/zh-CN/manage/windows/how-to-guides/setup-endpoints/

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

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