connection

How do I connect to SDF on a Mobile device from desktop application?

C# WinForms .Net 3.5 to SQL CE 3.5 on Mobile 6.1 Device I'd like to make a connection from a desktop application to a SDF database on my Windows Mobile device while it's connected via ActiveSync. Visual Studio lets me create a Data Connection to my device. The connections tests OK and I can view the data in the database using Visual S...

Apache Timeout directive not working?

I have configured /etc/apache2/apache2.conf with Timeout 5 instead of the default 300. So I understand it should close an incoming connection after 5 seconds of inactivity. But I make a telnet localhost 80 , wait for 5 and more seconds, and nothing happens. A netstat -na tells me the connection is still ESTABLISHED. I left the connectio...

Problem Connecting to Secure Server in Java

Hi, I am trying to connect to a secure server using Apache Commons HttpClient 3.1. The problem is everytime the application connects it throws a "sun.security.validator.ValidatorException". Heres the stacktrace: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.c...

mysql_connect connection lifetime

What happes when the scrip that made @mysql_connect($server, $user, $password) dies? How long does it live? Thank you! ...

Problem connecting to database using Oracle.DataAccess

The DBA at my company created a new user/password for an application I am working on. I tested the login using SQL Developer and can connect to the database just fine - all the tables I have access to are there. However, in my application, when I try to use the same credentials to connect using Oracle.DataAccess.dll, the connection fai...

Exposing DB within the application

Hi, How can I secure connection or db credentials when directly accessing the DB server over the internet from the client side application. Thanks Vishal ...

Connecting to a MySQL database.

How do I connect from Java to a MySQL database? The Java is run on a local machine while the Database is on a server. ...

long running http connection never gets response back

I am making an http request which ends up taking more than 8 mins. For me, this long running request work fine. I am able to get a response back to my browser without any issues. (I am located on the same network as the server). However, for some users, the browser never returns any response. (Note: When the same http request executes i...

Windows 2008 Remote Desktop Connection Multiple Sessions

Hi all, Does anybody know how to adjust the number of RDC sessions for a specific user in Windows 2008 Server? Would really appreciate it! Thanks a million! ...

Requirements for HTTPS URl connection using Glassfish

What should we do for https connection using glassfish in both client and server side ...

writing memcached connection using pecl based memcached extension

I am actually thinking to start using memcached in my php code, http://us3.php.net/manual/en/book.memcached.php while I searched in google, I find memcache based examples, but not much about memcached based connection and other examples. it will be really helpful, if someone can share procedural way of writing memcached connection for...

How to close a TCP connection by port?

I would like to close an existing connection between to application running on my server. If you have a suggestion please reply on how to program this, you will be appreciated. Note that: TCPView application can close the connection exactly as I need, but I would like to run it as a console application or other command line. ...

how to connect sharepoint content database to my web part application?

Hi all, I am developing the web part that will show the chart.but for that MS chart control we need the datasource of sql server.now i have designed some infopath forms & deployed in sharepoint site on my url.what happens the sharepoint created the content database for all forms libraries.I want to show a chart on the basis of the data o...

Persistence.createEntityManagerFactory() in J2EE ignores jta source

I have a perfectly working application client deployed to a glassfish v2 server inside an ear with some EJBs, Entities, etc. I'm using eclipselink. Currently I have in my persistence.xml: <persistence-unit name="mysource"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <jta-data-source>jdbc/mysource</jta-d...

PHP - MySQL connection not working: 2002 No such file or directory

I tried to use WordPress, and it would never work. I have apache and mysql running, the accounts and database are all set up, there are no typos. So I tried to make a simple connection: <?php $conn = mysql_connect('localhost', 'USER', 'PASSWORD'); if(!$conn) { echo 'Error: ' . mysql_errno() . ' - ' . mysql_error(); }...

How to check network connection type in Blackberry?

Hi All, In Blackberry application I want to check what type of network connection is being used on particular phone, whether it is BES/MDS,BIS-B or Direct Tcp. Is there any way to find out this? Many applications like Jive,Opera and many more are doing this kind of check. Please help. ...

SQL Agent Job - Connection may not be configured correctly or you may not have the right permissions on this connection?

I'm getting this error when running an SSIS package through SQL Agent Failed to acquire connection "ORACLE ADO.NET". Connection may not be configured correctly or you may not have the right permissions on this connection. When I log on as the SQL Agent User and run the ssis package directly it is fine. When I then execute it through the...

Using a schema other than 'dbo' in LinqToSql Designer

Is there a way to specify in a data connection or the LinqToSql Designer a schema? Whenever I go to setup a data connection for LinqToSql there doesn't seem to be anyway to specify a schema and I get 'dbo' by default. I figure that I can't be the first person to use a schema other than 'dbo' with LinqToSql, so I must be missing somet...

http connection reuse

I would like to better understand how .Net http connection reuse works. When I use HttpWebRequest to send something to some server twice from the same appdomain, is the connection (optionally) reused? So the server would see both requests as coming from the same connection even though in my application they are different logical reques...

php - multiple connections to database

I have a login page that gets the username and pwd and sanitises them before passing them to DB. this is done through a function: function make_safe($text) { open_db_connection(); //this opens another connection! if(get_magic_quotes_gpc()) { $text = stripslashes($text); } $text = mysql_real_escape_string($text); return $...