connection

ODBC Remote connectioon problem

Hi there. I'm trying to set a connection through ODBC to an SQl Server Express 2005 instance the following connection string is working fine when I use it on the same machine Conn string: "DSN=_Vendas;TrustedSecurity = yes;"; I have an ASP.NET application that needs to use the same connection remotel, and this fails Exception: ERROR ...

BizTalk 2006 - receive file through FTP - timeout issues

Hi all, When trying to receive a (large, approx. 100MB) file using an FTP adapter in BizTalk 2006, we run into the following problem, which causes the file to be processed over and over again. Retrieving the file succeeds; it is placed into the MessageBox and processed properly When the FTP adapter issues the DELE statement, it never ...

Android application setting connection type.

I'm writing an application for android. My problem is that I want it to force the connection in GPRS and not use wi fi. I have a solution like below, but this causes the crash of the application at start. ConnectivityManager CM = (ConnectivityManager) this.getSystemService(Context.CONNECTIVITY_SERVICE); CM.setNetworkPreference(Conn...

SQL Azure and VS 2010B2 or SSMSE 2008

Ok, I see that people have asked this question before, but I'm seeing some conflicting statements. Can I, or can I not, connect directly to my SQL Azure database from SSMSE 2008? I see posts from before November that the SSMS 2008 RC would be able to connect directly - so I don't understand why the newest SSMSE cannot connect. Is it j...

How can I catch connection requests in my framework?

I'm building a framework (OSGi-like) where other parties can program a bundle for. But I want my framework to manage the QoS of the connection-requests that the other parties will do. The easy solution would be to ask them to use (or enforce them to use - although I don't know how) a specific ConnectionRequest bundle of the framework. T...

app engine secret key for iphone access

Hi, How can i make sure only my iphone app is allowed to use my app engine application for sending and receiving data? I probably have to use a secret key, but i don't know how. Can i just use post/get to send my static key over https? Or do i need to use some dynamic secret key algorithm? Any help would be appreciated! Bjorn ...

Correct Procedure for mysqlConnect

Hello, I am new to php syntax and am looking for advice on creating the most acceptable or correct code. I focus on front end design, but I like to make sure my code is proper. I am in a digital media program, my instructor has given us this code for connecting to our MYSQL databases. <?php mysql_connect("localhost", "root", "root")or d...

Using same MySQL Connection in different PHP pages

I am creating a simple Web Application in PHP for my college project. I am using the MySQL database. I connect to the database in login.php. After connection I assign the connection to $_SESSION["conn"] and then redirect to main.php. In main.php I write $conn = $_SESSION["conn"]. But the connection in $conn does not work. I thought th...

Number of concurrent connections in Silverlight

Hi guys, Is there currently a way to programatically determine from within a Silverlight app the maximum number of concurrent connections that the browser will allow? I know I can do this on the server then pass it as a parameter, but I would like to know if its possible in Silverlight. This is for all versions of Silverlight including...

GPRS connection checking

Hi, How can i check whether the GPRS connection is active or not using python? Is it possible to check it? Thanks in advance. nimmyliji ...

connecting to remote database

what is the best architecture to connect to a remote mysqlserver (database) from java swing standalone client app over the internet without using middle server ...

Android check connection without context

Hi, i would like to know if it's possible check connectivity in android without having a Context, because the thread i have running in background doesn't know the context. if there's no way, is a best practice passing to the thread the context? thanks ...

iphone monotouch detect if there is an internet connection

In Monotouch on an iPhone/iPod, how do I detect if there is an internet connection available? ...

database connection in php with MS Access on linux hosting

Hi I am running on php. And in my local I am working on windows environment so it was easy to connect to MS Access Database using ODBC connector. But on my live server environment there is Linux so there is a problem regarding the DB connection. So what are the steps to connect to MS Access DB in Linux environment using php. Thanks...

Scope of global temporary table relative to ADO.NET database connection?

SQL Server books online states the following about visibility (scope?) of temporary tables: Temporary Tables You can create local and global temporary tables. Local temporary tables are visible only in the current session; global temporary tables are visible to all sessions. I want to understand how the scope of the global...

Connecting to remote MySQL via local machine

I am trying to connect to a remote MySQL database via PHP that is installed on my local windows computer. MySQL Version: 5.1.43 The remote database is set up to accept connections from my IP but I keep getting this error: Warning: mysql_connect() [function.mysql-connect]: OK packet 6 bytes shorter than expected in "my file here" Warn...

Does the creation of TcpClient have much overhead?

Hello All. I tried to send/receive data by using TcpClient. I did two experiments and found something interesting. I setup the TcpListener in a server in Japan and the TcpClient in UK. I kept sending 500 bytes to the TcpListener and when TcpListener sends 10KB back to the TcpClient. I kept this send/receive looping for 500 times in eac...

Where should I setup a Database connection in Struts 2 app ?

I am developing a small web application using struts 2. I want to setup a database connection when the web application starts. After that, I want that database connection object to be used in the the entire web application to update records in the database server. Where should I include the database connection setup code in my struts2 ...

Connect to oracle server in NSIS

Like we can connect to SQL Server using MSSQL_OLEDB plugin, how can we connect to Oracle server in NSIS? Also what if Oracle server is on some remote machine? ...

When I use httplib for my OAUTH in Python, I always get "CannotSendRequest" and then "

Traceback: File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response 92. response = callback(request, *callback_args, **callback_kwargs) File "/home/ea/ea/hell/life/views.py" in linkedin_auth 274. token = oauth_linkedin.get_unauthorised_request_token() File "/home/ea/ea/hell/life/o...