Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 9th, 2005, 06:36 PM
Authorized User
 
Join Date: Aug 2005
Location: San Diego, California, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default IIS server, connection to offsite database server

i currently host with godaddy and i have xp pro. i have my working website setup on a godaddy server and i am trying to set it up on my own computer using IIS. so far the website works great except that it cant in any way connect to the database on godaddy's site. heres what the global.asa file looks like,

Sub Application_OnStart
    Application("Website_Url") = "http://www.MM.com" 'this was edited because thye website has not been released yet
    Application("Data_Server") = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=BLANK;password=BLANK;Initial Catalog=DB_11279;Data Source=whsql-v01.prod.mesa1.secureserver.net"
End Sub

i dont see why this wouldn't still work, i am currently contacting godaddy to see if they dont allow offsite database calls, thats my only idea so far.
if this is the case, does anyone know of any good webhosts that host plain asp and allow offsite database calls?

-----------------------------
Fezzic, are there rocks ahead?
If there are, we'll all be dead.
NOW STOP THAT RHYMING, Now I Mean it.
Any-body want a Peanut?
__________________
-----------------------------------------
Inigo:   You have a great gift for rhyme.
Fezzik:  Yes, yes, some of the time.
Vizzini: Enough of that.
Inigo:   Fezzik, are there rocks ahead?
Fezzik:  If there are, we\'ll all be dead.
Vizzini: No more rhymes now, I mean it!
Fezzik:  Anybody want a peanut?
  #2 (permalink)  
Old August 14th, 2005, 10:03 PM
Authorized User
 
Join Date: Aug 2005
Location: San Diego, California, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

anybody have any ideas about this?

-----------------------------------------
Inigo: You have a great gift for rhyme.
Fezzik: Yes, yes, some of the time.
Vizzini: Enough of that.
Inigo: Fezzik, are there rocks ahead?
Fezzik: If there are, we'll all be dead.
Vizzini: No more rhymes now, I mean it!
Fezzik: Anybody want a peanut?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database connection with SQL Server yubaraj JSP Basics 3 May 29th, 2007 04:39 AM
Server error for database connection frankv25 ASP.NET 1.0 and 1.1 Basics 5 August 14th, 2004 07:33 AM
creating IIS server account for database windowsXP joshil Access 1 April 18th, 2004 01:38 PM
Cannot add database connection in server explorer bbhill VS.NET 2002/2003 1 June 30th, 2003 09:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.