I finished a win app which user can input data off line. User can use vpn to connect server to upload data. Now, boss want me to add a feature to auto connect to server using vpn once user start the app.
How can I write a connection string? I has four different computer that can be connect via ethernet.How can I maintain a inserting data if to computer insert on same table at a single time..??
when connecting to sql server i get getting this error . please help how to resolve this problem
[Code]..
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
I am trying to make a copy of an existing database, I use .net framework data provider for SQL Server.I get error "Unable to connect to source server for Transfer" when it runs to oPackage.Execute().
oConnection = oPackage.Connections.New("what the providerID should be?") oStep = oPackage.Steps.New oTask = oPackage.Tasks.New("DTSTransferObjectsTask")[code]......
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
I want to create a openfiledialog and allow user to choose which exel file to be imported into the server but this error keep coming "ODBC--connection to '{SQL Server}'TGT102 failed".
When I run this code from vb.net Emulator it works fine but when I run the same code from a Win Mobile 5 PDA, it doesnt work pc and pda both in same network via a wireless router and i can ping each other.
I am trying to connect to SQL Server and I am getting the following error, yet when I check the surface configuration screen, it's accepting remote connections.
I want to make an application that runs on 3 client pc's. The application has to query his data from an SQL Server-database, which is running on my Small Business Server. After some google-searching, i think my server is ready, but I don't know how I can connect my vb.net application on my client pc, to my SQL Server on my server. Here is a screenshot of my Object Explorer from SQL Server:
I don't have any idea how I have to build up my connectionstring. The name of my server is SBS2008, and it is on the same network as my client pc.
In my offline windows program, user have to do two steps to download files:
1)clicking a shortcut of vpn to connect to a server,
2)clicking a button to download files (done for this step)
How to code to connect to a server via vpn without clicking the shortcut? That is once user clicks the button will connect to the server via vpn and then download files.
I'm looking to connect to an existing ftp server, upload a file, wait while the server generates a report on it, and download that report back to the local machine in a vb.net 2.0 winforms project.Is there an existing FTP library that would be helpful to me for this? My task seems simple enough that I'd rather not get into the world of active vs. passive, sockets, etc.
I am a beginner in vb.net. I have installed Visual studio 2005 along with Sql Server coming in the same DVD. I can't connect to Sql server from vb.net as local host. Can you give basic connection procedures to connect with Sql server.
Ok well so I decided to create an irc client and for like a hour or so I tried to fix this error why it won't connect to the IRC server. So I tried to connect using telnet, still couldn't, the reason was that I didn't had any NICKNAME because the server needs the user to have a nickname to connect to a server( I guess so. ) Here's my code, it just connects to server. But it won't as it shows [code] So if anyone knows how to fix it, or just give me some code to connect to irc and send receive data.
I have to develop a small application that will connect to a Linux server (scp on port 22), upload a file, and then execute the file. The first thing that came to mind was to call WinSCP from my app, but the initial connection will always prompt to accept the hostkey. When calling WinSCP from the commandline you can press a key to copy the hostkey to the clipboard, and then you can use it with the -hostkey switch to connect. Any thoughts on how I might do this in VB? It would have to look like this:
Attempt to connect via WinSCP Copy hostkey to clipboard when prompted Attempt to connect again using hostkey
I'm just not sure about #2. I would have to send a keystroke for the letter 'C' which causes the hostkey to be copied to the clipboard.
I've made a WCF server and tested and debugged it only on localhost so far. I wanted to measure its LAN speed and couldn't get it to work. The client returned a EndPointNotFoundException. Below are the configurations I use on the client and server.[code]
Greetings,I created a new db in the SERVER Manager to experiment with; however it has real data that I would not like to loose. When I tried to access the db from VB 2008 Express it would not connect. Finally I connected by rebooting and NOT opening SQL Management applet. Ever since I have connected in VB I have not been able to connect from SQLManagement. I have been battling cancer for the past serveral years and have forgotten many of my skills. Things change so fast and I'm way behind.
i'm using Visual Basic 2008 Express and SQL Server 2008. I have created a database using SQL Server 2008, but when i try and connect to the data source within VB 2008 there is no option for Microsoft SQL Server(SQLClient)
when i go to add References to my project System.Data.SQLClient is not available.
I have a vb.net application and i need to connect it to a web server to upload pictures. It works locally but i cannot try it on the web server as i don't know hot to connect. Does anyone know about any website where i can learn to do that?
I`m trying to connect to a FTP server with psexec,but is first time when i use it and i don`t know so much on how to use.I tryed like this
Dim command As String command = Shell("CMD.exe") Dim systemName As String systemName = "IP" 'Here i`m using an IP' Shell("psexec \" & systemName & command)
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?