473,666 Members | 2,575 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

1 New Member
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 2379
idsanjeev
241 New Member
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 Recognized Expert Specialist
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
4954
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
1586
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 available to senior management via the intranet. After some initial design problems (OK, after severely scratching our heads at the HOW? question) we were quite pleased with our solution: a background process in the DOS system gathers the data and...
39
13411
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 and my main html page which is test.html. They are of course part of a much bigger system of files but i have tracked down the problem to that reduced part of the code. The page loads perfectly fine however when i click search i get the error...
2
5847
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 to create a DataSet object from an XSD file by using XMLDataDocument class.
1
1520
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 FileIO.FileSystem.DeleteDirectory(strLocString,
1
5458
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 visiting had a server problem which prevented the webpage from displaying. For more information about HTTP errors, see Help. I know this is due to include file because once I take it off it works fine. I removed all the code from my file except...
0
1443
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 targetNamespace="http://www.sonatacentral.com/service/v20" xmlns:sc="http://www.sonatacentral.com/service/v20" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:simpleType name="ExpenseGroup"> <xs:annotation>...
6
1352
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 I want to just include it from it's own file. I want to break out of PHP for my form area (instead of having to deal with a whole bunch of print/echo statements and the added debugging layer), but am getting an error. ERROR: Parse error:...
2
3143
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 in all forms in aspx <!-- #include file="top.asp" --> // to include top of web site <!-- #include File="connection.aspx" --> // to include connection with database of web site
0
8878
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8785
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8560
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6200
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5671
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4200
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2012
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.