HTTP 500 - 内部服务器错误

polar123 2003-08-24 03:32:16
windows xp + sp 1及其他最新补丁,VS.net2002,在iis上运行aspx会出现HTTP 500 - 内部服务器错误。而静态页面和asp都正常。试过执行aspnet_regiis.exe -i重新注册,问题依然在。
急问是何原因,如何解决?谢谢!
...全文
24 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
polar123 2003-08-24
  • 打赏
  • 举报
回复
按快乐王子说的做了,问题解决了。
在此非常感谢思归大侠和快乐王子的热情帮助,这对您们来说可能是举手之劳,可对我来说却是解决了救命的大问题。
panyee 2003-08-24
  • 打赏
  • 举报
回复
把machine.config文件中<processModel>中的userName="machine"改成"system"
polar123 2003-08-24
  • 打赏
  • 举报
回复
I find that.
Yes, it has mapped to aspnet_isapi.dll.
polar123 2003-08-24
  • 打赏
  • 举报
回复
Sorry, I am a asp.net beginer. And I can't find the mapping information. Can you give me some more instruction about where I find the mapping information you mentioned above.
There was some thing wrong with my computer. So I reinstalled the system and vs.net. Before that, vs.net works well in my system. And just after I finished installation, that strange problem occurs. So I reinstalled all the things again, but the problem still exist. I am driven crazy by it.

Thanks a lot.
saucer 2003-08-24
  • 打赏
  • 举报
回复
datetime shouldn't be a problem, was it working before? can you check if .aspx is properly mapped to aspnet_isapi.dll in Internet Services Manager?
polar123 2003-08-24
  • 打赏
  • 举报
回复
Thank you for your reply.
I followed your instruction, and after unchecked "Show friendly HTTP error messages", it shows:
服务器应用程序不可用
试图在此 Web 服务器上访问的 Web 应用程序当前不可用。请点击 Web 浏览器中的“刷新”按钮重试您的请求。

管理员注意事项: 详述此特定请求失败原因的错误信息可在 Web 服务器的系统事件日志中找到。请检查此日志项以查明导致该错误发生的原因。

Event Viewer:

Unchecked

Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2003-08-23 19:55:43
#Fields: time c-ip cs-method cs-uri-stem sc-status
19:55:43 127.0.0.1 GET /TestWebApp/WebForm1.aspx 500
20:01:38 127.0.0.1 GET /TestWebApp/WebForm1.aspx 500

Checked

#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2003-08-23 23:15:48
#Fields: time c-ip cs-method cs-uri-stem sc-status
23:15:48 192.168.0.3 OPTIONS / 200
23:15:48 192.168.0.3 PROPFIND /c$ 404
23:24:09 127.0.0.1 GET /TestWebApp/WebForm1.aspx 500
23:26:16 127.0.0.1 GET /TestWebApp/WebForm1.aspx 500
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2003-08-23 23:39:49
#Fields: time c-ip cs-method cs-uri-stem sc-status
23:39:49 127.0.0.1 GET /TestWebApp/WebForm1.aspx 500

And I found the time which it shows in Log files above is different from my systme time. I did that on 2003-8-24 07:40:xx, but it was #Date: 2003-08-23 23:39:49 in Log files. Does the problem have some relation with that?Is it necessary to correct the time and how to achieve that?

Thank you very much.
saucer 2003-08-24
  • 打赏
  • 举报
回复
go to IE menu, Tools->Internet Options->Advanced, uncheck "Show friendly HTTP error messages", and try agin, post the detailed error messages here, also check Event Viewer to see if there are any related entries

62,041

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧