By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 789 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

ado.NET - Getting connected to a computer with a dynamic IP address

P: 3
I wrote a ADO.NET ( VB.NET language) database application with the data database itself located on a SQL SERVER 2005 Express on my desktop.
The application database is on my laptop. My laptop as well as my desktop are connected to the internet. (cable -Telenet )
I have heard that the provider regulary change my IP address,and that's precisely the problem for my connectionstring to the data database on my desktop.
I thought that it should be possible to make a connection with my desktop from anwhere with my laptop via the internet, but it seems to be not so evident.
Is the thinking of making a connection via the internet here a mon realistic idea, and is ADO.NET solely usable in a LAN network or a WAN network with fixed IP Addresses? Or is the solving of this problem only the use of ASP.NET ?
Jul 16 '07 #1
Share this Question
Share on Google+
1 Reply

P: 35
You want to migrate your sql database to the same relm as your host - I hope you have establised your connection string as a global varable so you will be able to easily switch it to the new connection string of your host.

I'd say SQL express is more of a Development tool that one that you want to use with your app once your pushing it live. Plus even if you were using it, you dont want to host anything from your home pc out over your cable connetion. You want to get a host if you want it avialable online. Not only do you face the dynamic IP issue - your opening your ports up to the world - not wise.

Hope this helps
Jul 16 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.