Sending A Log To A Remote Server?
Dec 9, 2010
how to send a log using vb.net console app to a external server? I have the application sitting in a store oulet, then I need this application to send over a log file.
I have a couple of ideas.. one is using a tcp listener and sender, then the listener logs it over in the server.
Another is using a ftp send.
but I would prefer it to be coded in the program itself.
View 2 Replies
ADVERTISEMENT
Feb 17, 2010
A certificate is required to complete client authentication.I am sending an XML file to a remote server.[code]
View 1 Replies
Mar 2, 2012
I want a quick and easy way of sending stuff from my window forms to my remote SQL server, my remote sql server allows remote connections to my IP address. How can I do this? I also need to return a result, either true of false.
View 6 Replies
Feb 10, 2010
I planing to develop an application which can connect any remote server and pick the configuration information from server and show it in my desktop.
View 4 Replies
Jun 6, 2012
I am trying to copy upload files to remote server i get below exception.[code]...
View 1 Replies
Feb 19, 2010
the remote server returned an error: (503) server not available m getting this error...wen i m trying to extract email id from a webpage...
View 2 Replies
Oct 27, 2011
remote server returned an error:(503) server not available-vb.net
View 5 Replies
Jun 8, 2012
I want to build an application, which can remote access to SQL Server in Server Machine.I used to build one, and it also can access to SQL Server in other pc. But when i promote it to become a Server(to become a Domain Controller). My application has never access to SQL Server. I don't know what to do now?
remember: I want to build an application, which is accessing to SQL Server in Window Server(Client/Server Application).
View 2 Replies
Dec 5, 2010
posted again but this time its regarding both the webclient and the web reuqest giving me this error :S
View 1 Replies
Apr 16, 2009
I've found a few examples of using vb.net to access an sql database, so far none of them have worked . They all involve using DataReaders. Maybe its the fact that the sql db is not on the same machine as the application.I was just wondering if anyone had a more comprehensive example of using VB.NET to access a remote sql server.
EDIT:I've received a few helpful comments an replies already. So far my connection string looks like:
"server=sqlblah.myhost.com;uid=myuser;pwd=pass;database=testdb"
Probably also good to mention their is no editing of the tables a this point, just reading.
View 2 Replies
May 5, 2008
How can I connect to a database using sql server 2000 and stored in another PC with vb net (still in 1 LAN)?So that PC only stores the database, and another PC store the user interface and business logic.Is it related to the connection strings, on the datasource, we just put the IP address for that remote sql server?
View 3 Replies
Nov 20, 2009
* Using windows application i am trying to connecting remote server(PC), for this i have servername,uid/pwd.
View 1 Replies
Feb 2, 2010
I want to understand the concept of connecting to a remote PC or server. I'm working on an app that will connect to a remote server. Read a value from a registry key and then display the results in a text box. It will also connect and search for a specific log file on a server. I understand how to read the files. I'm just not sure how to connect to a machine remotely if I have valid credentials. There seems to be sever ways to accomplish this. I want the most efficient way using vb2008.
View 3 Replies
Apr 17, 2010
I'm been learning about connection strina I have been able to succesfully connect to a sql database stored locally on my Pc.The next logical step would be to connect to a database stored on a remote server. My question is does anyone of a sql database ( or any other type of database ) which can be openly accessed by the general public. Does anyone know if a web hosting service would allow me to remotely connect to a sql database ? Could I for instance upload my database onto a web hosting service and try connect to a remote database that way
View 1 Replies
Feb 25, 2010
i am having alot of trouble finding the source code to establish a connection to a remote sql server ( at my university) for vb. All i have is the IP adress and the username and password to the database. I tried coding it with a sqlconnection, sqlreader and a command to execute the statement with no luck.
View 2 Replies
Jan 16, 2009
I have looked into this for a while now with no success. out or lead me in the right direction. I am trying to control my application from an apache web server either locally or remotely.
View 3 Replies
May 22, 2012
i'm trying to connect to a website using httpwebrequest() in a VB.NET application
It is working fine for facebook website.
But when i try to connect to jsp coded sites. it is displaying "The remote server returned an error: (404) Not Found."
View 4 Replies
Feb 10, 2012
Busy with vb2010 and we are busy to communicate with a server on a certain ip address. This server is sometimes sleeping and we can't communicate with the server in this situation.
View 2 Replies
Mar 20, 2012
I have SQL Server 2008 setup to remote connection. and it works perfect. I can access it from public IP address. [code]...
View 7 Replies
Nov 10, 2010
I want to create a simple console application that has two input files and one output file. The code is very straightforward. The question is that I want to execute the application from the remote server or unix/dos batch etc instead of local machine.
View 1 Replies
May 3, 2011
I am working on an application that is going to read a weight from a scale. The people who sold us the scale said that I can send a string to the scale over FTP and the response I will get is the weight. I haven't done much with ftp and have been searching for weeks. Can anyone point me in the right direction? The steps are... Create a TCP/IP connection to the ip address, port 1701 If the connection is succesful then I'll get 53 Ready for user as the response I can then send the username/password to the machine (sent as a string...) Read the response, which should be 12 Access OK I then need to transmit 'r wt0101' to read the weight. The response will have the weight. They've said this is done through FTP but maybe that's not the case? I don't understand why it would be FTP but that's what the technical documents say. Is there a class I can use that sends string commands over a tcp/ip connection?
View 8 Replies
Nov 4, 2011
I'm trying to send a simple email via vb.net. This is the first time i've tried this and am getting the same message every time. I've looked everywhere with no answer... The host that i use is bluehost, and i know the port name and the client name and username and password are correct. So i'm not sure what i'm doing wrong, perhaps it's thinking i should be sending from my localhost, or my ip address? Either way, below is the error i'm getting, and the code. The # just represent the numbers in the error and so on and so forth.
Mailbox unavailable. The server response was: cpe - ##-###-###-###... (my-pc)[my ip address] is currently at...
Try
Dim Mail As New MailMessage
Mail.Subject = "The Email Subject"
[Code].....
View 3 Replies
May 11, 2012
Scenario: I want to develop an application.The application should be able to connect to my remote server and download data to the local disk , while downloading it should check for new files and only download the new ones simultaneously creating the required(new) folders. What am i doing?: The app first checks for internet connection , if available pings the server to check if the server is active.Then it has to download the new files.
Problem: I have no idea how to compare the files in the server with the ones in the local disk.How to download only the new files from the server to the local disk? What am thinking?: If i can create the exact folder structure(hierarchy) in the local disk as it is in the server...than i can download the new files accordingly to folders by maintaining some index file in both server and local disk.
View 1 Replies
Aug 25, 2010
I am able to connect remote MS SQL Server 2005 using vb.net-->
Imports System
Imports System.Data
Imports System.Data.SqlClient
[Code]....
But my app is takes more than 2 second for refresh the data..... Sometimes it getting hanged.
Finally i just want to know if their any method available to connect the remote MS SQL Server Database for faster calculation. Like UDP or Proxy....
View 2 Replies
Jan 18, 2011
I have a following details provided by our mssql2005 database provider
Server IP : 100.20.255.34
Databaase name : insss
User: nas0
[code]....
View 1 Replies
Jun 23, 2011
I have developed a frontend app using VB 2010 which is to connect to a remote MySQL server. My server has an internal IP address of 202.56.20.72 and an internal IP address of 192.168.20.44.
When I use the internal IP in my connection string and connect over LAN, the whole thing works fine. But when i changed the IP to the external address and tried to connect to the server over the internet, I get an error something like 'Failed to connect to MySQL server for user 'user'@'localhost', [using Password=NO]. This means that for some reason, it is not connecting to the server at all.
View 6 Replies
Apr 27, 2009
On another server we can have up to 10 images, however not always are 10 uploaded. I have ASP:Image codes to display those 10 images and visibility= a function to see if that photo exist[code]...
View 5 Replies
Jun 20, 2010
I would like to develop a very very very simple application which will connect the MS SQL SERVER in my notebook and will be run at hand terminal-with windows mobile 6.Here is the code which i used :
Dim strSQL As [String] = "SELECT COUNT(studentid) AS totalp from Students where gender='m' "
' Dim Conn As New SqlConnection("Data Source=10.0.0.4MUSTAFASQL2;Initial Catalog=MYDBX;User ID=TEACHERA") <<< i used this too,
' Dim Conn As New SqlConnection("Data Source=10.0.0.4:1433MUSTAFASQL2;Initial Catalog=MYDBX;User ID=TEACHERA;") <<< and also tried this[code].....
View 2 Replies
Mar 2, 2009
how can I get the path of Windows on a remote server. I know that for the pc that is running the application I can do System.Runtime.Interop Services.RuntimeEnvironment.GetRuntimeDirectory but on a remote server, how can I do?
View 5 Replies
Dec 3, 2011
I have configured Sql Server Express on a server, Enabling TCP/IP and Named Pipes to accept remote connections. However when i attempt to connect from VB.net on another PC on the same network I get the following Error: Failed to login user "ServerNameUser".
Can anyone offer some server setting and a ADO.NET Connection string. The attached file has the Sql Server Settings.Attached Files sqlRemoteConfig_Current.txt (806 Bytes, 70 views)
View 2 Replies