1 CDONTS. NewMail cannot send emails
1. Confirm that the SMTP service of IIS is installed.
2. In IIS Manager, set the smtp service attributes. In the relay dialog box, set "only in the following list ". By default, it only transfers emails to the servers listed in a list, but the list is empty, so it cannot be sent out.
2. Unable to log on to SQL SERVER
This is because the NT authentication mode is used when SQL SERVER is installed, and ASP runs anonymously and is not qualified to access the database SERVER. Solution: change SQL server to the hybrid verification mode (including SQL verification)
3. When ODBC accesses Access, the registry keyword cannot be accessed.
Error message:
Microsoft ole db Provider for ODBC Drivers error '20140901'
[Microsoft] [ODBC Microsoft Access Driver] common errors do not enable the registry keyword 'temporary (volatile) Jet DSN for process 0x4ec Thread 0x81c DBC 0x22f3544 jet '.
This is because of a new bug after Windows SP2. Maybe Microsoft doesn't like ODBC, so this is the best practice. The correct method is to use OLEDB to connect to Access. Connection string: Provider = Microsoft. Jet. OLEDB.4.0; Data Source = database file name
4. Permission issues
ASP has no permission to access some folders. Therefore, components written in VB may be faulty. Set the attributes of the system32 folder and grant the IUSR user the running permission. ASP does not have the permission to access the registry. This can be implemented using components. Register the component to COM + and specify it to run as an advanced identity. Alternatively, cancel the "anonymous access" of the virtual directory and ask the visitor to enter the administrator password, at this time, ASP is upgraded to the administrator identity. The same is true for ADSI.
If the Access data inventory is placed in a protected folder, error 80004005 is displayed. In this case, you also need to set folder permissions.
5. Encryption problems
MD5 is not an encryption algorithm, so it cannot be decrypted. To transmit encrypted data, the key is not to expose the algorithm to the client. Therefore, do not encrypt the client data to the server.
6. Protect intellectual property rights
ASP is basically something that cannot be encrypted. Do not use screnc encoding tools. That is a waste. To encrypt data, you can only use the component technology. Go to learn VB!
7. Security problems
Do not secretly upload files from the client. <Input type = file> It is absolutely impossible to set the file name in advance using a script. The script language does not have the permission to access the client's hard disk. Even if the client components and controls are signed, the system will prompt whether to install them ...... This is all about visitor security. Otherwise, what should you do if you have formatted the guest's hard disk?
8. Cooperation with other merchants
If you want to send a text message, you can contact the mobile operator. If you want to open a mall, you can contact a bank for a payment interface. Both of these services require component registration on the server. Therefore, when selecting a virtual host, you must make more choices to avoid wasting money.