Argument exception while accessing MS Access database

Hi All,

I am getting following exception after retrieving data from MS access database.Please help me on this error.

NOTE:I am able to retrieve data correctly as per the query

Source: System.Data

Message: Value cannot be null.
Parameter name: providerInvariantName

Exception Type: ArgumentNullException

System.ArgumentNullException: Value cannot be null.
Parameter name: providerInvariantName

Thanks
Nagaraj C

Hi,

Means that the connection name is not exactly correct, so search for it, and make sure that there is no other words before it. possible place your connection string here.