为何asp.net服务器不工作!!!!

michael_monkey 2005-10-25 04:34:54
在自己本机开发完成后,在服务器上安装framework1.1,中间没有错误提示,将文件拷贝到服务器中,用浏览器运行,浏览显示如下错误:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.

在服务器的事件查看器中反复出现:

事件类型: 错误
事件来源: ASP.NET 1.1.4322.0
事件种类: 无
事件 ID: 1007
日期: 2005-10-25
事件: 16:17:43
用户: N/A
计算机: KN-SERVER2
描述:
aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.

事件类型: 错误
事件来源: ASP.NET 1.1.4322.0
事件种类: 无
事件 ID: 1084
日期: 2005-10-25
事件: 16:17:43
用户: N/A
计算机: KN-SERVER2
描述:
aspnet_wp.exe could not be started. The error code for the failure is 80004005. This error can be caused when the worker process account has insufficient rights to read the .NET Framework files. Please ensure that the .NET Framework is correctly installed and that the ACLs on the installation directory allow access to the configured account.


咋办??

...全文
129 16 打赏 收藏 转发到动态 举报
写回复
用AI写文章
16 条回复
切换为时间正序
请发表友善的回复…
发表回复
michael_monkey 2005-10-25
  • 打赏
  • 举报
回复
因为我是局域网,所以我就放开手脚干了
1、将aspnet域帐户设为管理员权限,设置一个密码
2、设置aspnet_state服务为domain\aspnet登陆,自动启动
3、修改%windir%\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config中
processmodel中的
userName="domainname\aspnet" password="password_you_set"
4、aspnet_regiis -i (不知道是不是必须的)
5、iisreset (应该是必须的)
6、等着笑
vickyyu 2005-10-25
  • 打赏
  • 举报
回复
出现类似的怪问题,请尝试执行
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
重新注册asp.net
一般都是可以解决的
michael_monkey 2005-10-25
  • 打赏
  • 举报
回复
thx

try by your ideas
du9232 2005-10-25
  • 打赏
  • 举报
回复
http://forums.rainbowportal.net/ShowPost.aspx?PostID=6624
也许有点帮助
bingbingcha 2005-10-25
  • 打赏
  • 举报
回复
错误的信息是说你没有正确配置,没有访问的权限..

建立个虚拟目录,然后给你的ASP.NET项目分配读写的权限..
如果之后还不行的话,做一个简单的页面..只有ASPX后缀就好了..测试下是否可以运行..如果可以,则是你的项目问题..否则就是安装Framework有错误..重新安装,或者重新注册IIS.

aspnet_regiis -i 重新注册IIS
eyych 2005-10-25
  • 打赏
  • 举报
回复


重装,:
先iis,再.net

:):)
wtiancai 2005-10-25
  • 打赏
  • 举报
回复
先在iis里面随便新建个aspx文件,看能不能运行,可以的话,应该可以说明SDK没问题,否则可能你SDK出问题了
shixianyong 2005-10-25
  • 打赏
  • 举报
回复
http://www.unimir.net/html/html_52372.html
hchxxzx 2005-10-25
  • 打赏
  • 举报
回复
问题可能有2
1.你的web.config里面,引用了模拟用户,但在服务器上,此用户并不存在
2.你的IIS里面,匿名用户没有设置或设置错误或者是错误的用户。
shixianyong 2005-10-25
  • 打赏
  • 举报
回复
创建具有正确权限的弱帐户,然后配置 Machine.config 文件的 <processModel> 部分使用该帐户。
在 Machine.config 文件的 <processModel> 部分,将 userName 属性设为 SYSTEM。
配置 Machine.config 文件的 <processModel> 部分使用管理员帐户。
备注:如果允许 ASP.NET 应用程序作为 SYSTEM 或管理员帐户运行,将带来严重的安全问题。如果使用其中的任一种变通解决办法,在 Aspnet_wp.exe 进程中运行的代码将能够访问域控制器和域设置。从 Aspnet_wp.exe 进程启动的可执行文件在相同的上下文中运行
michael_monkey 2005-10-25
  • 打赏
  • 举报
回复
正常情况下,asp.net服务运行后进程里面有aspnet_wp.exe
而我的服务器没有,所以我就:
服务——启动asp.net state service
结果告诉我:
错误1069:由于登陆失败而无法启动服务
michael_monkey 2005-10-25
  • 打赏
  • 举报
回复
虚拟目录是建立了的!!
jxufewbt 2005-10-25
  • 打赏
  • 举报
回复
新建一个项目,再把原文件重新导进项目
michael_monkey 2005-10-25
  • 打赏
  • 举报
回复
本机和服务器都是
v1.1.4322
tigerwen01 2005-10-25
  • 打赏
  • 举报
回复
在你本机上使用的是什么什么版本的,.NET 框架的版本是向后兼容的。
du9232 2005-10-25
  • 打赏
  • 举报
回复
首先要建虚拟目录吧

建议还是先生成一个部署项目安装一下比较简单

62,046

社区成员

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

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

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

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