Argument exception while accessing MS Access database


#1

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


#2

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.