This page contains frequently asked questions about dotConnect for Snowflake. When you have a question, first of all please browse through this list. If this page does not contain the answer, refer to the support page. For questions about the license agreement, see License Agreement FAQ.
Installation and deployment
dotConnect for Snowflake requires .NET Framework 4.5 or later, .NET Core 2.0 or later, or .NET 5.0 or later.
Close all running IDEs and help collections, then run the installation package of the newer version. You will be prompted to uninstall the previous version; agree and then proceed to installing the newer build. If you use NuGet packages, update the Devart.Data.Snowflake package (and Devart.Data.Snowflake.EFCore, if used) to the new version.
To deploy an application written with dotConnect for Snowflake, you need to:
- deploy the Devart runtime assemblies used by your application: Devart.Data.Snowflake.dll, Devart.Data.SqlShim.dll, and Devart.Data.dll, plus Devart.Data.Snowflake.EFCore.dll for Entity Framework Core applications. If you reference the provider via NuGet packages, these assemblies are copied to the output folder automatically;
- provide the license key (see the Technical licensing section below);
- in case your application uses provider factories, you also need to register dotConnect for Snowflake in the system.
For the detailed description of each of these steps, refer to the Deployment and Licensing topics in dotConnect for Snowflake help.
Select the Minimal installation type when prompted by the installer. Alternatively, do not run 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 and specify the license key. Design-time features (Server Explorer integration and component editors) are available only in Visual Studio.
Devart data providers use common assemblies (Devart.Data.dll and Devart.Data.SqlShim.dll), so it is necessary to install compatible versions of the providers. We release our ADO.NET data providers in a single pack, thus releases from the same date should be compatible. Also, Devart data providers should warn you before installation if an incompatible version of Devart.Data.dll was detected.
Subscriptions and upgrades
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 get the following benefits:
- Access to new versions of dotConnect for Snowflake when they are released
- Access to all dotConnect for Snowflake updates and bug fixes
- Product support through the dotConnect for Snowflake Priority Support program
- Notification of new product versions
Priority Support is an advanced product support program which 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 two business day response policy.
Yes, you can. dotConnect for Snowflake version licenses are perpetual.
Technical licensing
dotConnect for Snowflake uses activation key licensing. To work, the provider requires a valid activation key: either a trial key or a key of the purchased license. If no valid key is available, dotConnect for Snowflake does not work.
You can get a trial or activation key on the Devart website or in Visual Studio: on the Tools menu, point to Snowflake and 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 in the same menu. If you use only NuGet packages, use the console activator that is 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=your_password;Database=your_database;Warehouse=your_warehouse;License Key=your_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 it has expired. Check the following:
- the
License Keyconnection string parameter contains the full key without extra characters; - the trial key has not expired: if you have purchased the product, replace the trial key with the key of your license in the connection string and in the product activation;
- the key belongs to dotConnect for Snowflake and not to another Devart product.
Use the License Information dialog box to resolve them. To open it, on the Tools menu, point to Snowflake and then click Activate or Get License Information.
No, end-users of your application do not need their own license. However, to distribute your application to third parties, you need the OEM license.
Connection pooling
The connection is returned to the pool. This is the Connection Pooling feature: the connection object, together with its authentication data, is kept to be reused later by your application, so the next Open() does not have to log in to Snowflake again. This boosts performance.
The full text of the exception 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." It states that you have run out of connections available. To solve the problem, increase the value of the Max Pool Size connection string parameter or make sure your code closes connections after use. You can also turn connection pooling off with the Pooling connection string parameter.
Make sure your code closes connections after use. If problems remain, disable the pool completely (set Pooling=false in the connection string). If this does not help, the problem is not caused by pooling.
Documentation problems
There are several ways to open dotConnect for Snowflake documentation:
- Use the appropriate shortcut in the Start menu, for instance, Start > Programs > Devart dotConnect for Snowflake > Documentation.
- Use the online documentation.
- Open it from Visual Studio: on the Tools menu, point to Snowflake and then click dotConnect for Snowflake Help.
Downloaded CHM files are blocked on Windows operating systems by default. In most cases, it is enough to right-click the CHM file, select Properties, click Unblock, and click Apply to show the contents.
ORM solutions
dotConnect for Snowflake supports Entity Framework 4-6 and Entity Framework Core 3.1, 8, 9, 10, and 11. Entity Framework Core support is available via the Devart.Data.Snowflake.EFCore NuGet package.
Miscellaneous
This can happen if the installation encountered some problems. You can add the components to the toolbox manually. This procedure is described in the Installation article in the documentation.