I have a class for retriving datas from access database to datagridview. Exception Details: System.Data.OleDb.OleDbException: Unspecified error Source Error: Line 292: Line 293: 'Open the connection. Join the community of 500,000 technology professionals and ask your questions. Finally, if an exception is thrown your command isn;t going to get disposed.

its fine now. So, if i do something to refresh the datagridview repetely for a while, it will occure an error like this. Now, I am trying to edit my code belong to your suggessions. Get 1:1 Help Now Advertise Here Enjoyed your answer?

Why did WWII propeller aircraft have colored prop blade tips? I'll include the error message on the page as well: Server Error in '/OmniCare' Application. -------------------------------------------------------------------------------- Unspecified error Description: An unhandled exception occurred during the execution of the current web request. By analyzing and understanding these TTPs, you can dramatically enhance your security program. It works fine.

Does the ASP application have read permissions over the folder that the file is in? That ID is:Quote:-2147467259 Sounds great and incredibly promising right? This is probably the cause of my problem. after a >> couple times<< this code is used is a class it comes with an error saying unhandled System.Data.OleDb.OleDbException' occurred in system.data.dll Any suggestions what could be wrong.

Featured Post Why You Should Analyze Threat Actor TTPs Promoted by Recorded Future After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific BUT... heheh :) Sorry I havn't had a chance to get back to this. Please review the stack trace for more information about the error and where it originated in the code.

It's particularly useless immediately after a Return statement because execution stops at the Return. Ken Microsoft MVP [ASP.NET] "Jim McGivney" wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl... Thanks for the insight, I was so flustered by the initial message it didn't occur to me to try to extract more information from the exception itself! | Post Points: 5 Hi, Ken I run into similiar situation like Jim.I can't connect to Access database from asp.net applicaiton using OLEDB.

after a >> couple times<< this code is used is a class it comes with an error saying unhandled System.Data.OleDb.OleDbException' occurred in system.data.dll Any suggestions what could be wrong. after a >> couple times<< this code is used is a class it comes with an error saying unhandled System.Data.OleDb.OleDbException' occurred in system.data.dll Any suggestions what could be wrong. the error pops after about the 20th iteration. Let's work to help developers, not make them feel stupid.

As I said, I have 8000 records in each of the tables. The implementations of both of these properties nest back to the HResult property of the Exception class they ultimately derive from.- Aaron Director of Technology, LifeTips.comMicrosoft VB MVP 2006Microsoft Certified Solution The page loads, but when connection to the database is attempted to fill a datagrid the following error is generated. What works on my home computer does not always work on the Host's machine.

Thanks in advance. please help. I wonder if that would help, or if the Jet component specifies its own address regardless of what address its host specifies as a starting point. Thanks, Jim Description: An unhandled exception occurred during the execution of the current web request.

I don't think that the solution above will completely solve my problem, though. lucy Nov 19 '05 #6 P: n/a lucy I tried standard security and workgroup connection string and I got the same error message. You never close the connection, so when you try to open another one, the file is locked by the first connection. Also, you should NEVER use Exit Function.

I'm at a complete loss! I also gave it permissions on the Temp folder in Documents and Settings\FRED\aspnet\Local Setttings, but this didn't help either. At the very least, you should have the following line in every Catch block: Code: Debug.WriteLine(oException.ToString()) You'll then get some useful information in the Output window when the exception is caught. Thanks, Jim Description: An unhandled exception occurred during the execution of the current web request.

In rowpostpaint event of datagridview, it will call and get a returning value from a function. It also appears as though you're doing a database query after the paint OF EVERY VISIBLE ROW of a DGV. I was told that the updating many records would cause this problem but using a Select/Insert Into statement would fix it. It works fine. Registration is fast, simple and absolutely free . http://nerd.steveferson.com Reply linhlinhmail None 0 Points 6 Posts Re: System.Data.OleDb.OleDbExceptio...

To do this, follow these steps: a. Open the excel file 2. Not a permission problem but maybe some handle counter in the OleDb driver. And started getting the Unknow error (everything worked before) It was case 2. I am woman, 24 years old from Spain I enjoyed here. For Olympus start: Out of a class - 5 Class-5. How do we know certain aspects of QM are unknowable? unknowndentified10111 15-Jul-11 4:08am I did not mean to offend you. :P I'm just like this. If it does, it is becaus...