Giter Club home page Giter Club logo

Comments (8)

ikudjoi avatar ikudjoi commented on August 29, 2024 2

I had similar problems with the connection string. A cs like this worked for me:
"ACCOUNT=XXXXXX;HOST=XXXXXX.east-us-2.azure.snowflakecomputing.com;USER=[email protected];PASSWORD=ggg";

So the region information in this context does not belong to the account but to explicitly defined host.

from snowflake-connector-net.

rshenton avatar rshenton commented on August 29, 2024

I had a similar problem with the documentation being a bit wonky. The documentation suggests that everything before '.snowflakecomputing.com' is part of the account, but this is not always true. The appropriate pattern for us is:

host=account_name_here.east-us-2.azure.snowflakecomputing.com;
account=account_name_here;

from snowflake-connector-net.

josefarinna avatar josefarinna commented on August 29, 2024

I'm having the same issue, but I think that the issue could be caused because our username is an email address and seems that the connector doesnt support the @.

from snowflake-connector-net.

Ferprimart avatar Ferprimart commented on August 29, 2024

Hi all,

I'm facing same problems... Not able to use the nuget package, as a workaround by the moment Im using the ODBC connector.

from snowflake-connector-net.

howryu avatar howryu commented on August 29, 2024

@rshenton @josefarinna Do you use Okta or SSO for authentication? If yes, then this is expected since SSO is not supported for now.

from snowflake-connector-net.

Ferprimart avatar Ferprimart commented on August 29, 2024

Hi @howryu we are using the connection like that:

using (IDbConnection conn = new SnowflakeDbConnection())
{
conn.ConnectionString = "ACCOUNT=XXXXXX.east-us-2.azure;USER=[email protected];PASSWORD=ggg";

            conn.Open();

            conn.Close();
        }

And we are getting the error of "Incorrect username or password was specified", we are not using SSO neighter Okta. We are using the same credentials for accessing to the web interface and it's working fine.

Thanks.

from snowflake-connector-net.

Ferprimart avatar Ferprimart commented on August 29, 2024

@ikudjoi It worked!!! Thanks so much for your comment 👍

from snowflake-connector-net.

howryu avatar howryu commented on August 29, 2024

Thanks everyone for the response. I will update the doc to explicitly indicate that account name should not include region or cloud provider info.

from snowflake-connector-net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.