写个简单的例子试试,看看你的.net平台能不能运行

解决方案 »

  1.   

    你的machine.config 是没有错误的估计错误原因是你没有在IIS中配置你的应用程序, 你应该在IIS中,在thephile文件夹(如果不存在,应添加虚拟目录)点击右键,弹出属性页,点击创建应用程序,即可
      

  2.   

    我又重新装了.NET2003,然后建了数据库。同时运行了IIS,在打开sln。报错:
    Visual Studio.Net cannot create or open the application.The likeliest problem is that required components are not installed on the local Web server.Run Visual Studio.Net Setup and add the Web development component.不会这样呀 我自己建一个Asp Application 都没有什么问题。
      

  3.   

    当你下载一个webForm例子,你可以选择它的自动安装,这样安装程序可以自动安装它,并设为虚拟目录,并把它设为应用程序。
    如是没有安装程序,你可以把解压到一个你的IIS虚拟目录,然后打开IIS管理器,把这个目录设为应用程序,一般就可以了~~~
      

  4.   

    它现在又在连接数据库出错
    An unexpected error has occurred on this page. The system administrators have been notified. Please feel free to contact us with the information surrounding this error.
    The error occurred in: http://localhost/ThePhile/Default.aspx
    Error Message: SQL Server does not exist or access denied我怎么改连接字符串亚
      

  5.   

    iis----默认web 站点----你的工程名称右键----属性----目录---应用程序名--创建  ---确定
      

  6.   

    D:\MyTest\codesource\ProASP.NET1.0\7035_cs\7035_CS\Pro ASP.NET CS\web.config
    修改连接字符串,有SQL SERVER 还有 access的,数据库脚本与access数据库都在D:\MyTest\codesource\ProASP.NET1.0\7035_cs\7035_CS\Pro ASP.NET CS\databases目录里头
      

  7.   

    This directory contains the samples for the Wrox Press book
    Professional ASP.NET 1.0. First run setup.exe to configure
    the samples - this will create the IIS virtual roots, databases,
    and compile the samples. Once complete navigate to http://localhost/ProASpNetwhere you'll see a complete menu system for the samples,
    broken down by chapter.