Accu Web Hosting Accu Web Hosting Accuweb Hosting
Accu Web Hosting Accu Web Hosting Window Hosting Home Accu Web Hosting Window Hosting Accu Web Hosting PHP Hosting Accu Web Hosting Reseller Accu Web Hosting SQL Hosting Accu Web Hosting   accu web hosting
 

Go Back   Web Hosting Technical Support Discussion Forum > Windows Web Hosting - Pre Sales Question > Presales Questions - Windows Web Hosting - Shared Account

Presales Questions - Windows Web Hosting - Shared Account Presales Question on Windows Web Hosting - Shared Account. Ask pre-sales question related to Shared Web Hosting Account.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-01-2008
Junior Member
 
Join Date: Jan 2008
Posts: 1
Rep Power: 0
jeggebeen is on a distinguished road
Default Accessing SQL using a connection string

The sql databases are hosted on different boxex than the websites. If I configure an active server page on the website to access the sql database on another server, what username/password would I use?

Is there any problem with trusted connections between the website and database or account delegations problems? For example, annonymous access to the website still uses a user account. If the connection string uses a different user account, will there be a failure to connect?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 1 Week Ago
Junior Member
 
Join Date: Jun 2006
Posts: 20
Rep Power: 0
John_Accuwebhosting is on a distinguished road
Default Re: Accessing SQL using a connection string

It should not create any issues. You can get the username and password to access your MS SQL database from your database hosting provider.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 3 Days Ago
Junior Member
 
Join Date: Jun 2006
Posts: 16
Rep Power: 0
Shane is on a distinguished road
Default Re: Accessing SQL using a connection string

Hello Jeggebeen,

If you have configured an ASP page to access SQL database on another server you need to use your database username and password with database server IP address details.

It would not be an affect if anonymous access to the website. If the connection string uses a correct user account in connection strings then it will be working fine. For example I have posted below mentioned connection strings:

- DSN less connection
Dim SqlConn
Set SqlConn = Server.CreateObject("ADODB.Connection")
SqlConn.ConnectionString="Driver={SQL Server};" & _
"Server=server IP address;" & _
"Database=dbname;" & _
"Uid=username;" & _
"Pwd=password;"
SqlConn.Open
Response.Write "SQL Connection Successful"

Thanks,

Shane G.
AccuWebHosting.Com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 09:56 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
http://www.accuwebhosting.com/terms.htm

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29