Key points for deploying ASP. NET websites to IIS:
1. For Windows XP, the account for running IIS is "computer name \ ASPnet", and for Windows Vista and Windows Server 2003
The IIS account is "network service ". If a folder on the website allows users to upload images and files,
The account running IIS must have full control permissions on the folder. For Windows XP
In Windows Resource Manager, select the "Folder Options" command from the "Tools" menu,
Deselect "use simple file sharing.
2. in Windows XP, you must create a login name (computer name \ ASPnet) for the account running IIS ),
Create a database user for the database to be used, and grant the "db_owner" role to have access to the database.
Procedure:
(1) create a user "computer name \ ASPnet" in the database ";
(2) Right-click the user name "computer name \ ASPnet", select the "properties" menu, and select
"User ing": select the database used by the website and assign the "db_owner" role to the "computer name \ ASPnet" account.