我在xp下写拉一个网站
现在把它拷贝的windows server 2003 中,
一,设置IIS虚拟目录为我解压的目录
二,对这个虚拟目录设置ASPNET为2.0
三,默认的匿名访问是允许的
四.将数据库还原到sql server 2000 中,并设置它的用户天加了ASPNET用户然后我在ie中输入localhost/gdd
但是无法显示网页,一般在xp下到这步就可以了,为什么Server 2003就不行了呢,还要什么改动?

解决方案 »

  1.   

    1,查看是否启用父路径(2003默认不启用)
    2,web服务扩展-起用asp.net2.0
      

  2.   

    不好意思,我刚刚装2003
    1,查看是否启用父路径(2003默认不启用) 
        从那里查看是否起用了父路径
    2,web服务扩展-起用asp.net 2.0
        如何web服务扩展-起用asp.net 2.0
    谢谢你啦
      

  3.   

    我在IIS里面选择浏览网页,也显示如下
    无法找到该页
    您正在搜索的页面可能已经删除、更名或暂时不可用。 
    --------------------------------------------------------------------------------请尝试以下操作:确保浏览器的地址栏中显示的网站地址的拼写和格式正确无误。 
    如果通过单击链接而到达了该网页,请与网站管理员联系,通知他们该链接的格式不正确。 
    单击后退按钮尝试另一个链接。 
    HTTP 错误 404 - 文件或目录未找到。
    Internet 信息服务 (IIS)--------------------------------------------------------------------------------技术信息(为技术支持人员提供)转到 Microsoft 产品支持服务并搜索包括“HTTP”和“404”的标题。 
    打开“IIS 帮助”(可在 IIS 管理器 (inetmgr) 中访问),然后搜索标题为“网站设置”、“常规管理任务”和“关于自定义错误消息”的主题。 
      

  4.   

    运行IIS-本地计算机-最下边有个Web服务扩展
    点击后,在右边把ASP.NET v2.0.50727启用,如果还不行就全启用
      

  5.   

    我装了ASP.NET 2.0了,但是右边没有显示有ASP.NET v2.0.50727项目
    我就把所有未知的全部起用
    然后又出现下面这个页了Server Error in '/GSGZGDD' Application.
    --------------------------------------------------------------------------------The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: 
    [HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
       System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +3474107
       System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +226[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3426839
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +149 
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 
      

  6.   

    grearo 
    你有Q吗,这样太慢了,急死人了
    我的QQ是
    408719065