471,831 Members | 1,260 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,831 software developers and data experts.

ASP Include file error <!-- #include file="" -->

I use this command for including my ASP files into another
it is working perfectly on my XP 2002 SP2, IIS server and also i upload to brinkster.com and working perfectly there but here is a problem on another server....
i upload my files to a new server but in the ASP file it returned me the Code in SOurce Code Back..

The code I used is:

Expand|Select|Wrap|Line Numbers
  1.  <!-- #include file="header-main.asp" --> 
the header file is in the same directory
and if there is any problem so why it worked in brinkster and my PC,

The Details for the server i upload now is :

Operating system Linux
Service Status Click to View
Kernel version 2.6.18-8.el5
Machine Type i686
Apache version 1.3.39 (Unix)
PERL version 5.8.8
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 5.2.4
MySQL version 5.0.45-community
cPanel Build 11.16.0-RELEASE 18546
Theme cPanel X v2.6.0
Documentation Click to View

Please Help..
Regards and thanks in Advance
Jan 4 '08 #1
2 2180
241 100+
I am not sure but plz chek your browser is it same on xp if not then update
Jan 4 '08 #2
3,406 Expert 2GB
apache servers do not natively support asp scripts. I believe there are some plugins you can buy which will allow it, but otherwise you will need to abandon ASP scripting on that server. Apache does support PHP, and that may be a better alternative. Sorry I couldn't be more helpful.

Jan 5 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

39 posts views Thread by eruanion | last post: by
1 post views Thread by =?Utf-8?B?bWFnZWxsYW4=?= | last post: by
6 posts views Thread by Mo | last post: by
reply views Thread by NeoPa | last post: by
reply views Thread by aboka | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.