Most voted "connectionstring" questions
40 questions
Sort by count of
-
9
votes2
answers2804
viewsWhat is the "connectionString" connection string?
What is after all to string connecting? In a string of connection what represents the data-source? And the provider name?
-
7
votes1
answer334
viewsSqlserver English Error Messages - (Localdb) v11.0
I’m developing an app with Entity Framework 6 using the approach Code-First. I want to configure Sqlserver (Localdb) v11.0 to display error messages in English without using SQL Server Management…
-
7
votes1
answer1263
viewsApp.config how to use`Connectionstring` encrypted
In my app.config I have a section that for my String connecting: </configSections> <connectionStrings> <add name="Azure.Onee"…
c# winforms cryptography connectionstring app.configasked 8 years, 2 months ago Thomas Erich Pimentel 3,059 -
6
votes2
answers519
viewsWhat is the best place to store the connection string?
There are some possible places to store the string connecting. Leave tied inside the code, app.config, Windows registry and configuration file. What is the best place to store string connection?…
-
6
votes3
answers106
viewsIs there any way to interpret (parser) from a string Connection to an object?
There is a certain library that I am using where I need to pass separately as parameter, separately, the connection values with the database: Username, Password, Host and Database. I took this…
-
5
votes1
answer1694
viewsThe 'Oraoledb.Oracle' Provider is not Registered on the local machine
I have a problem that is limiting my work, it is the following, I created a Webservice with a connection string to an oracle database : OleDbConnection con = new…
-
3
votes1
answer1103
viewsRemote connection, C# with SQL Server (2008)
I’m a beginner in C#, and I’m trying to remotely connect my C# application to a SQL Server database that is on another PC (the PC is not on the same network, it’s my friend’s), but it’s giving…
-
2
votes1
answer738
viewsCreate ODBC Connection
I am performing the integration of my system with the SEFIP. The database is in Interbase (.gbd). I can connect to the database via Microsoft Access normally. I created an ODBC connection manually…
-
2
votes1
answer212
viewsWhat is the difference between Integrated Security and Persist Security?
In connection strings with SQL Server I usually see the options Integrated Security and Persist Security, What each of them means and what values they can receive? This doubt arose me seeing the…
-
2
votes1
answer3054
viewsNodejs / Mongodb: Deprecationwarning: Current URL string parser is deprecated, and will be Removed in a Future version
I’m in trouble in: let options = 'replicaSet=XPTO&readPreference=secondary'; var url = `mongodb://${user}:${password}@${host}/admin?${options}`; Deprecationwarning: Current URL string parser is…
-
2
votes1
answer42
viewsHow can I timeout an attempt to connect to SQL Server using sqlalchemy?
I have a list of 200 hosts to connect. The problem is that when I try to connect to a host that is not available, it takes about 10 seconds for me to receive an exception telling me that I have not…
-
2
votes2
answers116
viewsDbcontext finds Connection String in Web Project, but not in Console App project
I have a project Class Library which contains the context, configuration files and access classes to the database. His reference in an Asp.Net MVC project works normally, he accesses the data and so…
-
2
votes1
answer337
viewsError when connecting to Sqlserver C# Web.config database
I’m trying to make an application .NET MVC, but when I connect to the bank is giving the following error: An Exception of type 'System.Nullreferenceexception' occurred in Gerarxml.dll but was not…
-
2
votes1
answer382
viewsError c# and Mysql: Authentication with old password no longer supported, use 4.1 style passwords
Context: We have an application built a few years ago in ASP 6 that accesses a Mysql database, there on Localweb. To make the connection, the application uses the Mysql ODBC 5.1 driver. and works…
-
1
votes2
answers599
viewsSQL to bd connection on the network
I developed a C# application that uses SQL Express that initially the bd and the application were installed on a single machine. The client now needs the comic to be available from another computer…
-
1
votes2
answers604
viewsWhat is the Connection String used to make the connection between Cobol and B.D. Oracle?
I can’t connect a Micro Focus program Cobol and the database Oracle. I’m using the remote: EXEC SQL CONNECT :USERNAME IDENTIFIED BY :PASSWD END-EXEC The error that returns me is: Please specify…
-
1
votes1
answer155
viewsUsing Dynamic Connection String in Asp.Net Webforms and Windows Forms
I’m working on a project with 4 layers (Banco, RegraNegocio, Webforms and Windows Forms). I made the following references: Webforms > Regranegocio > Banco winforms > Regranegocio > Banco…
-
1
votes1
answer59
viewsConnectionstring according to scenario
Hello, good morning! I have a project where there are two scenarios, which is approval and production. In this same project I created two connectionstrings, setting one for each scenario. In the…
-
1
votes1
answer345
viewsError (Connected String) Asp . Net MVC - Visual Studio 2013 and SQL Server 2012
I have a problem with my MVC Asp.Net. I created the Connection String inside Webconfig, <connectionStrings> <add name="connSql" providerName="System.Data.SqlClient" connectionString="Data…
asp.net-mvc web-application exception visual-studio-2013 connectionstringasked 8 years ago Marcelo Medeiros dos Santos 73 -
1
votes0
answers40
viewsPivottablewizard() "Connection" parameter
Hello, could someone provide me an example of using the appropriate parameter connection of the method PivotTableWizard()? When I use this parameter I get the error: Unable to obtain the…
-
1
votes2
answers3651
viewsThe 'Oracle.DataAccess.Client.Oracleconnection' type initializer triggered an exception with c#
My wpf program worked very well. They moved it to make some changes. Well, they asked me to change some folders in the application. Before I make any changes I went to run the application and is…
-
1
votes1
answer213
viewsError when connecting to database [Winform/C#/SQL Server]
My C# teacher taught us a new technique today, one does not need to inform Connectionstring itself, the program would go to the document folder and pick up the file . mdf (SQL Server) and open the…
-
1
votes0
answers249
viewsError connecting to database via Visual Studio
I am trying to add a database to my application, the first I got, however when trying to add another database is returned me the following error: A network-Related or instance-specific error…
-
1
votes0
answers1274
viewsConnecting C# to SQL Server
I am trying to connect a program to the database hosted on SQL Server, but am having problems.. When the program runs, the login screen is the first to appear, and from it I need to open the second…
-
0
votes1
answer166
viewsSql CE 3.5: Data generation probelma
When trying to generate Datacontext to a Windowsphone 8.1 project, through the SQL Server Compact Toolbox interface: -Generate Code (EF/LINQ to SQL/Syncfx) >> Add Windows Phone Datacontext to…
-
0
votes2
answers1539
viewsPublish Windows Form C#
I have an application developed with Windows Form C# + Entity Framework V6.1.3, where I use an existing database. The application works correctly, in Visual Studio 2013, where I am developing. My…
-
0
votes1
answer74
viewsTranslate Connection String H2 (JDBC) to Mysql (JDBC)
Personal talk, I’m trying to run the OW2 Orchestra software, and it comes with a standard connection string belonging to H2 in the following format:…
-
0
votes1
answer100
viewsChange database instance
I am doing a project in MVC and my problem is that my database is automatically created in the "localdb" instance, but I wanted it to be created in my instance that I created in SQL Server. Is there…
-
0
votes0
answers259
viewsI cannot connect to Mysql database
I have a classic ASP application and I am not able to connect to the database. I have configured all the right settings stringConexate = "DRIVER={Mysql ODBC 5.3.9 ANSI Driver}; SERVER=localhost;…
-
0
votes1
answer291
viewsConnectionstring returning null
When trying to run my project is returned me the error: System.Nullreferenceexception: 'Object reference not set to an instance of an object.' I have a bank class with the manufacturer: public bd()…
-
0
votes1
answer2633
viewsC# - Get Connectionstring from Appsettings.Json of a dotnet Core MVC application from a Data Access Library
I have an application in . Net Core MVC and I do the data access part using a Dll. How to configure a Connection String according to what was configured in my appSettings.Json of the Netcore MVC…
c# asp.net-core .net-core connectionstring configurationmanagerasked 5 years, 5 months ago Arthur Gresele 1 -
0
votes1
answer218
viewsConnection String not found WPF Entity Framework
I am in a WPF project using some MVVM practices, I am using Entity Framework database first and the Connection string is already in the app.config, I have already followed all the procedures I have…
-
0
votes0
answers139
viewsLocaldb in visual Basic does not connect
My application does not connect to localDB. I’ve updated the SDT, changed the connectionstring in App.config but nothing works. The part of the code where I establish the connection is this: Dim…
-
0
votes0
answers192
viewssql related error
Good night, I am trying to register in my application, but is returning me the following error: Instance-specific or network error when connecting to SQL Server. The server was not found or not…
-
0
votes2
answers156
viewsPHP does not recognize connection as parameter
I’m making a system using MVC (first time I use it in PHP), and when I will login appears: Uncaught Argumentcounterror: Too few Arguments to Function Login::login(), 2 passed in C: wamp64 www…
-
0
votes1
answer137
viewsmvc application with visual studio code, Connection Strings
I am using Visual Studio Code with the extension mssql on linux and need to get the Connection String from a database I’ve already created, but I’m not getting. The teacher of the course that I am…
-
0
votes2
answers148
viewsOpen connection more than once in C#
I am developing a service in c#. calls a function to check if it has active records. if you have any record call another function to select the data referring to the first query. When I run my…
-
0
votes1
answer229
viewsconnectionString Local Network Asp.Net MVC SQL SERVER
I am trying to connect a bank in my application, which is networked, so I have put the following path: <connectionStrings> <add name="smc" connectionString="Data Source=192.168.0.29;…
-
0
votes0
answers40
viewsAPI in . NET Core - api does not find connection string from appsettings.json
I did all the development on a windows machine but after almost a week I was able to deploy on a Ubuntu 18.04 machine and set the settings to access via https. But now I came across the following…
-
-2
votes1
answer900
viewsError: No support for keyword: 'Provider'
I have to maintain a system and it is with a problem that I can not solve for 1 month because of a connection failure. There is no support for the keyword: 'Provider'. Description: An untreated…