我在IIS 建了个虚拟目录叫website 。

来源:百度知道 编辑:UC知道 时间:2024/05/21 10:43:07
,然后用VS2005新建网站时跳出,未能将网站配置到asp.net 2.0,请手动配置
我把那个也配置好了,可是在浏览器中查看是出现
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
请问这个什么问题啊,好晕啊

按这个做看看吧。

1。右键我的电脑--管理--本地用户和组,给IUSR_机器名和IWAM_机器名两个用户设置密码,要一样。

2。开始--运行--输入cmd,
然后cd c:\Inetpub\AdminScripts
然后cscript.exe adsutil.vbs set w3svc/wamuserpass 你的密码,
然后cscript.exe adsutil.vbs set w3svc/anonymoususerpass 你的密码

看一下,行了没有?如果还不行,那么
cscript.exe synciwam.vbs -v,
然后iisreset

下面是实际的调试 过程。

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd c:
C:\Documents and Settings\Administrator

C:\Documents and Settings\Administrator>c:

C:\Documents and Settings\Administrator>cd c:\inetpub\adminiscripts
系统找不到指定的路径。

C:\Documents and Settings\Administrator>cd c:\lnetpub\adminiscripts
系统找不到指定的路径。

C:\Documents and Settings\Administrator>cd c:\inetpub\adminscripts

C:\Inetpu