How to use C # To package applications (installation programs)
Configure node encryption in Web. config
Configuration environment:
Tomcat virtual path:
3. Add the following content to the server. xml configuration file under Tomcat:
<Host>
.........
<Context Path = "/upload" docbase = "D: \ upload" reloadable = "false"/>
</Host>
4. Create an upload folder under the D: root directory.
IIS configuration
7. After IIS is installed, choose management tools> Internet Information Server (IIS)> Internet Information Service> Local Computer>
Website --> default website --> right-click Properties --> document-> Add-> input: index. jsp
8. Install. Net framework3.5
9 install mysql-connector-net-6.0.3.zip for. net connection to MySQL.
10. Check the IP address of the WebService.
11 configure IIS
A. Set the Active Server Pages status in the Web service extension of IIS to allow,
Set ASP. NET v2.0.5.0727 to allow,
If the system does not find it by default, manually configure it. Run the following command in cmd: C: \ WINDOWS \ microsoft. Net \ framework \ v2.0.50727 \ aspnet_regiis-I-enable.
Internet data connector status is set to allow,
The file inclusion status on the server is set to allow.
B. Configure website attributes
Website tab: Default
Performance tab: Default
ISAPI Filter tab: Default
Home Directory tab: directory on this computer, c: \ Inetpub \ wwwroot, script resource access, read, record access, index resource, Default Application Program , Scripts and executable files, defaultapppool
Document tab: add index. asp
Directory Security Tab: authentication and access control --> edit --> check the user name and password (access permission for Windows users: Guest account .)
HTTP header tab: Default
Custom error tab: Default
Service tab: Default
ASP. NET tab: Check Asp.net V2.0, virtual path, file location
C. Configure website Permissions
Find the Windows user used by the application (Internet Guest Account: allows anonymous access), and set the access permission for this user.
D. Configure application attributes
Directory tab: specified directory, script resource access, read, record access, index resource, application name, script executable file, defaultapppool
/***
Do not place Resources in the default c: \ Inetpub \ wwwroot directory during release and use the virtual path
Modify the database connection string.