connection-string Questions
13
Solved
I have a web API project which references my model and DAL assemblies. The user is presented with a login screen, where he can select different databases.
I build the connection string as follows:...
Dorothadorothea asked 26/11, 2013 at 11:42
3
Is there an easy way to get the connection string of a database listed in the connection window of LINQPad (other than using the object explorer of Visual Studio)?
Altdorfer asked 18/8, 2014 at 10:15
2
Solved
I am trying to connect SQL Server using knex with Windows Authentication from my node.js application.
Config:
{
client: 'mssql',
connection: {
database: 'MyDBName',
host: 'xx.xx.xx.xxx',
se...
Vasta asked 7/8, 2019 at 9:7
3
Solved
Every time I drag a modified table into my dbml, VS2010 wants me to update the connection string even though I have created a data connection with the exact same information. Every time this happen...
Mim asked 26/6, 2012 at 18:26
3
Solved
So I am connecting to an external server through C#. I just installed Oracle 11g client on my machine from here: http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html (255M...
Billi asked 24/9, 2012 at 19:16
2
I want to connect from java, to a database which i am currently managing from phpMyAdmin.
I do not own the server which the database runs.
however, i want to find the connection string of that dat...
Carleton asked 31/12, 2012 at 12:2
3
Solved
I'm trying to connect to an h2 database on my local machine to create a sql DataSource object. I'm running windows and i'm having some issues defining the path to the data file in my projects app.p...
Hostility asked 23/1, 2018 at 19:3
2
I can invoke psql like this:
psql postgres://...
How can I use pg_dump with a connection string in the format postgres://...?
Would be more convenient than breaking URI's into host, post, userna...
Grateful asked 13/3, 2015 at 18:28
2
Solved
At the moment I'm searching for properties for a connection string, which can be used to connect to an Excel file in readonly mode. Searching Google gets me a lot of examples of connection strings,...
Simplicity asked 29/4, 2010 at 7:16
22
var connection = ConnectionFactory.GetConnection(
ConfigurationManager.ConnectionStrings["Test"]
.ConnectionString, DataBaseProvider);
And this is my App.config:
<?xml version="1.0" encodi...
Jounce asked 30/6, 2011 at 14:54
1
Solved
I'm trying to get started with Azure ServiceBus, but the Gods of Documentation are against me. I'm following this MS article, which says this code will allow me to send a message...
public class Pr...
Clemente asked 3/6, 2021 at 8:37
4
Solved
I have an Azure Website that I use to host my MVC + Entity Framework project. When I run the site locally using the same connection to my SQL Azure database, everything works perfectly, but when I ...
Quintal asked 14/2, 2015 at 20:38
1
Solved
For user secret management, I use user secrets for the development stage and I want to use Azure key vault for release and staging.
I have this configuration
"ConnectionStrings": {
"...
Pointing asked 16/5, 2021 at 21:29
2
Solved
I have ASP.NET MVC app and I am trying to connect to Azure SQL database migrated on Azure.
I need to set my connection string in web.config and I have no idea where to look for the user id and pas...
Massage asked 21/9, 2018 at 17:59
1
Solved
Is there a way to force the connection to mongodb to be read-only via connection string? I don't want to have to create a read-only user in every environment to run some tests that I want to make s...
Hereabouts asked 23/4, 2021 at 16:30
4
Solved
I am a beginner and learning WPF Application. I have a simple project and in that I want to read DB Configuration string from App.Config File. But I am not able to do so. Below is my attempt:
APP....
Memorabilia asked 21/3, 2018 at 15:10
15
Solved
I have an MVC4 project that I am running using Azure websites preview.
My problem is that I cant upload a blob into my blob storage container when I have deployed my website to azure, however the ...
Marchpane asked 17/12, 2012 at 11:47
8
I have an Extension method on DbContext where I want to do a SqlBulkCopy. Therefore I need a SqlConnection. The connection from the DbContext is from the type DbConnection though.
Among a few othe...
Fatherly asked 3/6, 2013 at 20:17
7
Solved
How can I connect to a mysql database trough C#,
This is my connection string now:
connectionString="server=localhost;port=3306;user id=root;Password=*****;database=Data" providerName="MySql.Data...
Handfasting asked 29/5, 2012 at 21:12
7
Solved
I am using Webmatrix.data's Database entity to create a database connection, however it doesnt like my connection string. I am running it from MVC ASP.net.
Ive tried changing it to server / datab...
Kenny asked 16/11, 2011 at 11:13
2
Solved
Original (which works fine) docker file which connects to a SQL Server database in Azure looks like this:
version: '3.4'
services:
my.service:
build:
dockerfile: Test/Test/Dockerfile
environme...
Cerous asked 15/2, 2021 at 14:59
5
Solved
I'd like to set default database schema in Oracle Connection URL
jdbc:oracle:thin:@<server>:<port1521>:<sid>
My sample SQL statement:
select monkey_name from animals.monkey
...
Plagio asked 1/3, 2010 at 2:35
14
I am new to JDBC and I am trying to make a connection to a MySQL database.
I am using Connector/J driver, but I cant find the JDBC connection string for my Class.forName() method.
Parsec asked 22/9, 2009 at 1:33
2
ASP.Net Core, using version 5.0.100, and I am trying to publish my web application to a hosting provider. I am trying to figure out where to place my connection string. As of right now I have it in...
Rare asked 20/12, 2020 at 1:33
3
|DataDirectory|, you had one job. |DataDirectory| on IIS7.5 resolves to:
C:\inetpub\wwwroot\appname\App_Data
That folder does not exist. The correct folder is:
C:\inetpub\wwwroot\appname\bin\Ap...
Ellersick asked 9/9, 2013 at 21:0
© 2022 - 2024 — McMap. All rights reserved.