Problems with ASP Pages
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=31001
Printed Date: 29 May 2023 at 11:31pm Software Version: Web Wiz Forums 12.06 - https://www.webwizforums.com
Topic: Problems with ASP Pages
Posted By: mike-george
Subject: Problems with ASP Pages
Date Posted: 02 May 2014 at 5:13pm
I have taken over the maintenance of an old ASP based web site and when checking the site it was returning a 80004005 Error.
I think this is something to do with the code line <!--include file="headercode101.inc-->. Possibly the web host is treating these as suspect ASP codes.
The .inc pages contain code to operate the page, and it might be advisable to incorporate the code the the ASP page rather that get it to be included, or simply just changing the .inc file to another suffix.
Any advice would be gratefully received
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 07 May 2014 at 8:27am
Include files are fine to use in Classic ASP and are used regularly.
A 80004005 error usaully refers to an issue with using an Access database.
Make sure that the folder containing the Access database has write permissions.
If you have moved the application to a Windows 2008/2012 server it could be that the server is not configured for Access databases. Make sure that the application pool for the website is running in 32bit mode and the Windows\Temp folder has read, write, and modify permissions for the IUSR Group.
------------- http://www.facebook.com/WebWiz" rel="nofollow - Find Web Wiz on Facebook http://twitter.com/WebWizUK" rel="nofollow - Follow Web Wiz on Twitter
|
Posted By: mike-george
Date Posted: 07 May 2014 at 9:06am
Thanks for the reply, seriously thinking of upgrading from Access database to Microsoft SQL which hopefully will overcome this problem, or alternately transfer the whole site over to PHP
Strange thing though, took down the code which had the fault and put up a site that was originally built in 2006/7 using mainly the same code, but no problems with this, works straight out of the box.
|
|