Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2005

Tip: Looking for answers? Try searching our database.

WinForms connect to Hosted Database?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MisterKen - 25 Feb 2005 20:01 GMT
Is it possible to using connect  to a SQL Server database on a shared hosted
web account using sqlconnection objects?

What would the connection string look like?

Thanks.
Christophe Hivert - 28 Feb 2005 17:28 GMT
Hello,

You just need to know the address of the server hosting the database, the
name of the account, the password, and the name of the database.
You have an account on the SQL Server ? If so, no matter.
I don't see where there could be a problem.

Christophe Hivert.

> Is it possible to using connect  to a SQL Server database on a shared
> hosted
[quoted text clipped - 3 lines]
>
> Thanks.
Billy B - 28 Feb 2005 18:13 GMT
One problem you may run into is if your site's hosting company uses virtual
hosting. Most virtual hosting firewalls are setup to block outside
connections to SQL & MySQL by default. So if you can't connect and you are
sure you have your string setup correctly, look to the firewall.
MisterKen - 28 Feb 2005 18:45 GMT
This particular host gives the IP address for the database. I can also
connect my Query Analyzer and Enterprise Manager to it as well via IP.

I'll have to give it  try with WinForms, SqlConnection and DataGrid this
week sometime.

Thanks.

Ken

> One problem you may run into is if your site's hosting company uses virtual
> hosting. Most virtual hosting firewalls are setup to block outside
> connections to SQL & MySQL by default. So if you can't connect and you are
> sure you have your string setup correctly, look to the firewall.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.