Tagged Questions
0
votes
0answers
12 views
Request time out even after setting the pooling option for connection string
Timeout expired. The timeout period elapsed prior to obtaining a
connection from the pool. This may have occurred because all pooled
connections were in use and max pool size was reached.
Hi ...
0
votes
1answer
37 views
Trusted_Connection and Encrypt in Azure SQL connection string?
A typical Azure SQL Database connection string is as follows:
Server=[server];
Database=[database];
User ID=[user];
Password=[password];
Trusted_Connection=False;
Encrypt=True;
Connection Timeout=30;
...
0
votes
3answers
83 views
Good ways to connect to database with C# [closed]
Good day to all,
I'm new to programming and I'm building like a simple program. Just buttons and display the results. This is how I connect to database. I used MySQL.data.dll and add it as reference.
...
0
votes
0answers
48 views
SQL database directory string not working - have to define full file path
I have created an application with an underlying database which needs to be put onto a CD as an exe. However, some of my SQL querys only work on the database when i use the full file path of the ...
-2
votes
0answers
61 views
Inconsistent Results in Query Using Access Database & C# on Visual Studio 2012 [closed]
I am using Visual Studio 2012 to create a C# windows forms application. I am connecting the app to an Access 2003 database.
When I read from the database in debugging everything works fine. When I ...
1
vote
1answer
182 views
Can not connect to local database with c# System.Data.SqlClient
I have some problems with connecting to my local DB using c# System.Data.SqlClient.
Information:
DB parameters: Name:baza Host:localhost Instance:baza Port:3306 Schema:world
My connection string: ...
0
votes
2answers
107 views
ASP.NET web application: 404 error in the remote server when a common database connection string is used
I'm working with a project in c# asp.net..
When i created individual connection strings for accessing the database, the program runs properly in the local and remote servers..
But when i wrote the ...
0
votes
1answer
94 views
Store database server name in machine.config file
In web.config we store connection string like:
connectionString="Server=serverName;Database=dbName;Username=xyz;Password=xyz"
But everytime, server name keeps on changing...i mean many times ...
0
votes
0answers
273 views
Oracle connection string driver (OraClient10g_home1) across various machines
Currently, my team is using in excel VBA an ADODB.Recordset with the following connection string to run queries to our oracle database
Dim conn As New ADODB.Connection
conn.Open "Driver={Oracle in ...
0
votes
1answer
132 views
db connection within multiple pages asp.net
I am having a problem with my npgsql connection to database. The point is that my application validates the user against db.If successful then redirects to the next page and display the SQL query. ...
0
votes
2answers
650 views
SQL Server 2012: Login to PC-NAME\SQLEXPRESS works, but not to local/(local)
I'd like to login to my SQL Server 2012 Express with servername local or (local) but it doesn't work.
The only servername which works is PC-Name\SQLEXPRESS.
local/(local) has to work somehow because ...
0
votes
0answers
149 views
Impossible to connect to remote SQL database through VPN & CrossDomain in a web app
I have a web application that needs to connect to databases hosted by a client. A VPN is configured between my company and the client. All ports have been opened. Connection via SQL Server Management ...
0
votes
0answers
135 views
Connection String for Desktop App to external Web Server DB
I'm trying to get a working connection string from a desktop app to a db on an external (amazon) web server. Right now I'm getting a Login failed for user message which makes me think I'm close.
I ...
2
votes
1answer
310 views
Location of Microsoft access database for windows form when creating setup file using installshield
I have developed windows form which uses Microsoft Access Database.
During development i have put database file in root folder with in project.
When i run application through visual studio, it run ...
0
votes
2answers
1k views
App.Config Connection String
In my windows form i have connection string in app.config as
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add ...