This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 在XP中打开.NET 的web application时, 出现500 server error,怎么回事? 谢谢!
-henhen(哼哼, 找工ing ^_^);
2003-10-20
(#1423949@0)
-
改正, 操作系统是XP,用.NET 2003 打开project。 :))
-henhen(哼哼, 找工ing ^_^);
2003-10-20
(#1423956@0)
-
^
-henhen(哼哼, 找工ing ^_^);
2003-10-20
(#1423982@0)
-
查web server的log
-henryan(Henry);
2003-10-20
(#1424022@0)
-
let me try. Thanks.
-henhen(哼哼, 找工ing ^_^);
2003-10-20
(#1424047@0)
-
only got service control manager error, event 7000.
-henhen(哼哼, 找工ing ^_^);
2003-10-20
(#1424093@0)
-
is possible porsioned? i used not to use iis because the hack code keep using socket occupied my 80 port. i killed this virus and patched, then now its ok.
-agentkiller(key);
2003-10-21
(#1424226@0)
-
Maybe you are right. My IIS seems no problem. Let me try. Thanks.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424365@0)
-
用什么命令看哪个进程在用80端口? 现在偶的脑子已经不管用了。:((
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424423@0)
-
netstat
-gugu(GuGu);
2003-10-21
(#1424477@0)
-
no additional user.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424508@0)
-
by default 500 是 internal error 吧? iis 在转吗?
-win(秋天的菠菜);
2003-10-21
(#1424389@0)
-
IIS看起来在运行,还能找到我要打开的文件,log中说service error。 有什么办法确定问题在哪?急死了。
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424415@0)
-
.
-win(秋天的菠菜);
2003-10-21
(#1424527@0)
-
have you ever changed the IIS defaulf website vitual directory?
-ningxin0809(雁影行洲);
2003-10-21
(#1424430@0)
-
No. I checked. Thanks.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424438@0)
-
Permissions can cause problems if they aren't correct.In IE you can open Tools - Internet Options - Advanced Options and uncheck the "show friendly http errors" setting. Often this will give you enough detail on your error to identify the problem.
-ningxin0809(雁影行洲);
2003-10-21
{195}
(#1424456@0)
-
Thanks. Let me try.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424459@0)
-
same as before.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424467@0)
-
What did you do after last time you ran .Net?
-vega_lee(Je suis de 天津);
2003-10-21
(#1424447@0)
-
I used overnet to download mp3. nothing else more. :-(
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424452@0)
-
anything in event log?
-speed(如风);
2003-10-21
(#1424481@0)
-
only got service control manager error, event 7000The Virtual PC Application Services service failed to start due to the following error:
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
{207}
(#1424501@0)
-
what is in IIS log?
-speed(如风);
2003-10-21
(#1424503@0)
-
I can't find it. but there is a message :Bad URL
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424517@0)
-
C:\WINDOWS\system32\Logfiles\W3SVC1
-speed(如风);
2003-10-21
(#1424544@0)
-
thanks. pls see downstair.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424552@0)
-
Latest log file is on Oct 7.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424556@0)
-
I got the problem yesterday and today. No such log file . The latest is when I add a virtual path two weeks ago. But after that, it was ok.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424541@0)
-
up^^ 这回偶自己真的救不了自己了, 555555~~~~~~~~~~~~~哪位大虾出手救偶, 请给偶发个妹儿, 偶给你电话或你给偶电话,谢谢!
要是住偶一栋楼的, 偶请你来喝茶 :))
-henhen(哼哼, 找工ing ^_^);
2003-10-21
{106}
(#1424635@0)
-
将啊扑进行到底!
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424710@0)
-
水真大, 得, 偶不吃不喝也要^
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424755@0)
-
拉
-win(秋天的菠菜);
2003-10-21
(#1424790@0)
-
上去!
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424800@0)
-
先别说别的,通过IE可以浏览http://localhost 吗?如果不行,错误信息是什么?如果可以,可以浏览http://localhost /your project vitual directory/the file you want to browse吗?如果不行,错误信息是什么?
-guestagain(guest again);
2003-10-21
(#1424907@0)
-
This is the error message when I tried to htto://localhost/default.htm
The following error occurred: Bad URL
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424912@0)
-
除非你自己建了一个default.htm ,default website下是没有这个default.htm ,try http://localhost/localstart.asp or just type http://localhost
-guestagain(guest again);
2003-10-21
(#1424937@0)
-
yes. I have this file. BTW, NETBIOS-SSN is safe? I found my roommate's pc tried to connect my pc vie netbios-ssn. Is it a problem?
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424946@0)
-
这个不清楚。你确定IIS server start 了?
-guestagain(guest again);
2003-10-21
(#1424950@0)
-
sure. I checked its setting and can see the local tree. it seems ok.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424973@0)
-
you can see the tree doesn't mean it is started. in command window, run "iisreset" to restart your iis server and make sure the state of your default web site is running, not stopped
-guestagain(guest again);
2003-10-21
(#1424991@0)
-
let me try.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425001@0)
-
still bad URL, god, it makes me crazy. :-(
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425006@0)
-
God, you make everybody here crazy.
-win(秋天的菠菜);
2003-10-21
(#1425024@0)
-
7456~~~~~~~~~~
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425033@0)
-
Try this:From your IE, click Tools - Internet Options,Switch to Connections tab,
Click on "LAN Settings" button at the bottom.If "Automatically detect settings" is checked in the next section uncheck it, then OK and Apply.
Close your IE and restart it.
Try it again.
-guestagain(guest again);
2003-10-21
{264}
(#1425027@0)
-
let me try. I'm totally no idea now.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425038@0)
-
excellent. I did it . IE can browse localhost now. Let me try my .NET web applications. Thank you so much.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425045@0)
-
Bingo! It works. Salute. *o*
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425051@0)
-
heep://localhost has the same error: bad url . But I checked my IIS setting, the local path is ok.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424949@0)
-
Did you try this?In your .NET Framework runtime directory (typically C:\Windows\Microsoft.NET\Framework\v1.0.3705 or later version ), run:
aspnet_regiis.exe -i
If you really cannot find the reason, usually uninstall and reinstall iis would be helpful. Uninstall and reinstall iis, try the command above again. but you have to rebuild your virtual directory yourself.
Hope it would be helpful.
-cloud2001(卷云溶月*One Heart*);
2003-10-21
{386}
(#1424926@0)
-
Thanks. I didn't try it yet because IIS and .NET run ok before. Never had any problem. I'll try it later.
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1424932@0)
-
如果是asp.net的话,可以把web.config里面改为trace enabled="true"
pageOutput="true"有这么好的功能干吗不用呢
-happyallday(happyallday);
2003-10-21
{24}
(#1425605@0)
-
不好意思, 没这样用过,虽然知道。因为是前两天还没问题的旧程序, 所以,没想到改web config,现在用那个guest的方法可以了。 谢谢!:))
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425611@0)
-
I have little trick which is able to solve 500 error problem,and many people learned from me.:)
-nice2002(floater);
2003-10-21
(#1425639@0)
-
别卖关子, 快让偶学两招,谢谢啦。:))
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425641@0)
-
500 error is friendly error from miscrosoft, disabling friendly error in your browser will bring you exact technical error generated from your code. got it?No? send me your email, I will tell you step by step :-)
-nice2002(floater);
2003-10-21
{56}
(#1425650@0)
-
你点我的名字就可以了,谢谢。 我关掉了那个friendly的东东。:))
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425655@0)
-
did you get error msg other than 500?
-nice2002(floater);
2003-10-21
(#1425657@0)
-
什么意思?偶下午改了就没有了, 没有其它错误。
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425668@0)
-
COM+ Password /UserID changed?
-nice2002(floater);
2003-10-21
(#1425684@0)
-
没有,偶什么都没改,周末无聊,不想做程序,只down了mp3, 然后就发现不行了,可能装电炉什么的自动改了什么东西。
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425689@0)
-
do thisComponent Service-->IIS Out-of-Process Pooling Application-->Properities--->Identity-->Change the username/password to administrator/password
-nice2002(floater);
2003-10-21
{141}
(#1425694@0)
-
为什么要改?
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425698@0)
-
here
-nice2002(floater);
2003-10-21
(#1425704@0)
-
偶本来就是管理员。
-henhen(哼哼, 找工ing ^_^);
2003-10-21
(#1425699@0)
-
why do not you try it first
-nice2002(floater);
2003-10-21
(#1425706@0)