dotConnect for Snowflake Documentation
On this page
    FAQ
    On this page

    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.

     

    Installation and Deployment

    1. How do I upgrade to a newer version of dotConnect for Snowflake?

      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.

    2. How do I deploy my application?

      To deploy an application that uses 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).
      • If your application uses provider factories, you also need to make dotConnect for Snowflake available to the system.

      For detailed instructions on each of these steps, see Deployment and Activation.

    3. How do I install dotConnect for Snowflake on a machine without Visual Studio installed?

      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.

    4. Can I use dotConnect for Snowflake in Visual Studio Code, JetBrains Rider, or other IDEs?

      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.

    5. How can I use dotConnect for Snowflake through DbProviderFactory?

      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:

      DbProviderFactories.RegisterFactory(
          "Devart.Data.Snowflake", SnowflakeProviderFactory.Instance);
      
      DbProviderFactory factory =
          DbProviderFactories.GetFactory("Devart.Data.Snowflake");
      
      using (DbConnection connection = factory.CreateConnection()) {
        connection.ConnectionString = "Domain=myorg-myaccount.snowflakecomputing.com;...";
        connection.Open();
      }

      The factory supports creating the following provider-specific objects:

      • SnowflakeConnection
      • SnowflakeCommand
      • SnowflakeParameter
      • SnowflakeDataAdapter
      • SnowflakeCommandBuilder
      • SnowflakeConnectionStringBuilder
    6. I have received a message that Devart.Data is incompatible...

      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.

    Subscriptions and Upgrades

    1. I have a registered version of dotConnect for Snowflake. Will I need to pay to upgrade to future versions?

      All upgrades to future versions are free to users with an active dotConnect for Snowflake subscription.

    2. What are the benefits of the dotConnect for Snowflake Subscription Program?

      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:

      • Access to new versions of dotConnect for Snowflake as they are released.
      • Access to all dotConnect for Snowflake updates and bug fixes.
      • Product support through the dotConnect for Snowflake Priority Support program.
      • Notifications of new product versions.

      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.

    3. Can I continue using my version of dotConnect for Snowflake after my subscription expires?

      Yes, you can. Licenses for dotConnect for Snowflake are perpetual.

    Technical Licensing

    1. What is the licensing you use?

      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.

    2. How do I get and activate the license key?

      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.

    3. How do I provide the license key to a deployed application?

      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.

    4. I get a licensing exception when opening a connection. What should I do?

      This means that a valid license key cannot be found or that the key has expired. Check the following:

      • The License Key connection string parameter contains the full key without any extra characters.
      • The trial key has not expired. If you have purchased the product, replace the trial key with your license key in the connection string and reactivate the product.
      • The key is for dotConnect for Snowflake, not another Devart product.
    5. I am having problems with the licensing in my project... What should I do?

      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.

    6. Do end users need a license?

      No, end users of your application don't need a license.

    Connection Pooling

    1. I call SnowflakeConnection.Open() and then Close(). Is the connection really closed?

      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.

    2. I get the following exception: "Timeout expired. The timeout period elapsed..." What should I do?

      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.

    3. How can I prevent potential connection pooling problems?

      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.

    Documentation Problems

    1. How do I open documentation on dotConnect for Snowflake?

      There are several ways to open dotConnect for Snowflake documentation:

      • Use the online documentation.
      • Open it from Visual Studio: on the Tools menu, point to Snowflake, then click dotConnect for Snowflake Help.
    2. All topics in the CHM file are blank.

      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.

    ORM Solutions

    1. Is Entity Framework supported?

      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.

    Miscellaneous

    1. No components appear in the toolbox.

      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.

    2. Can I use dotConnect for Snowflake assemblies in a x64 process?

      dotConnect for Snowflake assemblies are built with the /platform:anycpu option, so you can use them on both x86 or x64 platforms.