2014年7月13日 星期日

[RESOLVED] System.Data.OleDb.OleDbException: Unspecified error


After restarting IIS, the problem is solved.  However, this error happened frequently now. Could anyone help? Thanks in advance.



Hi,


Please try the solution suggested in the below link


http://support.microsoft.com/kb/825738



Hi Calvinx,


This error mostly belongs to permission error, for this error we have mutiple solutions as per situation




  1. Put the impersonate=false in web.config file.



  2. If you want to put the impersonate = true in that case you need to provide the read/write permission to impersonate user on "C:\Documents and Settings\server name\ASPNET" folder or through process monitor utility you can check which file don't have sufficient
    permission.



  3. If you have windows server 2008 then you will not found the ASPNET folder and still want impersonate=true then you need to change the configuration in IIS 7.5/7.0.



Go to IIS -> select your application pool -> Advanced Setting -> Process Model ->Identity=ApplicationPoolIdentity


Go to IIS -> select your application pool -> Advanced Setting -> Load User Profile = False


See here for more details.


or else refer:


http://forums.asp.net/t/1877790.aspx


Hope this helps.


Thanks,


Jatin


沒有留言:

張貼留言