connection-string Questions

3

Solved

Trying to create a "read only" intent connection string against SQL Server 2012 high availability Group, following this article, I am getting: System.ArgumentException: Keyword not supported: 'a...

5

Solved

I've got a DB connection string that I'm creating in my web.config: <connectionStrings> <add name="DBConn" connectionString="Data Source=<db svr>;Initial Catalog=<...
Bamby asked 15/1, 2010 at 10:26

18

Solved

When I start my application I get: The ConnectionString property has not been initialized. Web.config: <connectionStrings> <add name="MyDB" connectionString="Data Source=l...
Tejeda asked 17/6, 2009 at 15:30

3

Solved

I have a running local instance of PostgreSql on a linux machine. When I use psql command from the shell I success to log in without any problem. I need to connect to the PostgreSql via the JDBC, b...
Koheleth asked 30/12, 2010 at 12:11

6

Solved

I'm using .NET 4.0, MVC3, and EF5 with code first. My solution is split up into three projects, with the dependencies as indicated: Project.Web -> Project.BLL -> Project.DAL The Project.DAL laye...

6

Solved

I am very confused with the way charset and encoding work in SQLAlchemy. I understand (and have read) the difference between charsets and encodings, and I have a good picture of the history of enco...
Horehound asked 24/7, 2017 at 11:48

13

I can connect to the DB through terminal, but getting this error using mongoose and gulp. mongoose/node_modules/mongodb/lib/mongodb/connection/base.js:246 MongoError: auth failed My connection st...
Interchangeable asked 7/5, 2015 at 15:42

16

Solved

I want to read just a connection string from a configuration file and for this add a file with the name "appsettings.json" to my project and add this content on it: { "ConnectionStrings": { "Defa...
Syllogism asked 22/8, 2016 at 15:26

6

Using a Postgresql URL connection string in the format of: postgresql://user:secret@localhost How do I handle special characters in that string (e.g., $) so that it will actually function when I...
Toweling asked 29/4, 2014 at 0:46

5

Solved

With SQL Server 2005 and 2008 is it possible to set the default schema from the connection string? It'd be a lot easier if we didn't have to manually set the schema with SQL code.
Barcroft asked 19/7, 2010 at 15:48

3

Solved

I developed a Azure Function in Visual Studio and it works when published in Azure (since a year ago). Now I made a template from that Azure Function, in Visual Studio, and I changed some details...
Aleris asked 25/10, 2018 at 13:47

20

Solved

Working with my project in debug I have no issues. However running it in IIS I am getting this error: System.Data.SqlClient.SqlException: Login failed for user 'domain\name-PC$'. Stack Trace [Sq...
Bourne asked 14/3, 2014 at 20:39

14

Solved

I have the following class in NET Core2.0 App. // required when local database does not exist or was deleted public class ToDoContextFactory : IDesignTimeDbContextFactory<AppContext> { publ...
Buhler asked 21/8, 2017 at 12:9

6

I recently upgraded to Entity Framework Core 7 in development and I'm getting an exception: A connection was successfully established with the server, but then an error occurred during the login p...
Brower asked 16/11, 2022 at 21:48

3

Solved

https://www.npgsql.org/doc/connection-string-parameters.html Include Error Detail - When enabled, PostgreSQL error and notice details are included on PostgresException.Detail and PostgresNotice.De...
Macaw asked 20/10, 2022 at 14:37

4

Solved

I am very confused. I want to get a connection string in an Azure v3 function (.Net Core 3.1). My local settings looks like { "IsEncrypted": false, "Values": { "AzureWeb...

9

Solved

I have an ASP.NET MVC application with the default membership database. I am accessing it by ADO.NET Entity Framework. Now I want to move it to IIS, but several problems showed up. I had to install...
Beshrew asked 10/9, 2009 at 9:28

9

Solved

I've been trying to edit my connection string for uploading my website to a server. I am not really experienced with this. I got this exception: the Keyword not supported: 'server'. Here is my conn...

4

Solved

I am trying to move my webpage(c#) to ISS 7.5 server. I have read that i need to put the in WEBCONFIG to achieve the conection with sql server 2008. I already did that. Here is my WEBCONFIG &lt...
Yellowthroat asked 6/1, 2015 at 11:45

6

I am trying to read from an SQL Server database which is hosted on MS Azure, through an ASP.NET WebForms website created in Visual Studio 2013. I've stored the Connection String in Web.Config, and...
Thermal asked 15/2, 2017 at 11:33

20

Solved

I uploaded my site on godaddy shared host. I can access this database from my management studio. I can't access this database from my site. I get following error: Format of the initialization st...
Lawful asked 27/1, 2012 at 21:22

2

Solved

I'm working on a Docker related application, written in C#, based on Entity Framework. One of the Docker containers, is the ms-sql-server, which is used for database access. In order to access the ...

6

Solved

I'm using Visual Studio 2017 for mac with dotnet Core and EF Core. After setting up the mssql image in Docker container , I was trying to add the connection string but throwing connection error. I ...
Understanding asked 16/8, 2017 at 11:17

5

I'm trying to update the contents of a zip file created from an Excel document. I want to replace some of the content of \zipfile\xl\connections.xml. This partial script will list the contents of t...
Japan asked 27/8, 2014 at 23:26

3

Solved

I'm using SQLalchemy for a Python project, and I want to have a tidy connection string to access my database. So for example: engine = create_engine('postgresql://user:pass@host/database') The pro...
Porterhouse asked 14/9, 2009 at 20:41

© 2022 - 2024 — McMap. All rights reserved.