"ASP" Win2003 the configuration of IIS, and publish the Web project to the network

Source: Internet
Author: User

One, installation of IIS

1, first open the Windows2003 Control Panel, to see if there is "management tools", no matter, click "Add or Remove Programs". If so, you can go directly to the second step of IIS configuration.

2, in the pop-up window, select Add/Remove Windows components, select the "Network Services" component and "Application Server" components hook, in general, simply hook these two components, but also open the "Application Server" component details, the inside can hook the hook, If there is only a gray tick on the hook, then the "details" of the item should be opened, and all the components inside are checked. To ensure that our ASP site does not run because one component is missing.


3, all components after the check, click OK, the installation process, will be asked to find Windows2003 installation image Windows Server 2003 Enterprise Edition Sp2.iso, no words on the internet a lot of search.


4, the installation process, you may be asked to set the IP address, click on the Microsoft network client Select "Properties", arbitrarily specify an IP to Windows2003 can, this is not the end of the IP we give the user, it is not related.


5. Wait for the installation to complete, and IIS is ready to install.


Ii. Configuration of IIS

1, after installation, you can open the IE6 browser, directly enter the http://localhost/iisstart.htm, see a "Construction" of the page is right, indicating that IIS has successfully run.


2, the next step is to put our website into the IIS published, open Windows2003 Control Panel in the management tool, the Internet Information Services IIS


3, directly to the default Site Settings properties can be, do not have to open a website, then we directly put a folder in, each project is a separate folder, will not conflict with each other. For example, to change a lot of places, the first is the "Website" tab, the IP address, written outside the network to access your server address. Then, on the Directory Security tab, in edit, enable anonymous access, and finally, on the Home Directory tab, check the share permissions.


Then in the "Home directory" in the "Application Settings" in the Configuration of "tab" remember to "Enable parent path" tick, otherwise, your ASP and Access database connection, may appear "Server.MapPath () error ' ASP 0175:80,004,005 ' disallowed The path character xx.asp, line XX does not allow the character ' ... ' in the MapPath path parameter. Error


4. You can then copy your ASP site catalog to C:\Inetpub\wwwroot. Does this directory correspond to the WebApps folder in Tomcat that specifically puts the JSP in?


However, after the copy is complete, you must right-click the folder, select Share this folder on the Share tab, and on the Security tab, give Full Control permission to all users. then click OK. You can see that there is a significant number of shared flags in the new folder. If you do not share it, it is possible that you cannot open the registry key ' temporary (volatile) Jet DSN for process 0xbec Thread 0xd34 DBC 0x3510024 Jet ' error.


5. Make sure that the Access database in your site is in Access2003 format, and then the statement in the ASP that links the Access database must be a link-Access2003 statement, not a reference to the "ASP" Link Access2007 and Access2003 (click the Open link) to convert.

6. Finally, enter the following three statements in the start-to-run:


Otherwise, provider error ' 80004005 ' Unspecified error xx.asp may occur, line xx


Third, the accomplished

Next, the site is really ready to run, I Windows2003 in the virtual machine configuration of IIS, directly outside the win7x64 input just in the IIS configured IP address/web Engineering Site Directory/page, you can successfully see my own written test page!


"ASP" Win2003 the configuration of IIS, and publish the Web project to the network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.