This page contains frequently asked questions about dotConnect for Snowflake. When you have a question, check this list first. If this page does not contain the answer, refer to the support page.
Close all running IDEs and help collections, then run the installation package for the newer version. When prompted to uninstall the previous version, confirm and proceed with the installation. If you use NuGet packages, update the Devart.Data.Snowflake package and, if applicable, the Devart.Data.Snowflake.EFCore package to the new version.
To deploy an application that uses dotConnect for Snowflake, you need to:
For detailed instructions on each of these steps, see Deployment and Activation.
Select the Minimal installation option when prompted by the installer. Alternatively, skip the installer at all and add the Devart.Data.Snowflake NuGet package to your project.
Yes. Add the Devart.Data.Snowflake NuGet package (and Devart.Data.Snowflake.EFCore for Entity Framework Core) to your project. Then specify the license key. Design-time features (Server Explorer integration, toolbox components, and wizards) are available only in Visual Studio.
dotConnect for Snowflake provides the SnowflakeProviderFactory class, which enables applications to create provider-specific objects through the standard ADO.NET factory mechanism. The provider invariant name is Devart.Data.Snowflake.
You can access the factory directly through the SnowflakeProviderFactory.Instance field or register it and retrieve it using the provider invariant name.
In .NET Core and .NET 5 or later, use the DbProviderFactories.RegisterFactory method to register the provider factory:
The factory supports creating the following provider-specific objects:
Devart data providers share common assemblies (Devart.Data.dll and Devart.Data.SqlShim.dll), so you must install compatible versions of the providers. We release our ADO.NET data providers in a single package, so releases from the same date should be compatible. Also, Devart data providers should warn you if an incompatible version of Devart.Data.dll is detected before installation.
All upgrades to future versions are free to users with an active dotConnect for Snowflake subscription.
The dotConnect for Snowflake Subscription Program is an annual maintenance and support service for dotConnect for Snowflake users.
Users with a valid dotConnect for Snowflake Subscription receive the following benefits:
Priority Support is an advanced product support program that offers you expedited individual assistance with dotConnect for Snowflake-related questions from the dotConnect for Snowflake developers themselves. Priority Support is carried out over email and has a response time of two business days.
Yes, you can. Licenses for dotConnect for Snowflake are perpetual.
dotConnect for Snowflake uses activation-key-based licensing. To work, the provider requires a valid activation key: either a trial key or a key for the purchased license. Without a valid key, dotConnect for Snowflake does not work.
You can obtain a trial or activation key from the Devart website or in Visual Studio: on the Tools menu, point to Snowflake, then click Get Activation or Trial Key.
To activate the product on the development machine, enter the key in the installer or click Activate or Get License Information on the same menu.
If you use only NuGet packages, use the console activator included in the Tools folder of the Devart.Data.Snowflake package.
Specify the key in the License Key connection string parameter. For example:
Domain=myorg-myaccount.snowflakecomputing.com;User=your_user;Password=********;Database=your_database;License Key=**********
Alternatively, call the static SnowflakeConnection.LoadLicenseKey method before opening the first connection.
This means that a valid license key cannot be found or that the key has expired. Check the following:
If you encounter licensing problems in your project, you should use the License Information dialog box to resolve them. To open it, on the Tools menu, point to Snowflake, then click Activate or Get License Information.
No, end users of your application don't need a license.
The connection is returned to the pool. This is how connection pooling works: the connection object, along with its authentication data, is retained for reuse by your application. As a result, the next call to Open() does not need to authenticate with Snowflake again, which improves performance.
The full exception message is "Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached." This message indicates that no connections are available in the pool. To solve the problem, increase the Max Pool Size connection string parameter value, make sure your code closes connections after use, or clear one or all of the pools. Alternatively, you can turn off connection pooling by setting the Pooling connection string parameter to false.
You can clear the pool explicitly. To force the operation, call the ClearPool or ClearAllPools methods. Alternatively, you can turn off the pool completely by setting Pooling=false in the connection string. If this does not help, the problem is not caused by connection pooling.
There are several ways to open dotConnect for Snowflake documentation:
By default, Windows blocks downloaded CHM files. In most cases, it is enough to right-click the CHM file, select Properties, click Unblock, then click Apply to show the contents.
dotConnect for Snowflake supports Entity Framework Core versions 3.1, 8, 9, 10, and 11 through the Devart.Data.Snowflake.EFCore NuGet package. Classic Entity Framework (EF6) is not supported.
This can happen if an issue occurred during installation. You can add the components to the toolbox manually. To do this, right-click the toolbox and select Add Tab to create a tab for the components, for example, Snowflake Data. Then right-click this tab and select Choose Items. On the .NET Framework Components tab, click Browse, select Devart.Data.Snowflake.dll in the installation folder (by default, C:\Program Files (x86)\Devart\dotConnect\Snowflake), and click OK.
dotConnect for Snowflake assemblies are built with the /platform:anycpu option, so you can use them on both x86 or x64 platforms.