Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code works locally but not on webserver

Status
Not open for further replies.

freddytdt

Technical User
Jun 10, 2004
1
ZA
Hi

I am relatively new to ASP coding, but I'm an experienced SQL coder. My problem is that I've designed a website which connects to a SQL 2000 server via the MS Frontpage 2002 webbot.

Running on my local machine (XP running IIS 5.1) I have no problems with accessing the database via the Frontpage generated ASP pages. Being happy that everything is okay, I have asked the ISP to restore a backup of my database onto their SQL 2000 server using the same database name and the same DSN. I have to use FTP to publish the pages as Frontpage won't connect to their webserver. So I proceded to FTP the individual pages (as well as the global.asa file) across to the ISP.

Lo and behold, when I try and access the ASP pages I get an HTTP 500 - Internal Server Error. I do know however that it is the database connection, as a standard ASP page (just running <%=date %> works just fine. Any ideas as to how I can sort this out?
 
When you say the web-bot, that usually requires FP extensions. If the hosting company does not support FP extensions - there is nothing you can do except either hand-code the ASP page or change hosting companies.

__________________________
Corey

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top