473,385 Members | 1,798 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,385 software developers and data experts.

executing ASP project

2
I have IIS installed on my system.I know hopw to execute ASP scripts but I am uanble to run the whole ASP project. I want to run a html page on my browser.The page consists of some include files and links which are located in the same folder as the page.While typing the url--http://localhost/folder/page.html,the page is displayed but the templates and images which are linked to the page are not displayed.
Mar 23 '07 #1
3 1153
I have IIS installed on my system.I know hopw to execute ASP scripts but I am uanble to run the whole ASP project. I want to run a html page on my browser.The page consists of some include files and links which are located in the same folder as the page.While typing the url--http://localhost/folder/page.html,the page is displayed but the templates and images which are linked to the page are not displayed.
I think You had given wrong path of images and templates.
Please write your code, that is more helpfull to give the answer.
Mar 23 '07 #2
mamuni
2
I think You had given wrong path of images and templates.
Please write your code, that is more helpfull to give the answer.
The complete code is this:
<!--#INCLUDE virtual="/service/STEP/OldSession.asp" -->
<%
session("nassconfirm") = ""
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

<title>Work</title>

<meta name="resource-type" content="document">
<meta name="distribution" content="global">

<meta name="robots" content="all">

<link rel="STYLESHEET" type="text/css" href="/tip.css">



<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
//set highlight variable
var secName = "top";
var hdsecName = "top";
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--

NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));

function popUp(){return};
function popDown(){return};

if (!ver4) event = null;

function openWin(URL) {
Window=window.open(URL,"urlwindow","width=635,heig ht=475,status=yes,scrollbars=yes,resizable=yes,loc ation=1,menubar=1,toolbar=yes");
Window.focus();
}

//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--

if (isMenu) {
menuVersion = 3;

menuWidth = 185;
childOverlap = 0;
childOffset = -1;
perCentOver = null;
secondsVisible = .5;

fntCol = "white";
fntSiz = "8";
fntBold = "bold";
fntItal = false;
fntFam = "arial";

backCol = "#088339";
overCol = "#06664e";
overFnt = "#FFFFFF";

borWid = 1;
borCol = "#9999B2";
borSty = "solid";
itemPad = 2;

imgSrc = "/images/tri.gif";
imgSiz = 10;

separator = 1;
separatorCol = "#1C67A8";

isFrames = false; // <-- IMPORTANT for full window
navFrLoc = "left"; // <-- display. see below

keepHilite = true;
clickStart = false;
clickKill = false;
}

//-->
</SCRIPT>

<SCRIPT LANGUAGE='JavaScript1.2' SRC='/hierArraystip.js' TYPE='text/javascript'></SCRIPT>
<SCRIPT LANGUAGE='JavaScript1.2' SRC='/hierMenus.js' TYPE='text/javascript'></SCRIPT>


</head>

<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">

<!--#include file='../header-tipNew.inc' -->

<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="155" valign="top" style="background-color: #D0DAEF;">
<p><br />
<!--#include file='leftnav-ttopNNew.inc' -->
</p>
</td>
<td width="100%" valign="top" style="background-color: #ffffff; background-image: url(/images/header_blue.gif); background-repeat: no-repeat; background-attachment: fixed;" class="copy" height="525">
<!-- main BODY begins -->
<img src="/images/blank_pixel.gif" width="446" height="5" alt="" border="0" /><br />
<table border="0" width="446" cellpadding="0" cellspacing="0">
<tr>
<td width="38" valign="top"><img src="/images/blank_pixel.gif" width="38" height="5" alt="" border="0" /><br />
</td>
<td width="408" valign="top" class="title">TOP
- Transfer-Out Process</font><br />
<img src="/images/blank_pixel.gif" width="408" height="1" alt="" border="0" /><br />
</td>
</tr>
</table>
<br>

<table width="100%" border="0" cellspacing="1">
<tr>
<td width="6" height="20">&nbsp;</td>
<td class="text" width="*" height="20">
<p>The <b>Transfer
Out Process</b> (TOP) begins with a manager or delegate initiating
a request to process a transfer or to remove an associate from the
existing environment when they are leaving.

.</p>
</td></tr>

<tr>
<td width="6" height="100">&nbsp;</td>
<td class="text" width="*" height="100">
<p><br>The following
areas will be notified upon using this request process:</p>

<ul>
<li>Human Resources</font></li>
<li>Shared Services</font></li>

</ul>
<!--
<p><font face="Arial, Helvetica, sans-serif" size="2" color="#FF0000"><b>NOTE:
For all other users please contact your respective HR representative
to process any HR Changes;</b> Work currently does not handle these
requests.</font><br>
</p>
-->
<p><br>
</p>
</td>
<td width="6" height="100">&nbsp;</td>
</tr>
<tr>
<td width="6" height="2">&nbsp;</td>
<td width="*" height="2">&nbsp;</td>
<td width="6" height="2">&nbsp;</td>
</tr>
</table>
<br />
</td>
<td width="1" valign="top" bgcolor="##7B8C9A" height="100" rowspan="2"> <img src="/images/blank_pixel.gif" width="1" height="1" alt="" border="0" /><br />
</td>
<!--#include file='/Include/rightnavNew.html' -->
</table>

<table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFcc" height="106" class="smgreycopy" ></table>

<!-- main BODY ends -->
</body>
</html>
Mar 26 '07 #3
Hi,
Sorry for the late response.
Write image/header_blue.gif instead of
/images/header_blue.gif.

Update this in every place and it will be working for you.

Regards
Akhilesh

The complete code is this:
<!--#INCLUDE virtual="/service/STEP/OldSession.asp" -->
<%
session("nassconfirm") = ""
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

<title>Work</title>

<meta name="resource-type" content="document">
<meta name="distribution" content="global">

<meta name="robots" content="all">

<link rel="STYLESHEET" type="text/css" href="/tip.css">



<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
//set highlight variable
var secName = "top";
var hdsecName = "top";
//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--

NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));

function popUp(){return};
function popDown(){return};

if (!ver4) event = null;

function openWin(URL) {
Window=window.open(URL,"urlwindow","width=635,heig ht=475,status=yes,scrollbars=yes,resizable=yes,loc ation=1,menubar=1,toolbar=yes");
Window.focus();
}

//-->
</SCRIPT>

<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--

if (isMenu) {
menuVersion = 3;

menuWidth = 185;
childOverlap = 0;
childOffset = -1;
perCentOver = null;
secondsVisible = .5;

fntCol = "white";
fntSiz = "8";
fntBold = "bold";
fntItal = false;
fntFam = "arial";

backCol = "#088339";
overCol = "#06664e";
overFnt = "#FFFFFF";

borWid = 1;
borCol = "#9999B2";
borSty = "solid";
itemPad = 2;

imgSrc = "/images/tri.gif";
imgSiz = 10;

separator = 1;
separatorCol = "#1C67A8";

isFrames = false; // <-- IMPORTANT for full window
navFrLoc = "left"; // <-- display. see below

keepHilite = true;
clickStart = false;
clickKill = false;
}

//-->
</SCRIPT>

<SCRIPT LANGUAGE='JavaScript1.2' SRC='/hierArraystip.js' TYPE='text/javascript'></SCRIPT>
<SCRIPT LANGUAGE='JavaScript1.2' SRC='/hierMenus.js' TYPE='text/javascript'></SCRIPT>


</head>

<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">

<!--#include file='../header-tipNew.inc' -->

<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="155" valign="top" style="background-color: #D0DAEF;">
<p><br />
<!--#include file='leftnav-ttopNNew.inc' -->
</p>
</td>
<td width="100%" valign="top" style="background-color: #ffffff; background-image: url(/images/header_blue.gif); background-repeat: no-repeat; background-attachment: fixed;" class="copy" height="525">
<!-- main BODY begins -->
<img src="/images/blank_pixel.gif" width="446" height="5" alt="" border="0" /><br />
<table border="0" width="446" cellpadding="0" cellspacing="0">
<tr>
<td width="38" valign="top"><img src="/images/blank_pixel.gif" width="38" height="5" alt="" border="0" /><br />
</td>
<td width="408" valign="top" class="title">TOP
- Transfer-Out Process</font><br />
<img src="/images/blank_pixel.gif" width="408" height="1" alt="" border="0" /><br />
</td>
</tr>
</table>
<br>

<table width="100%" border="0" cellspacing="1">
<tr>
<td width="6" height="20">&nbsp;</td>
<td class="text" width="*" height="20">
<p>The <b>Transfer
Out Process</b> (TOP) begins with a manager or delegate initiating
a request to process a transfer or to remove an associate from the
existing environment when they are leaving.

.</p>
</td></tr>

<tr>
<td width="6" height="100">&nbsp;</td>
<td class="text" width="*" height="100">
<p><br>The following
areas will be notified upon using this request process:</p>

<ul>
<li>Human Resources</font></li>
<li>Shared Services</font></li>

</ul>
<!--
<p><font face="Arial, Helvetica, sans-serif" size="2" color="#FF0000"><b>NOTE:
For all other users please contact your respective HR representative
to process any HR Changes;</b> Work currently does not handle these
requests.</font><br>
</p>
-->
<p><br>
</p>
</td>
<td width="6" height="100">&nbsp;</td>
</tr>
<tr>
<td width="6" height="2">&nbsp;</td>
<td width="*" height="2">&nbsp;</td>
<td width="6" height="2">&nbsp;</td>
</tr>
</table>
<br />
</td>
<td width="1" valign="top" bgcolor="##7B8C9A" height="100" rowspan="2"> <img src="/images/blank_pixel.gif" width="1" height="1" alt="" border="0" /><br />
</td>
<!--#include file='/Include/rightnavNew.html' -->
</table>

<table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFcc" height="106" class="smgreycopy" ></table>

<!-- main BODY ends -->
</body>
</html>
Apr 10 '07 #4

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

Similar topics

18
by: Brad Pears | last post by:
Can someone give me some sample code on how one would go about executing a command line "command" from within an ASP form? We need to run an application called GnuPG which allows us to encrypt an...
20
by: JulioHM | last post by:
Hello, Not sure if this is the right discussion group to post this, but here it goes. For some god-forsaken reason (which I can't find out either) MSIE stopped executing any JavaScripts. In...
2
by: Tony Liu | last post by:
Hi, I want to get the name of the calling function of an executing function, I use the StackTrace class to do this and it seems working. However, does anyone think that there any side effect...
2
by: News VS.NET \( MS ILM \) | last post by:
Please see subject ( use reflection but how ? )
9
by: | last post by:
Is there any sample about getting the results from executing an exe using C#? Thanks for answering.
8
by: Daz | last post by:
Hi everyone. I was faced with the choice of whether my problem is indeed a PHP problem or a MySQL. I have decided it's a PHP problem as I don't experience the same problem when I execute the...
29
by: =?Utf-8?B?SGVybWF3aWg=?= | last post by:
Hello, Please anybody help me. I have only a little experience with web development. I created simple project using ASP NET 2.0 (VS 2005) It works fine on local computer. When I tried to run...
0
by: Ben | last post by:
Hello, I've been developing apps in Delphi for years and have just started writing my first big project in c# + ms .net and have some questions about security and untrusted code. I've got an...
1
by: mahesh123 | last post by:
Hi, While executing my asp.net Project i am getting the following error. It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This...
2
by: ed_baxter | last post by:
We've noticed NULLID.SYSSH200 has been executing on the mainframe like 500K times a minute. What is this thing and what would make it run so often? It is causing our SMF history to be useless.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.