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.