ASP Common Problem Solutions Written by Two Star ASP Edition Community Stars

zhaozj2021-02-16  46

1 cdonts.newmail can't send an email

1 Determine the SMTP service that has been installed. 2 In IIS Manager, set the properties of the SMTP service. Settings in the Relay dialog box "with only the following list". Because it is only confused by the server listed in a list by default, this list is empty, so you can't make it.

2 Can't log in to SQL Server

This is because the NT authentication mode is used when installing SQL Server, and the ASP runs anonymous as anonymous, not qualified to access the database server. Workaround: Change SQL Server to a hybrid verification mode (including SQL verification)

3 ODBC Access An error occurred when accessing Access

Error message is:

Microsoft OLE DB Provider for ODBC Drivers Errors '80004005'

[Microsoft] [ODBC Microsoft Access Driver] Common Error You cannot open the registry keyword 'Temporary (Volatile) Jet DSN for Process 0x4ec Thread 0x81C DBC 0x22F3544 JET'.

This is due to the new bug after Windows2000 SP2. Perhaps Microsoft doesn't like ODBC, so there is this policy. The correct way is to use OLEDB to connect Access. Connection string is: provider = microsoft.jet.Oledb.4.0; data source = database file name

4 permission issues

ASP does not have permission to access certain folders. Therefore, the components written in VB may have problems. Set the properties of the System32 folder to give the IUSR user run permission. ASP also has no permission access registry. This can be implemented with components. Register the component to COM , then specify it to run in advanced identity; or cancel the "anonymous access" of the virtual directory, let the visitors enter the admin password, this time ASP is upgraded to the administrator. ADSI is also the same. If Access data is placed in a protected folder, an 80004005 error will appear. It is also necessary to set the permissions of the folder.

5 encryption problem

MD5 is not an encryption algorithm, so it cannot be decrypted. To transmit encrypted data, the key is to expose the algorithm to the client. So don't want to encrypt the client's data to the server.

6 protection intellectual property

The ASP is basically a thing that cannot be encrypted. Do not use the Screnc encoding tool. That is a garbage. To encrypt, you can only use component technology. Go to learn VB!

7 security issues

Don't want to secretly upload files from the client. Never use the script to pre-set the file name. The scripting language has no permission to access the client's hard drive, client components, and controls even if the signature will prompt to install ... all, it is for visitors. Otherwise, what do you do with the hard disk of visitors?

8 cooperation issues with other merchants

Want to send text messages, you can contact the mobile operator; want to open the mall, you can find banks to pay the interface. Both services require registration components on the server, so choose more choices when picking virtual hosts, avoid speaking money.

to be continued……

转载请注明原文地址:https://www.9cbs.com/read-28263.html

New Post(0)