我的网站不在托管服务器上工作,但在本地机器上工作 [英] MY website not working in the hosting server but works in the local machine

查看:103
本文介绍了我的网站不在托管服务器上工作,但在本地机器上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好每个人都使用c#中的.net 4.0开发了一个网站,我发布了网站并将其上传到托管服务器。





,当我尝试在线查看我的网站时,它显示我 500内部服务器错误,最初当我上传任何其他简单的html文件时,它工作。





没有问题的dotnet版本也是我的供应商支持4.0。供应商告知有多个启动文件我没有index.aspx,default.aspx(Master Page)怎么能我指出哪个文件会先运行。?

i不知道如何摆脱这个问题请任何一个帮助。

Hi Every one i developed an website using the .net version 4.0 in c#, i published the website and uploaded it to the hosting server.


when i try to view my site online its showing me 500 internal server Error,initially when i upload any other simple html file its working.


No problem with the dotnet version also my vendor supports 4.0.the vendor informed that there are multiple start files i dont index.aspx,default.aspx(Master Page) how can i point out which file will run first.?
i dont know how to get out of this problem please any one help.

推荐答案

这个表示IIS未正确配置。您在IIS设置中首先设置了哪个文件。
This means IIS is not configured properly. You set which file starts first in the IIS settings.


服务器遇到内部错误或配置错误,无法完成您的请求。



要修复此错误,只能通过修复Web服务器软件来解决。这不是客户端问题。由Web服务器站点的操作员来定位和分析日志,这些日志应该提供有关错误的更多信息。



他们可以追踪到的确切原因错误。纠正错误可能需要重新编码Web服务器软件的程序逻辑,这可能需要一些时间。



请参阅以下文章:

< a href =http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm> http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm [< a href =http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htmtarget =_ blanktitle =New Window> ^ ]
The server encountered an internal error or misconfiguration and was unable to complete your request.

For fixing this error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the operators of the Web server site to locate and analyse the logs which should give further information about the error.

they can trace the exact reason for the error. Correcting the error may require recoding program logic for the Web server software, which could take some time.

Please see following article:
http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm[^]






服务器优先级是为起始文件定义的。请检查是否列出了所有必需的文件?



其次你说html工作正常。因此,使用单个按钮创建一个简单的asp.net应用程序并尝试使用服务器(尝试使用Dot net版本2.0和4.0)。



基本上这是定位问题你的网页。如果您使用域名,请尝试使用IP地址,如果DNS未解决。



如果这不起作用,请告诉我们。



谢谢

-Amit
Hi,

On server priority is defined for start file. please check if all your required files are listed there ?

Secondly you said that html is working fine. So create one simple asp.net application with single button and try on the server(try this with Dot net version 2.0 and 4.0).

Basically this is issue with locating your webpage. if you are using domain name then try with IP address if DNS is not resolved.

Let us know if this is not working.

Thanks
-Amit


这篇关于我的网站不在托管服务器上工作,但在本地机器上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆