Asp.net throws system. Data. oledb. oledbexception: unspecified error

Source: Internet
Author: User

 

Asp.net throws system. Data. oledb. oledbexception: unspecified error

The access to the Asp.net + ACCESS database used by the website is normal at the beginning. Once the user is accessed for a relatively long time, system. Data. oledb. oledbexception: unspecified error, errorCode: '0x80004005'. The access is normal after the server is restarted. Error message:

The solution to this problem is as follows:
(1). This is because you have no permission to write files in the temporary directory. The cause of this problem: the system temp folder has insufficient access permissions to modify the method as follows: Go to tool-Folder option-view-to use simple file sharing (recommended) and turn it off. Go to Windows/temp, right-click and choose-properties. You will see an option called "security", add an everyone, and set the permission to full control, then, set the Windows user to full control, and then OK.

(2). Web written using ASP. NETProgramWhen there are too many accesses to the database, the system will report the error "unspecified error 0x80004005" upon logon. The reason is that the database cannot be connected, on the server, if IIS is full of Files written to the Temporary Folder and cannot be written, restart the server, clear the temporary files, or adjust the disk space (with the disk quota. To the IIS account: the Internet Guest Account has sufficient space for writing permissions on disk C) or defines a temporary folder to another disk that is large enough.

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.