×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / 准备安装win2000,有professional 版本和服务器版本,他们有什么区别?我要用asp,和win2000版本有关系吗?
    • server版本支持更多的service,但是系统需求也更大,就有点象NT和NT workstation. win2k pro内带IIS5,支持ASP,但是不是漠认安装,可在安装win2k pro后选择"add/remove program"安装IIS5
      • 我安装了IIS,用notepad写了一段存为.asp文件,在IE中调不出来。怎样运行asp?
        • 你把asp文件放哪了?
        • ok follow this procedures:
          1- create a folder in your computer, path: c:\InetPub\wwwroot\ASPTest;
          2- open your iis mmc, and create a new virturally directory for that folder, eg: i create ASPTest and pointer it to the folder created before ;
          3- write a test asp file :
          <% @language = "VBScript"%>
          <%response.write("test")%>
          and save as c:\InetPub\wwwroot\ASPTest\asptest.asp ;
          4- open a browser, input: http://localhost/asptest/test.asp ;
          5- you see screen display: test ;
          6- it;s done.

          good luck!
          • I appreciate you very much. The problem is, I think I installed IIS correctly, but I cannot find anything related with it. Where can I find iis mmc? Maybe I didn't install IIS the right way.
            • I installed IIS once again, it seemed everything is OK. but Why I cannot see IIS?
              • ok, goto: start|settings|control panel | administrative tools | internet service manager , then you can create a new virtually directory(right click)
                • My win2000 is Chinese version. Is it Internet 服务管理器?I enter it, there is a tree, and it shows: (default FTP:stopped), (default Web: stopped), (dedault smtp 虚拟服务器:stopped). It there any problems?
                  • 启动就能用了
              • 或者用鼠标左击“我的电脑”,然后选择“管理”,就可以进入电脑管理,里面有一个选项是“服务和应用程序”,IIS管理就在里面。 你可以将你写好的ASP程序拷到WWWROOT文件夹下。然后用IE调用就好了。
                • 我在wwwroot 下建了一个目录,放入.asp文件,在IE 中调用,IE问我打开方式,我选择IE, 好象IE按照html方式打开.asp,asp的语句没有作用。
                  • 你找到WWWROOT文件夹后,将ASP文件存在WWWROOT文件夹下,然后在IE的地址栏输入:localhost/ASP文件名.Asp不能直接打开,要用网址打开。
                    • 是不是直接输入http://localhost/也可以?结果显示“该页无法显示”。是不是没有启动?我选择启动默认web站点等,总不对。
                      • 启动完,默认WEB站点是处于什么状态啊?
                        • 已停止,ip地址全部未分配,。。
                        • 启动时,显示“服务并未及时响应启动或控制请求”
                          • 你看一下IIS里详细属性配置看有没有问题,如果没有的话,重新启动服务器后再试一下吧。反正要能用,肯定“默认web站点”要启动才行。
                            • 好吧,我先把help等读一遍,有问题再请教。非常感谢!
                  • localhost/asp文件夹名/所要调用的ASP文件。
              • 写错了,是右击
    • 做ASP,WIN2000professional版够用了。WIN2000PROFESSIONAL版有带IIS