Base solution for your next web application
Open Closed

Connection String issue with Powertools #5410


User avatar
0
system15 created

Hi,

I am currently trying to use "load an entity" with ASP.NET Zero powertools but it is not accepting my connection string.

Please can someone inform me the correct format to use with this?

At the moment I am using it from my appsettings.json, eg. "Server=S15PC-04\SQLEXPRESS; Database=DemoNg5Db; Trusted_Connection=True;"

Thanks!


4 Answer(s)
  • User Avatar
    0
    yekalkan created

    What exactly is the error message?

  • User Avatar
    0
    system15 created

    "Keyword not supported" with whatever is first. I've tried numerous different options.

  • User Avatar
    0
    ismcagdas created
    Support Team

    @System15, could you share the full stack trace ?

  • User Avatar
    0
    maharatha created

    use it like the below :

    Server=S15PC-04\SQLEXPRESS; Database=DemoNg5Db; Trusted_Connection=True;

    Remove the extra ""