# The type or namespace name 'DriverNameConnection' could not be found

**URL:** <https://community.cdata.com/t/the-type-or-namespace-name-drivernameconnection-could-not-be-found/289>\
**Category:** Editions\
**Tags:** article, ado.net\
**Created:** [July 26, 2023, 2:25pm UTC](https://community.cdata.com/t/the-type-or-namespace-name-drivernameconnection-could-not-be-found/289 "2023-07-26T14:25:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luçjano\_Capo](https://sea3.discourse-cdn.com/cdata/user_avatar/community.cdata.com/lu%C3%A7jano_capo/32/1638_2.png) [@Luçjano\_Capo](https://community.cdata.com/u/Lu%C3%A7jano_Capo)\
**Post date:** [July 26, 2023, 2:25pm UTC](https://community.cdata.com/t/the-type-or-namespace-name-drivernameconnection-could-not-be-found/289/1 "2023-07-26T14:25:54Z")

</div>

This error occurs when our driver’s file is missing from the References. In this example, I will be using Survey Monkey provider. To be able to use our ADO .NET for SurveyMonkey in Visual Studio follow these steps:

1. Open Visual Studio

2. Create a **Console App (.NET Framework)** project in C#

3. In the right panel (Solution Explorer) right-click on References

4. Add Reference…

5. Browse…

6. Find your  **System.Data.CData.SurveyMonkey.dll**  file which is by default located here: _C:\Program Files\CData\CData [ADO.NET](http://ADO.NET) Provider for SurveyMonkey 2022\lib_

Now you can refer to our documentation online to be able to [connect from code](https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcdn.cdata.com%2Fhelp%2FFMH%2Fado%2Fpg_ADOconnectcode.htm&data=05%7C01%7Csupportsent%40cdata.com%7C9225f6e5c1344fa6960c08db14db96d6%7Cbf6e4267a9fb419bae7b7586fab0ff66%7C1%7C0%7C638126705666281017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BHQ%2F4dO1q6SBS%2FrPDosV9ujtvQL4UYCB4wJAae1AkQg%3D&reserved=0). &nbsp;  
&nbsp;  
Here is an example of querying data from the Contacts table. _Please keep in mind to include the SurveyMonkey library → using System.Data.CData.SurveyMonkey._

 ![166ce599-20f0-42e9-a72c-e36b13fbd1e2.png](https://us1.discourse-cdn.com/cdata/original/2X/8/8336c5fe0c1a4dd30e864077e26b7bb5034e9af3.png)
