 |
Your forum announcement here! |
|
 |

27-03-2007, 09:16
|
|
Junior Member
|
|
Join Date: Mar 2007
Posts: 6
|
|
Connecting to SQL Server database from ASP.NET
Hi, I've created a new SQL Server database through Hosting Controller, how can I connect to it through SQL Server Management Studio or Enterprise Manager? Also, what connection string should I use to connect to it from my ASP.NET application? Thanks
|

02-04-2007, 21:38
|
|
System Administrator
|
|
Join Date: Dec 2006
Location: localhost
Posts: 633
|
|
Hi Chris,
If you are on HC6.1 server ( Tucano), use the following steps to connect to SQL 2000 server:
Connecting to MS SQL DB via Enterprise Manager
How do I use Enterprise Manager to connect to my MsSQL DB?
If you are HC7 server ( Vigilant), use the following steps to connect to SQL 2005 server:
You need to follow all the steps mentioned above except a small change, the DB server's IP should be set as ' IP\sqlexpress' (eg: 10.10.10.10\sqlexpress)
Regarding the connection strings, refer the following URL for more accurate details:
http://www.connectionstrings.com/?carrier=sqlserver
http://www.connectionstrings.com/?carrier=sqlserver2005
Let me know if you need any further help. 
__________________
Rock _a.k.a._ Jack L.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. || To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|

26-04-2007, 12:21
|
|
Junior Member
|
|
Join Date: Apr 2007
Posts: 1
|
|
Connecting to MS SQL Server
Hi,
I have tried using the above format IP:sqlexpress to 2 differnt db's i have and using the loginand pass (i am using SQL Server management studio express) but can not connect to eitehr of them?
has anyone achieved this? if so please let me know how
thanks,
Paul
|

26-04-2007, 22:09
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,409
|
|
hello Paul,
Jack sorted your problem in reply to AMZ-73312-581
It takes some time to respond to tickets but helpdesk is the best option to get high level technical solution. You did mention that you lost time in MSN support but we cannot deploy our senior staff members on MSN as chats or phones distract them and they cannot solve critical problems if they are forced to give priority to communication.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. || To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. || To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Great Opportunity :: Join our To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for FREE and earn 20% commission on each referral.
|

28-04-2007, 21:51
|
 |
Premium Member
|
|
Join Date: Jan 2007
Location: Amersham
Posts: 343
|
|
Could you post the solution here cos I am also having trouble connecting to 2005 using SQL Server Management Studio & Enterprise Manager
Thanks
David
|

28-04-2007, 22:00
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,409
|
|
Please use the following details to connect to your database:
----------------------------------------------------------------------------------
Server name (HOST) : vigilant.eukdns.com\SQLEXPRESS or 87.117.234.246\SQLEXPRESS
DB name : user_dbname
DB Username : user_dbuser
DB Password : userdbpass
----------------------------------------------------------------------------------
I am able to connect to your DB using the above details.
Also, please check whether your ISP is blocking port 1433 (Default SQL Server port).
Turn off your local machine's firewall/anti-virus, it might be the possibility for the problem.
Please check the same at your end & let us know if you are still unable to connect to your DB. Standing by to assist,
Regards,
Jack L.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. || To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. || To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Great Opportunity :: Join our To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for FREE and earn 20% commission on each referral.
|

29-04-2007, 12:06
|
 |
Premium Member
|
|
Join Date: Jan 2007
Location: Amersham
Posts: 343
|
|
How do i check the port isn't blocked
I suspect that NTL (Virgin Media these days) might be blocking 1433 - is there an easy way to check (other than phoning them - which with NTL is not likely to lead to an answer).
TIA
David
|

29-04-2007, 12:28
|
 |
Chief Marketing Officer
|
|
Join Date: Sep 2005
Posts: 4,409
|
|
telnet 87.117.234.246:1433

__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. || To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. || To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Great Opportunity :: Join our To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. for FREE and earn 20% commission on each referral.
|

29-04-2007, 13:48
|
 |
Premium Member
|
|
Join Date: Jan 2007
Location: Amersham
Posts: 343
|
|
Thanks for that - I just tried the telnet and get
Quote:
|
Connecting to 87.117.234.246...Could not open connection to the host, on port 1433: Connect failed
|
Guess that mean the port is blocked by NTL?
Is there anything alse that can be done?
Regards
David
|

29-04-2007, 19:18
|
|
System Administrator
|
|
Join Date: Dec 2006
Location: localhost
Posts: 633
|
|
Hi David,
Usually ISP's (here NTL) don't block the SQL Server port, so working of 'telnet 87.117.234.246:1433' isnt necessary. I'd suggest you to try connecting to your DB from a different machine or network. Calling NTL may help clearing any thoughts of port-blocking.
Or you can have a ticket opened up with our support dept. They'll get your issue sorted out ASAP. Thank you 
__________________
Rock _a.k.a._ Jack L.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. || To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|

03-05-2007, 17:35
|
 |
Premium Member
|
|
Join Date: Jan 2007
Location: Amersham
Posts: 343
|
|
Hi Rock
Well I tried connecting using my laptop from a friends house and it worked just fine. I also spoke to NTL/Virgin who said categorically that they don't block ports (although a quick google suggests they do). So I'm stuck not being able to connect from here.
Someone suggested port forwarding - but that is apparently not allowed
So does anyone have any other ideas?? Please 
__________________
David Allen - To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|

10-05-2007, 21:19
|
 |
Premium Member
|
|
Join Date: Jan 2007
Location: Amersham
Posts: 343
|
|
Still stuck
Is there anyone who uses ntl/virgin Media who can connect remotely to MS SQL Server 2005 on euk servers? - My main customer wants several more domains with me but needs the remote access and he is also on NTL/Virgin.
Other than that i read that MS SQL Server 2005 can communicate remotely with two different ports (1433 and A N other ??) but the depths of this is beyond me
Regards
__________________
David Allen - To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|

10-05-2007, 21:24
|
 |
Premium Member
|
|
Join Date: Mar 2007
Location: 127.0.0.1
Posts: 1,317
|
|
I'm no expert at this stuff, but how about you try and route it all via a proxy or if you're on cable internet and have a static IP, get them to open the port up for you.
__________________
Regards,
Josh Hold
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Over 1000 Computer Related Articles to Sink Your Teeth Into!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - Gig Listings for London
Super Moderator To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
I'm only a forum gremlin (moderator), and do not work for eUKhost in any way. Opinions expressed by me are mine only, and do not reflect those of either eUKhost or any company that may be listed above.
I don't bite, honest.
|

14-06-2007, 15:10
|
 |
Windows System Administrator
|
|
Join Date: Nov 2005
Location: Earth
Posts: 442
|
|
SQL Server requires port 1434 open to connect remotely. Since remote connections are handled by "SQL Browser Service" which runs on port 1434. Telnet might not work on some occasions as they are disabled at the server end.
Just make sure that your personal firewall allows you connect on these ports. The best way is to shutdown the firewall/antivirus program and then try to connect.
__________________
Martin
Windows System Admin.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Email :: windows @ eUKhost.com AND support @ eUKhost.com
|

15-06-2007, 08:59
|
 |
Premium Member
|
|
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 4,890
|
|
Yes, I have had many a trouble with firewalls in the past - getting them configured properly takes a lot of work! 
__________________
David Smith
DPS Computing
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. - New site / new polls / new stories! With many more to follow!
NEW LAUNCH! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
NEW LAUNCH! To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT. The time now is 12:16.
|
|
|