You get this error when running your application:
The type 'System.Data.OracleClient.OracleType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
This error typically occurs when calling a custom stored procedure, perhaps by overriding a button click method.
Reference the System.Data.OracleClient.dll in your application. This can be accomplished in Visual Studio or other code editors.
Step 1: Add System.Data.OracleClient.dll to the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 folder.
Step 2: Reference the System.Data.OracleClient dll in your application code. To do this, open your application in Visual Studio, right-click the root at the top above the App_Code folder in the Solution Explorer, and select add Reference.
Then select the Browse tab and browse for the System.Data.OracleClient.dll. Finally, click OK.
Step 3: Rebuild your application in Visual Studio.
Application Runs But No Data is Displayed
Part VII: Troubleshooting Applications
Application Runs But No Data is Displayed