remote-server

How do I access database via virtual folder which points at a remote share

I'm having a problem getting access to a database which lives on a remote server. I have a ASP.NET 2.0 webpage that is trying to connect to a database. The database is accessed via a virtual folder (which I set up in IIS). The virtual folder points at a remote share which contains the database. The virtual folder (in the web apps ...

How to run a php script through the command line

Hi I am trying to run a php script on my remote Virtual Private Server through the command line. The process I follow is: Log into the server using PuTTY On the command line prompt, type> php myScript.php The script runs just fine. BUT THE PROBLEM is that the script stops running as soon as I close the PuTTY console window. I need ...

How do I connect a JBoss4 Message Driven Bean to a topic on a remote server?

I have a JBoss server (Server A) that is publishing messages on a topic. I have a message driven bean on another server (Server B) that needs to retrieve the messages from Server A. How do I go about it? I can easily get everything working if the publisher and subscriber are on the same server but I can't find any information about how ...

UNIX ssh script, running commands on remote server

I would like to create a script that automatically logs into a remote server and grabs a file on the server. The script already logs into the server however the commands are not run on that machine. Once I disconnect from the remote server, the commands are run on the client machine. !/bin/sh ssh -o PreferredAuthentications=publickey b...

Add files to an already setup svn repo

I want to add a folder to a remote server with the svn repository set up. In my local computer I have tortoiseSVN. All I want to do is add folder from my local computer to the repo setup in the remote directory? ANy pointers? You can tell I'm not a svn person :( ...

Preferred way to copy JPG files from a remote server using PHP

Hello, I'm using PHP to copy JPGs from a remote server to my own server. Is it best to simply use the copy() function, or are the jpeg-specific functions better? For example: $copy = copy($remote_url, $dest_file); -OR- $img = imagecreatefromjpeg($remote_url); $copy = imagejpeg($img, $dest_file); imagedestroy($img); What would th...

Handling delays when retrieving files from remote server in PHP

Hello, I am working with PHP to access files and photos from remote servers. I am mostly using the file_get_contents() and copy() functions. Sometimes accessing a small text file or photo is almost instant, but other times it seems to get "stuck" for a minute on the same exact file. And sometimes it actually causes my script to hang,...

Accessing remote server database from iphone?

hi, Is there any way to access the remote server database from the iphone? except the way of json or by xml. Can i get sample code? ...

Connecting to remote MySQL server using PHP

Hi All I am attempting to connect to a remote MySQL server from my local machine virtualhost using the following code: $conn = mysql_connect("$dbhost", "$dbuser", "$dbpass") or die(mysql_error()); mysql_select_db($dbname, $conn) or die(mysql_error()); My problem is that I am unable to connect locally, receiving the error: ...

Why am i getting a 404 using an HttpConnection object?

2 times out of 10, i will get a 404 response code when i run the code below. can someone please give me some hint why i even get a 404? if i'm missing a command that could prevent a 404 from happening, please point that out. the end goal is to get an image from a remote server and place it in a Bitmap object. nothing complicated. also, i...

Image operations on remote server

I recently purchased a new domain for the sole purpose of hosting all the static content on a separate server and delegate CPU intensive operation like thumbnail creation on a different pool. Now I would like to do some operations on images uploaded to that remote server : creating thumbnails or updating the image if we need to. Should I...

ASP.NET Membership.ValidateUser failing to connect to remote sql server

I've got an ASP.NET app that uses the standard SQL Server Membership provider to authenticate. Works fine with a local database (this is NOT SQL Svr Express!). When I try to authenticate against a remote database, even with correct connection string, I always get a 'Named Pipes Provider, error 40: Could not open a connection to SQL Serve...

How to upload image to remote server in iphone?

Hi Everybody, I am trying to upload a image which i am clicking with the help of the camera. I am trying the following code to upload the image to the remote server. -(void)searchAction:(UIImage*)theImage { UIDevice *dev = [UIDevice currentDevice]; NSString *uniqueId = dev.uniqueIdentifier; NSData * imageData = UIImagePNGRepresentati...

SSIS 2005 running in SQL Server Agent on local PC connecting to database on remote server produces the following error message: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Hello, I'm trying to run an SSIS 2005 package from a SQL Server Agent job on my local PC. This package is attempting to connect to a SQL Server 2005 database on a remote server, but it gets the error message, "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'". What is the problem and how can I solve it? Thank you in advance. ...

.Net website create directory to remote server access denied

I have a web application that creates directories. The application works fine when creating a directory on the web server, however, it does not work when it tries to create a directory on our remote fileserver. The fileserver and the webserver are in the same domain. I have created a local user in our domain, "DOMAIN\aspnet". The loca...

Using Remote Web Page to Initialize iPhone App

My iPhone app relies on a vendor's XML feed to provide data. But that feed is not locked down. The vendor could change the format of the XML at any time, although so far they've promised not to. Since I might want to tell my app to use a different URL for its data source, I'd like to set up a single "Command Central" Web page, on my ow...

Java DataBase Connectivity Problem with MS SQL Server 2005 from a Remote Server

I am writing a java code to connect with MS SQL Server 2005. MS SQL Server is on Remote server windows server 2003. I am trying the following code but i am unable to establish a connection: import java.*; public class Connect { private java.sql.Connection con = null; private final String url = "jdbc:sqlserver://"; privat...

My application works perfectly local but not in the remote server

When I upload the files on the remote server I get the following message: Object reference not set to an instance of an object And a few errors supposed to be happening in the ClassDesigner file and other few classes... I need help urgently please. What do you think is going on? Thank you! ...

How to alter database on the linked server WITHOUT SYSADMIN rights?

My requirement is that user performing alter CANNOT be sysadmin (it can have all other rights but not sysadmin). I am running a query from local server which should modify a remote one EXEC ('ALTER DATABASE REMOTEDB MODIFY FILEGROUP ftfg_REMOTEDB NAME=ftfg_REMOTEDB') at [REMOTESERVER] This query works once I add sysadmin right to the...