⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asp_install.asp@output=print

📁 W3Schools tutorial..web designing
💻 ASP@OUTPUT=PRINT
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>Run ASP on Your Computer</title>
 
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />

<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</head>
<body>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

<h1>Run ASP on Your PC</h1>
<a href="asp_intro.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" width="100" height="20" /></a>
<a href="asp_syntax.asp"><img alt="next" border="0" src="../images/btn_next.gif" width="100" height="20" /></a>
<hr />

<p class="intro">You can run ASP on your own PC without an external server.&nbsp;To do that,
you must install Microsoft's Personal Web Server (PWS) or Internet Information Services (IIS)
on your PC.</p>
<hr />

<h2>How to Run ASP on your own PC</h2>
<p>You can run ASP on your own PC without an external server.&nbsp;To do that,
you must install Microsoft's Personal Web Server (PWS) or Internet Information Services (IIS)
on your PC.</p>
<p><b>If you are serious about using ASP, you should have at least Windows 98,
Second Edition.&nbsp;</b></p>
<p><b>If you are really serious about using ASP, you should go for Windows 2000.</b></p>
<hr />

<h2>How to install PWS and run ASP on Windows 95</h2>
<p>Personal Web Server (PWS) is not shipped with Windows 95 !!</p>
<p>To run ASP on Windows 95, you will have to download &quot;Windows NT 4.0 Option Pack&quot; from Microsoft.</p>
<p><a target="_blank" href="../../www.microsoft.com/ntserver/nts/downloads/recommended/NT4OptPk/default.asp">
Download the &quot;Windows NT 4.0 Option Pack&quot;</a></p>
<hr />

<h2>How to install PWS and run ASP on Windows NT</h2>
<p>Personal Web Server (PWS) is not shipped with Windows NT !!</p>
<p>To run ASP on Windows NT, you will have to download &quot;Windows NT 4.0
Option Pack&quot; from Microsoft.</p>
<p><a target="_blank" href="../../www.microsoft.com/ntserver/nts/downloads/recommended/NT4OptPk/default.asp">
Download the &quot;Windows NT 4.0 Option Pack&quot;</a></p>
<hr />

<h2>How to install PWS and run ASP on Windows 98</h2>
<ol>
  <li>Open the <b>Add-ons</b> folder on your Windows98 CD, find the <b>PWS</b> folder and run the <b>setup.exe</b> file.</li>
  <li>An <b>Inetpub folder</b> will be created on your harddrive. Open it and find the <b>wwwroot</b> folder.</li>
  <li><b>Create a new folder</b>, like &quot;MyWeb&quot;, under wwwroot.</li>
  <li><b>Use a text editor</b> to write some ASP code, save the file as &quot;test1.asp&quot; in the &quot;MyWeb&quot; folder.</li>
  <li>Make sure your Web server is running - The installation program has added a new icon on your task bar (this is the PWS symbol).
  Click on the icon and press the Start button in the window that appears.</li>
  <li><b>Open your browser</b> and type in &quot;http://localhost/MyWeb/test1.asp&quot;, to view your first ASP page.</li>
</ol>
<hr />

<h2>How to install PWS and run ASP on Windows ME</h2>
<p>Personal Web Server (PWS) is not included with Windows Me !!</p>
<p><a href="../../support.microsoft.com/support/kb/articles/Q266/4/56.ASP" target="_blank">Read article from Microsoft</a></p>
<p><a target="_blank" href="../../billsway.com/notes_public/PWS_WinMe.txt">A workaround!</a></p>
<hr />

<h2>How to install IIS and run ASP on Windows 2000</h2>
<ol>
  <li>From your <b>Start Button</b>, go to <b>Settings</b>, and <b>Control Panel</b></li>
  <li>In the Control Panel window select <b>Add/Remove Programs</b></li>
  <li>In the Add/Remove window select <b>Add/Remove Windows Components</b></li>
  <li>In the Wizard window check <b>Internet Information Services</b>, <b>click OK</b></li>
  <li>An <b>Inetpub folder</b> will be created on your harddrive</li>
  <li>Open the Inetpub folder, and find a folder named <b>wwwroot</b> </li>
  <li><b> Create a new folder</b>, like &quot;MyWeb&quot;, under wwwroot.</li>
  <li><b>Use a text editor</b> to write some ASP code, save the file as &quot;test1.asp&quot; in the &quot;MyWeb&quot; folder</li>
  <li>Make sure your Web server is running - The installation program has added a new icon on your task bar (this is the IIS symbol).
  Click on the icon and press the Start button in the window that appears.</li>
  <li><b>Open your browser</b> and type in &quot;http://localhost/MyWeb/test1.asp&quot;, to view your first ASP page</li>
</ol>
<hr />

<h2>How to install IIS and run ASP on Windows XP Professional</h2>
<p><b>Note:</b> You cannot run ASP on Windows XP Home Edition.</p>
<ol>
  <li>Insert the Windows XP Professional CD-Rom into your CD-Rom Drive</li>
  <li>From your <b>Start Button</b>, go to <b>Settings</b>, and <b>Control Panel</b></li>
  <li>In the Control Panel window select <b>Add/Remove Programs</b></li>
  <li>In the Add/Remove window select <b>Add/Remove Windows Components</b></li>
  <li>In the Wizard window check <b>Internet Information Services</b>, <b>click OK</b></li>
  <li>An <b>Inetpub folder</b> will be created on your harddrive</li>
  <li>Open the Inetpub folder, and find a folder named <b>wwwroot</b> </li>
  <li><b> Create a new folder</b>, like &quot;MyWeb&quot;, under wwwroot.</li>
  <li><b>Use a text editor</b> to write some ASP code, save the file as &quot;test1.asp&quot; in the &quot;MyWeb&quot; folder</li>
  <li>Make sure your Web server is running - its status can be checked by going into the <b>Control Panel</b>,
  then <b>Administrative Tools</b>, and double-click the &quot;<b>IIS Manager</b>&quot; icon</li>
  <li><b>Open your browser</b> and type in &quot;http://localhost/MyWeb/test1.asp&quot;, to view your first ASP page</li>
</ol>
<hr />

<h2>How to install IIS and run ASP on Windows Server 2003 (Windows .NET Server)</h2>
<ol>
  <li>When you start the Windows Server 2003, you should see the <b>Manage Your Server wizard</b></li>
	<li>If the wizard is not displayed, go to <b>Administrative Tools, </b>and select <b>Manage Your Server</b></li>
	<li>In the wizard, click <b>Add or Remove a Role</b>, click Next</li>
	<li>Select <b>Custom Configuration</b>, click Next</li>
	<li>Select <b>Application Server role</b>, click Next</li>
	<li>Select <b>Enable ASP.NET</b>, click Next</li>
	<li>Now, the wizard may ask for the <b>Server 2003 CD</b>. Insert the CD and let it run until it is finished,
	then click the Finish button</li>
	<li>The wizard should now show the Application Server role installed</li>
	<li>Click on <b>Manage This Application Server</b> to bring up the <b> Application Server Management Console (MMC)</b></li>
	<li>Expand the <b>Internet Information Services (IIS) Manager</b>, then expand your server, and then the Web Sites folder</li>
	<li>You should see the Default Web Site, and it should not say (Stopped)</li>
	<li>IIS is running!</li>
	<li>In the <b>Internet Information Services (IIS) Manager </b>click on the <b>Web Service Extensions</b> folder</li>
	<li>Here you will see that <b>Active Server Pages are Prohibited</b> (this is the default configuration of IIS 6)</li>
	<li>Highlight <b>Active Server Pages</b> and click the <b>Allow</b> button</li>
	<li>ASP is now active!</li>
</ol>
<hr />

<a href="asp_intro.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" width="100" height="20" /></a>
<a href="asp_syntax.asp"><img alt="next" border="0" src="../images/btn_next.gif" width="100" height="20" /></a>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -