473,395 Members | 1,666 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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

Hello,
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 2367
idsanjeev
241 100+
Hello,
I am not sure but plz chek your browser is it same on xp if not then update
Jan 4 '08 #2
jhardman
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.

Jared
Jan 5 '08 #3

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

Similar topics

2
by: leroybt.rm | last post by:
I don't understand why this does not work: <FILE1> test1.py #Import Packages import string # data=0 data=data+1
1
by: Des Perado | last post by:
We have an elderly DOS-based system running on a Novell Netware server here, and an extensive intranet. Quite recently the board decided that some crucial info from the DOS system was to be made...
39
by: eruanion | last post by:
Hi, I've been working on this for a while now and I can't seem to find out what is wrong with my code. I have 2 files one c3common.js which only contains javascript functions for my main html page...
2
by: ERingmae | last post by:
Hi, The environment is .NET 2.0, the language is C# and the problem is reading XSD file with xs:redefine section correctly to a XMLDataDocument.DataSet. What I am trying to do: I am trying...
1
by: =?Utf-8?B?bWFnZWxsYW4=?= | last post by:
invalidEnumArgumentException error during run-time, it builds OK...didn't like when I added fileio.uicanceloption.throwExceptions any ideas..? thanks in advance!! Try ...
1
by: escort | last post by:
I am trying to include a file in my existing asp file. I am using business vista and I am getting following error This error (HTTP 500 Internal Server Error) means that the website you are...
0
by: shruthid | last post by:
can we generate a class for the following xsd file?? it does'nt contain a complex type.. <?xml version="1.0" encoding="UTF-8" ?> <xs:schema...
6
by: Mo | last post by:
I have a form which I use to get a date range for reports. I am beginning to build many more reports than initially thought, and I use this form in each one. I expect to manage/improve the form, so...
2
by: kkshansid | last post by:
i am from asp background i am very new to asp.net environment i want to know that is there any include in asp.net as in asp so that i can include connection file which is asp.net and asp files ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.