Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
i am make a application in vb.net i want to use a database in sql server and i wana to accesses it from a internet kindly tell me how i can write code and access it from any website which give me allow me it
i have no VPN So how i can do it
or if any other way for do this so tel me
is there any free vpn
i have a application my one city and one is other but i have no vpn so how i can access it please help me
Posted 1-Feb-13 9:24am
Comments
Zoltán Zörgő at 1-Feb-13 15:34pm
   
And what kind of server is it? A full-blow one with fixed ip address facing the internet? Can you set open ports on your firewall to access a desired service endpoint on the server from outside?
ryanb31 at 1-Feb-13 16:27pm
   
From the sounds of it, I don't think this is going to work out the way you want. You need to be able to access it somehow.
Muthuraja Irullandi at 2-Feb-13 12:17pm
   
Hi,
You might need a static ip address to expose that machine to the internet. Once that is done, you can access that database.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

It's all in the connection string, if your SQL Server is supposed to be accessed from an external application than all the firewall settings and whatnot should already be configured to allow you to access it. If its not publicly accessible you need to do 1 of 2 things, either get your IT department to open up the server for external access or jump through whatever hoops the IT department tells you to do so you can connect to the database. That includes, but is not limited to, connecting to the VPN, Modifying Application Logic or murdering a pixie in the name of some long forgotten deity.
 
After that take a look here: http://www.connectionstrings.com[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 365
1 Sergey Alexandrovich Kryukov 262
2 OriginalGriff 165
3 George Jonsson 159
4 Richard MacCutchan 110
0 OriginalGriff 6,344
1 Sergey Alexandrovich Kryukov 5,860
2 CPallini 5,135
3 George Jonsson 3,559
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 4 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100