connection-string Questions

16

Solved

Yes I read this How to find the port for MS SQL Server 2008? no luck. telnet 1433 returns connection failed, so I must specify other port. I tried to use netstat -abn but I don't see sq...
Amyl asked 6/9, 2012 at 9:57

3

Solved

I use .accdb file. I created class using System.Data.Entity; class MSADbContext:DbContext { public DbSet<Product> Products { get; set; } } and add connectionString <add name="MSA...
Femi asked 25/8, 2013 at 15:9

7

Solved

When I add two connection strings in the web.config, an error appears that tells me I can't add two connection strings in the web.config. I want the upper job because I have 2 databases and I want...
Negus asked 19/11, 2010 at 17:56

4

Solved

In my solution, I have a ASP.NET Core web project and a .NET Standard class library project. Class library project is the data access layer and I want to read the connection string from my appsetti...

5

Solved

I have a code that connect to oracle using connection string: conn = cx_Oracle.connect('username/password@server:port/services') But the problem is my password contain @ character so it may beco...
Mccallister asked 10/9, 2014 at 14:3

4

Solved

I'm developing a WPF application which depends on Entity Framework for data access. At the first time installation I need to create a new connection string based on the User input, then updating Ap...

3

I always forget to change connection string when publishing Winforms application. I'm using EF6 and .net framework 4.5. In App.config <connectionStrings> <add name="NarudzbeEntities" c...
Ampereturn asked 4/10, 2014 at 17:22

10

Solved

Which method is faster? Array Join: var str_to_split = "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z"; var myarray = str_to_split.split(","); var output=myarray.join(""); String Conca...
Repellent asked 4/9, 2011 at 0:4

2

Solved

A client has for many years been using an Excel VBA application to interact with a SQL database. Recently the database has been upgraded from TLS 1.0 to TLS 1.2, which caused the connection from VB...
Unaccountable asked 27/8, 2022 at 8:0

4

I have been digging for hours and keep coming up with information about .NET Core, yet hardly anything about .NET 4.7 full framework. I figured out how to add User Secrets to the main project of my...

6

Solved

How to add CommandTimeout to connection string in web.config? I tried: <add name="ConnectionString" connectionString="Data Source=;Initial Catalog=;Persist Security Info=True;User ID=sa;Pass...
Riojas asked 19/12, 2013 at 13:34

10

Solved

I just install EF 4.3 and trying to upgrade my project with migration. however I am getting issues with trying to execute add-migration initial to my project via Package Manager console. It is th...

3

I trying to create a application with use some Entity Framework and some old DataSets but I only have a dynamic connection string using entity and need remove metadata at runtime to create a connec...
Favored asked 17/5, 2011 at 11:58

14

Solved

I have a java program that runs a bunch of queries against an sql server database. The first of these, which queries against a view returns about 750k records. I can run the query via sql server ma...
Lilas asked 7/6, 2009 at 2:36

5

I am creating a website, but in the database I use windows authentication. I know that you use this for SQL authentication <connectionStrings> <add name="NorthwindContex" connectionS...
Stichometry asked 11/1, 2013 at 1:7

2

Solved

I am new to Asp.Net Core and EF. I am developing a simple CRUD from database-end, using the Secrets.json file to hide my connection string credentials. But I don't know how to reference the file us...

3

I am trying to use Blazor's CRUD functions and following some article to do this. In the article, there is a part that I should put my connection in context file, but it doesn't say how to set the ...
Vagabond asked 31/7, 2018 at 3:47

3

Ok, I want to recreate a project that I created using EF 4.1 to EF 5.0, simple enough or at least I thought. One of the things in my old project is that I was able to change the database connection...

11

I've added an alias of "." which should point to my local (named) instance, ".\SQL2008". But when I try to connect to ".", it times out. Am I missing something or is this not allowed? Aliases...

9

Solved

I have created a .Net Core API and I referenced a .Net framework application to it. The referenced Application connects to a data base and its connection string is stored in web.config file: stri...
Nasho asked 29/10, 2017 at 3:7

12

Solved

How can I get the user and password from such a connectionString in the app.config with a .NET function? Of course I could read that string and get the value after the ID= and Password=. <con...
Lactescent asked 26/10, 2011 at 8:14

4

Solved

I recently upgraded my MySQL instance from 5.7 to 8.0. I connected to my old instance using JDBC and a connection string that looked like this: jdbc:mysql://[host:port]/[database]/?sessionVariable...
Obliquity asked 25/4, 2018 at 12:1

3

Solved

I am trying to connect to Datasource but getting this error: An error occurred during local report processing. An error has occurred during report processing. Cannot create a connection to data ...

1

Solved

I created server through docker with command: docker run -d — name MySQLServer -e ‘ACCEPT_EULA=Y’ -e ‘SA_PASSWORD=your_password123’ -p 1433:1433 mcr.microsoft.com/azure-sql-edge I'm working on an M...

7

Solved

I have looked around online for a while now and found many similar problems but for some reason I can't seem to get this working. I am just trying to connect to a SQL server database and output the...
Macneil asked 5/9, 2014 at 9:27

© 2022 - 2024 — McMap. All rights reserved.