ASP FAQ for two-Star ASP edition of Community Star

Source: Internet
Author: User
Tags anonymous iis odbc sql ole access database administrator password access
Solution | community | Question 1 CDONTS. NewMail Cannot send mail
1 determine that the SMTP service for IIS is already installed.
2 in IIS Manager, set the properties of the SMTP service. In the Relay dialog box, set "except the following list". Because by default it only transfers to servers listed in a list, but the list is empty, so it is not sent.


2 Unable to log into SQL SERVER
This is because the NT Authentication mode is used when SQL Server is installed, and the ASP runs as anonymous and is not qualified to access the database server. WORKAROUND: Change SQL Server to mixed authentication mode (including SQL validation)


3 Error accessing registry keys when ODBC accesses access

The error message is:


Microsoft OLE DB Provider for ODBC Drivers error ' 80004005 '

[Microsoft] [ODBC Microsoft Access Driver] Common error cannot open registry key ' temporary (volatile) Jet DSN for process 0x4ec Thread 0x81c DBC 0x22f3544 J ET '.

This is due to Windows2000 SP2 new bugs later. Maybe Microsoft doesn't like ODBC, so it's an unwise. The correct approach is to use OLE DB to connect to access. The 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. As a result, running VB-written components may be faulty. Set the properties of the System32 folder and give the IUSR user permission to run. The ASP also does not have permission to access the registry. This can be implemented using components. Register the component in COM + and then specify that it will run as advanced, or cancel anonymous access to the virtual directory and allow the visitor to enter an administrator password, at which time the ASP is promoted to run as an administrator. ADSI is the same.
If the Access database is stored in a protected folder, a 80004005 error occurs. You also need to set permissions for the folder at this time.


5 encryption problem
MD5 is not a cryptographic algorithm and cannot be decrypted. To transfer encrypted data, the key is not to expose the algorithm to the client. So you don't want to upload the client data encryption to the server.


6 Protection of intellectual property
ASP is basically something that can't be encrypted. Do not use the SCRENC coding tool. That's a waste. To encrypt, you can only use the component technology. Go learn vb!


7 Security issues
Don't try to sneak in. Upload files from the client. <input type=file> It is absolutely impossible to use scripts to preset filenames. The scripting language does not have access to the client's hard disk, and the client components and controls are prompted to install even if they are signed ... All this is for the safety of the visitors. What if you have a visitor's hard drive format?


8 cooperation issues with other merchants
Want to send text messages, you can contact mobile operators; Want to open a shopping mall, you can find a bank to do the payment interface. Both services require registering components on the server, so choose a virtual host and avoid spending money.


Cond......



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.