connection

tagging photos in facebook-connect within iphone app

hello stacks! Im adding a fbConnect feature in my iphone app. Was wondering if there is a way to tag photos (names, i.e. John Smith) in the fbConnect api? all the best! ...

ASP Weird Unspecified Error - 80004005

Hello, I had to work on an already made website, just adding some small module While i was updating, there was many files called myDB.mdb in the different subfolders i wanted to make sure that my app is connecting the right database so i started renaming subfolder...at one of those subfolders, i refreshed,the main site and mine stopped ...

Connection refused after some time on threaded process in tcp socket requests (c/linux)

I'm trying to make process that takes number of requests each second, on each request new thread is created. Each thread then opens socket connection to address (http port) sends HEAD requests, gets response and closes socket. Problem I'm having comes when i put more then 3 requests per second, after some time i get error in send() part...

Connecting from .Net in SQL Server 2005 (Winforms)

I'm diong a typical Windows Integrated Connection from a .Net Winforms Application: Dim sqlConnetion As New SqlConnection("Server=jupiter;Database=io;Integrated Security=True;") sqlConnetion.Open() I keep getting the following error: Cannot open database "io" requested by the login. The login failed. Login failed for user 'MARS\viking...

connection pooling struts2+hibernate+mysql+tomcat+eclipse

Hello, I have an ongoing difficulty grasping the technical implementation details of connection pooling. I have read quite a few of related articles such as this one and this one, but still not 100% clear. Is connection pooling tied to tomcat, mysql, or the other development frameworks (struts2, spring, hibernate)? I mean do each of thes...

How can I programmatically remove the 2 connection limit in WebClient

Those "fine" RFCs mandate from every RFC-client that they beware of not using more than 2 connections per host... Microsoft implemented this in WebClient. I know that it can be turned off with App.config: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.net> <connectionManagement> <add address="*" maxconnecti...

Can't connect to SQL Server 2005

Hey all, I just installed SQL Server 2005 on my machine and now I am trying to connect to it via SQuirrel SQL, but I am unfortunately running into problems. When installing SQL Server 2005 I chose mixed mode for authentication and I have set up a new user account with which I am trying to connect. I also have installed the Microsoft SQ...

Connection Time-out

Using c# I am trying to send messages to a server. However I am getting the socket exception 10060 which means a connection time-out error. What could be the problem? ...

connection string of ADO.Net of SQL Server

Hello everyone, I am confused about the connection string format of ADO.Net when connect to a non-default instance of SQL Cluster. I did search but find various samples, could anyone let me know what is the correct format please (if I know the virtual server name and instance name)? I am using trusted connection. thanks in advance, Geo...

How to calculate approximately the connection speed of a website using JavaScript?

How to calculate approximately the connection speed of a website using JavaScript? I want to create a javascript widget like, which will calculate the speed opening the current opened page. I am asking if this can be done using just javascript and what will be the idea. Update Note that the page size is always Unknown. ...

How to send data to COM PORT using JAVA?

Friends, I want to connect and transfer data to COM PORT (either virtual or original) in JAVA? ...

Is it possible to use RMI bidirectional between two classes?

Hi there! I want to share some information between two classes (A and B), which are running in different java programs. Instead of writing a whole communication protocol I want to use the java build-in rmi classes for that purpose. Currently class B is able to run a method which belongs to class A remotely. Is it somehow possible to use...

How to test a internet connection in bash?

How to test an internet connection without pinging to some website? I mean what if there are connection, but site is down, how to check that there is connection with world? ...

replace packets of a connection

How to replace a string in packets of a connection? I use Delphi. Thanks in advance Leo ...

how to test connectivity in PHP?

Suppose you are now connected to a jabber server, then how can you check whether your connection to the jabber server is lost or not? ...

caching issues in MySQL response with MySQLdb in Django

I use MySQL with MySQLdb module in Python, in Django. I'm running in autocommit mode in this case (and Django's transaction.is_managed() actually returns False). I have several processes interacting with the database. One process fetches all Task models with Task.objects.all() Then another process adds a Task model (I can see it in ...

Problem connecting to SVN repository

Okay. Just looking for some advice on how to debug a problem with connecting one machine to an SVN repository. Here are the details: (1) Two of our machines successfully connect to the SVN repository, but one machine does not. (2) We are all using Windows XP and are using the TortoiseSVN client. (3) We all were able to connect from ...

How can I get WCF to close connections automatically?

When I create a WCF application using the built-in Visual Studio templates and try calling it while in a loop, only 5 requests get through. The service then stops responding. The only way that I can get around this is to close the connections after each call. I know that you are supposed to clean up after yourself, but I also know that...

Detect a DB Connection error using Linq?

Is it possible to detect an error in a connection before we get an application "Transport-level error" using Linq? Lets say that I have a SQL server called SQLServer1, and I am running an application that connects to that server using LinQ to get some information. I decide to change the server Name to SQLServer2. The next time my appl...

What is the best way to handle multiple database connections in C#

If say I need to run two separate SQL statements against two separate databases. Right now I do (pseudocode): Try{ declare variable connectionA to DatabaseA declare variable connectionB to DatabaseB connectionA.open() connectionB.open() declare variable SQLCmdA with ConnectionA and one SQL statement declare variable SQLCmdB with...