Scripts must be in the folder Inetpub/wwwroot or a subfolder of this folder. Assume that you make a subfolder called aspstuff.
Save ASP scripts in Inetpub/wwwroot/aspstuff. Copy into this folder the miniquizask.asp and miniquizcheck.asp files described in the text.
Invoke Internet Explorer and enter in the address: http://localhost/aspstuff/ miniquizask.asp This will invoke the miniquizask.asp script.
You can name your computer (and might have already done so). To see the name or to change it, click the right button on the My Computer icon. Click on Properties. Select the Computer Name tab. You should see a name. If you want to change the name, click on Change and then enter a new name. Once you have done this, you can use that name in place of localhost. For example: http://jmeyer/aspstuff/miniquizask.asp
To invoke a script using a database, you can use the DSN or DSN-less method. This information is generally in a script that is included in each script accessing the database. Let us assume that you have such a script. The critical thing you need to do is set the permissions for reading and writing to the file. The default permission will probably be read-only.
Click on the Start button and then select Control Panel. Change to Classic View. Click on Folder Options. Click on View. Scroll down to the end and clear (click to remove the x) Simple file sharing (recommended). Note: this is an extra step required for Windows XP.
To set permissions, right-click on the Start button and click Explore on the pop-up menu. Right-click on the folder containing the database. Click on the Security tab. Click on Advanced and then clear (click to remove the x) Inherit from parents the permissions…. Click OK. Click Add. The Select Users or Groups window will appear. Click on Advanced and then Find Now. Scroll down the list to locate IUSR_computername. For our computer, this will be IUSR_JMEYER. Select this entry. Click Add, and then click OK. The Security Tab panel reappears with the new entry. Select this entry and add Read and Write permissions.
Repeat this step, except for the clearing of the Inherit from the parents…, for the database.