Click here to Skip to main content
15,889,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI all,
I done a project using vb.net and sqlserver, now i am going to start a small web application for getting some in formations from my sqlserver database which one is connected in the local machine. is it possible to connect my local database after hosting of my web application ? if it is possible what are the prerequisites.. please help me to find a better solution.
Posted

No, you have to upload your database to some hosting provider and then have to connect your database from them.
 
Share this answer
 
Comments
Rajmin 21-May-10 10:03am    
thanks
One solution is as per the guy suggested that you need to host both of your application as well as database one server. The main reason is if you will only host your application then how the application will know where the database for it is located? It needs to be specified with some ip address that, this is the location from where you can find my database,right ? so if in the case you need to use your own pc for database source , then in that case you need to get a Static IP for it. Then its simple. Just point your application hosted anywhere on interntet , with the Static IP of your computer for denoting the database to connect to.

Hope this would be the sufficient and opt information you are searching for.

Thanks & Regards,
Mr.Ashish Gandhi
 
Share this answer
 
Comments
Rajmin 21-May-10 14:26pm    
Thank you very much for ur valid answer
Rajmin, one solution is that if you don't want to take sql server at hosting site then you can convert sql server database into ms-access or mysql because it is free database on hosting. so migrate your database into ms-access or mysql and upload to hosting site.

For this purpose you have only 3 solution :
1. Take sql server space on Hosting site

2. Get Static IP and connect your application with Static IP address. as per Mr.Ashish Gandhi answer. he give right answer.

3. Migrate your database into Ms-Access or MySql.


Hope you will satisfy with my suggestion.
 
Share this answer
 
v2
Comments
Rajmin 21-May-10 14:26pm    
Thank you very much for ur valid answer

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900