不是啊,是所有的.aspx做后缀的ASP .net脚本都不行,哪怕你乱敲几个字,把它存成test.aspx文件,再测试也不行。而所有HTML/XML和ASP还有PHP文件都可以啊,为什么就ASP .net不行呢?另外,我运行了
C:\Windows\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis -i求高手指教!

解决方案 »

  1.   

    不幸的人,我跟你有过同样的糟遇,实在没法,到微软的网上下了个.net framework的1.1版,只不过是E文版的,出了错都是E文提示,但却可以执行ASPX,不妨试试。我也想知道为什么
      

  2.   

    To cainong(菜地老农):但是我已经装了.net framework,我系统是WinXP Pro SP1,我可不想卸掉重装,在Windows Update站点都不让更新.net framework中文版呢,总提示已经安装了它。而且我原来本是IIS可以运行ASP/ASP .net/PHP的,这些都行,搞不清为什么现在就ASP .net运行不了了。我也试过用记事本打开下面的这个文件:
    C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\CONFIG\machine.config然后在其中查找“processModel Attributes:”字符串。
    找到后,从此向下找到这样的设置:
    userName="[user]" - Windows user to run the process as. 
    将它改为:
    userName="System" - Windows user to run the process as. 
    再向下找到这样的设置:
    password="[AutoGenerate | password]" - Password of windows user. For special users (SYSTEM and machine), specify "AutoGenerate".
    将它改为:
    password="AutoGenerate" - Password of windows user. For special users (SYSTEM and machine), specify "AutoGenerate".
    这也不行!这些高手们的意见都不行的,另外我也不是域用户,安装系统时就没设成域用户。求大家帮助!
      

  3.   

    另外,我也重新注册了DLL:regsvr32 C:\Windows\Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll还是不行啊!
      

  4.   

    To cainong(菜地老农) :有中文1.1版本吗?找不到啊!
      

  5.   

    把ie的显示友好http错误提示去掉,看看能不能看到错误信息。工具 -- Internet 选项 -- 高级 -- 显示友好http错误信息 这个选项确认去掉。
      

  6.   

    To ghj1976(蝈蝈俊.net)大侠 :
    我按着您的指点做了,但提示没什么意义:1.设置IE,将其“Internet 选项”中“高级”标签设置里的“显示友好 HTTP 错误信息”前面的勾去掉。
    2.设置IIS,将其“默认网站”的“属性”的“自定义错误”中的“500”错误设为“默认值”。然后启动IIS Admin服务IIS默认网站,执行一个ASP .Net程序:
    http://localhost/test.aspx

    http://127.0.0.1/test.aspx
    却显示错误提示如下:
    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.
      

  7.   

    我也又参照了:
    http://expert.csdn.net/Expert/topic/1522/1522838.xml?temp=.8109705
    或者帖子中net_lover(孟子E章)做提供的“IIS5 HTTP500内部错误解决办法”:
    http://tech.enet.com.cn/document/20010917/2001091711483301.shtml还有这个帖子里:
    http://expert.csdn.net/Expert/topic/914/914602.xml?temp=.8982508
    有个zgh_ms([微软] 百变金刚) 高手回答了很详细,但我挨个试了,也不行,我的.Net Framework装得好好的啊,我运行VS .net程序没问题的。还有我默认网站的应用程序保护是低(IIS进程)级别的啊,不然ASP就不能正常运行了,ASP行,PHP也行,怎么就ASP .net不行呢?还有我的“IWAM_[我的计算机名]”账号,在同步COM+和RPC时,也就是执行下面的命令:
    CScript C:\Inetpub\adminscripts\synciwam.vbs -v
    出现了错误提示:------------------------------IIS Applications Defined:
    Name, AppIsolated, Package ID
    ROOT, 2,
    IISHelp, 2,Out of process applications defined:
    Count: 1
    {3D14228D-FBE1-11d0-995D-00C04FD919C1}Error: 8004E00F:C:\>------------------------------这个问题遇到的人太多了吧?微软也真王八蛋!
      

  8.   

    To neu2002(wangminghai) :事件查看器
    系统日志错误如下(反复重复的不计):1.
    来源:DCOM
    描述:
    DCOM 遇到错误“登录失败: 未知的用户名或错误密码。 ”并且无法登录到 .\IWAM_GIRL 上以运行服务器:
    {3D14228D-FBE1-11D0-995D-00C04FD919C1}2.
    来源:Service Control Manager
    描述:
    与 Message Queuing 服务相依的 Distributed Transaction Coordinator 服务因下列错误而无法启动: 
    服务已返回特定的服务错误码。3.
    来源:Service Control Manager
    描述:
    Distributed Transaction Coordinator 服务因 3221229584 (0xC0001010) 服务性错误而停止。4.
    来源:atapi
    描述:
    设备 \Device\Ide\IdePort1 没有在传输等待时间内响应。5.
    来源:
    Cdrom
    描述:
    设备 \Device\CdRom0 有一个不正确的区块。其中4、5应该跟这个问题没什么大关系,可能我的DVD光驱确实有点问题。请高手们忙我分析一下吧!
      

  9.   

    感谢您使用微软产品。这个问题可能跟很多方面相关。比如账号,第三方软件等等。可能需要一定的时间和步骤来做测试和修复。我建议您参照下面的步骤:A.  检查Application Protection的保护级别:1. 打开IIS管理器。2. Right-click Default Web Site and then choose Properties.3. On the "Home Directory" table, there is a field called "Application Protection". 请您告诉我您的选项。4.请您把这个选项更改为Low (IIS Process)然后检查错误是否仍然存在。B. 请检查您是否修改了 "IWAM_[你的电脑名]" 账号和密码。C. 建议您Reset "IWAM_[你的电脑名]"账号。1。 删除"IWAM_[你的电脑名]"账号。2。 重新启动计算机。Windows 2000 会重新生成此账号并和IIS同步。您可以在Event Viewer中找到相应的信息。如果Windows 2000不能自动生成此账号,我们需要手动的添加并和IIS同步。3。 请您检查问题是否解决。D. 检查您机器上的COM+和RPC:1. Launch Component Services on Control Panel -> Administrative Tools ->Component Services.2. Double Click Component Services, Computers, My Computer and COM+ Applications. 3. Find "IIS Out-Of-Process Pooled Applications", right click it and select Properties.4. In the Identity tab, set Account to "This user", click Browse, select the IWAM_[COMPUTERNAME] account.5. Click OK, finish the configuration.6. Launch Services on Control Panel -> Administrative Tools -> Services.7. Find the "Remote Precedure Call (RPC) service, right click and select Properties.8. In the "Log On" tab, select the "Local System account".9. Click OK, finish the configuration.10.Restart the computer.请您检查问题是否已经解决。希望上面的信息对您能有所帮助。-微软全球技术中心 本贴子以“现状”提供且没有任何担保,同时也没有授予任何权利。具体事项可参见使用条款(http://support.microsoft.com/directory/worldwide/zh-cn/community/terms_chs.asp)。
    为了为您创建更好的讨论环境,请参加我们的用户满意度调查(http://support.microsoft.com/directory/worldwide/zh-cn/community/survey.asp?key=(S,49854782))。
      

  10.   

    To guoyan19811021(吉祥):My God!你是把zgh_ms([微软] 百变金刚)在帖子:
    http://expert.csdn.net/Expert/topic/914/914602.xml?temp=.8982508
    里面的回复全粘贴了过来!不过那家伙应该很牛!但我试了都不行,正准备重装.net Framework呢
      

  11.   

    重装了IIS和.net Framework,还是不行啊!
      

  12.   

    唉,不论我怎么调IIS或其他相应设置都不行,还是只有ASP和PHP可以执行,而ASP .NET页面一运行就报错。
    就总是下面这样的出错提示——HTTP 500 - 内部服务器错误 或者调IE的选项设置(去掉“显示友好 HTTP 错误信息”)显示错误——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.在IE每次执行一次转到或刷新ASP .Net页面时,都会在系统事件日志里产生一条相应的警告信息如下:事件查看器(本地)系统
    ---------------------------------------------------------------来源:W3SVC类型:警告事件 ID:36描述:
    服务器无法加载应用程序 '/LM/W3SVC'。错误是 '找不到指定的元数据'。 ---------------------------------------------------------------
    真不知该怎么办好了!