472,328 Members | 1,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

include file error in classic asp file

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 couple of variable definition as follows so I don't think there is any problem with the asp file but something to do with iis configuration. I am not sure what properties I need to change in iis
My include statement is

<!-- #include file="shippingcalc2.asp" -->

My shippingcalc2 is


Dim ShipMethod
Dim ShipCost


Any help in this will be very much appreciated. Thanks
Jul 12 '07 #1
1 5181
3,406 Expert 2GB
file is supposed to be an absolute path, but you can specify a virtual path as follows:
Expand|Select|Wrap|Line Numbers
  1. <!-- #include virtual="shippingcalc2.asp" -->
let me know if this works.

Jul 12 '07 #2

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

Similar topics

by: James Proctor | last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my clients is intrested in a web based application, so im trying to play on...
by: Alex | last post by:
Hi, I have noticed that in an aspx page <!--#include virtual="Home.htm"--> acts the same as <!--#include File="Home.htm"--> when I am NOT...
by: tshad | last post by:
In my User control, I tried to do this: *************************************************************************** <Script runat="server"> Public...
by: chriso | last post by:
I have a classic asp app which is reaching the end of it's lifetime in so far as being able to maintain it and I want to re-write it in asp.net. ...
by: Andrew Price | last post by:
This is not ASP.NET, but i am having a problem with old school ASP, what i need to do is <% myFileName="incfile.asp" %> <!--#include file="<%...
by: teddy b via DotNetMonster.com | last post by:
Hi, Anyone know there is a way to include ASP file in C#? My application coded in C#, then need to include another application coded in classic...
by: Eric | last post by:
Hello, I have some server side includes on a Classic asp page that look something like: <!-- #include virtual="/includes/file1.asp"--> <!--...
by: =?Utf-8?B?QnJhbmRvbg==?= | last post by:
Hi, I have an aspx page that has the "include" code in it which includes another page that displays information. I also have an upload page that...
by: Andy Fish | last post by:
Hi, I am trying to investigate a problem reported by one of my users who received a "System.Web.HttpException: Request timed out." error trying...
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.