Questions tagged as 'connectionstring'

2
answers

What is the connection string "connectionString"?

What is the connection string anyway? In a connection string which represents data-source ? And the provider name ?     
asked by 22.04.2016 / 20:02
1
answer

SQLServer Portuguese Error Messages - (LocalDB) \ v11.0

I'm developing an application with Entity Framework 6 using the Code-First approach. I want to configure SQLServer (LocalDB) \ v11.0 to display error messages in Portuguese without using SQL Server Management Studio . From the researc...
asked by 23.04.2014 / 15:24
3
answers

Is there any way to interpret (parser) a connection string for an object?

There is a particular library I am using where I need to separately pass the database connection values separately: Username, Password, Host, and Database. I took this project and someone else, and I noticed that the programmer, in addition t...
asked by 06.07.2017 / 13:55
1
answer

App.config how to use 'ConnectionString' encrypted

In my app.config I have a section that for my String connection: </configSections> <connectionStrings> <add name="Azure.Onee" connectionString="Server=tcp:tps****.database.windows.net,1433;Data Source=tps****.databas...
asked by 12.09.2016 / 14:52
2
answers

What is the best place to store the connection string? [closed]

There are a few possible places to store the string connection. Leave tied inside code, app.config , configuration file and Windows registry. What is the best place to store the string connection? Based on the requirements, security...
asked by 02.06.2016 / 15:41
1
answer

The 'OraOLEDB.Oracle' provider is not registered on the local machine

I have a problem that is limiting my work, this is the following, I created a WebService with a connection string for a database in oracle: OleDbConnection con = new OleDbConnection("Provider=OraOLEDB.Oracle.1;Persist Security Info=Fa...
asked by 27.06.2017 / 15:37
1
answer

Remote Connection, C # with SQL Server (2008)

I'm new to C #, and I'm trying to connect my C # application remotely with a SQL Server database that is on another PC (the PC is not on the same network, it's my friend's), but it is giving error. A before they say that I have already set up th...
asked by 07.07.2015 / 01:07
1
answer

What is the difference between Integrated Security and Persist Security?

In SQL Server connection strings I usually see the options Integrated Security and Persist Security , what does each mean and what values can they receive? This question came to me by seeing the comments of the following questio...
asked by 31.07.2018 / 16:22
1
answer

Error connecting to SQLServer database C # Web.config

I'm trying to make a .NET MVC application, but when I'm going to connect to the bank it's giving the following error:    An exception of type 'System.NullReferenceException' occurred in GerarXML.dll but was not handled in user code Add...
asked by 27.07.2017 / 01:08
2
answers

DbContext finds Connection String in Web Project, but not in Console App project

I have a Class Library project that contains the context, configuration files, and database access classes. Its reference in an Asp.Net MVC project works normally, it accesses the data and etc, but in a project of type Console Applicat...
asked by 29.12.2016 / 19:27