473,804 Members | 3,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to easily test if ASPX is working?

I have developed a ASPX solution for resale. I know that most of my customers will not have IIS and ASPX configured correctly. I
was trying to determine if it would be easy to just give them a small amount of code to past in to a .aspx file in the root of
their main web that, if it ran, would tell them that the basic ASPX/IIS functionality was working?

So far, I have not discovered anything simple, which leads me to giving them a DLL and .aspx file to copy etc. Things keep going
downhill from there.

Has anyone a good/simple method that a non-guru could perform to confirm that at least basic functionality was working?

Thanks
-------------------------------------------
Roy Chastain
KMSystems, Inc.
Nov 18 '05 #1
2 28488
Roy Chastain wrote:
I have developed a ASPX solution for resale. I know that most of my
customers will not have IIS and ASPX configured correctly. I was
trying to determine if it would be easy to just give them a small
amount of code to past in to a .aspx file in the root of their main
web that, if it ran, would tell them that the basic ASPX/IIS
functionality was working?


Try this:

<html>
<body>
1 + 2 = <%= (1+2).ToString( ) %>
</body>
</html>
as an aspx file in the root of the webserver, and call it through localhost.
(http://localhost/test.aspx). It *should* display: 1 + 2 = 3, if everything
is correct.

Short enough?

Hans Kesting
Nov 18 '05 #2
I knew that I was making too difficult.

THANKS

On Wed, 3 Nov 2004 17:15:39 +0100, "y Kesting" <ne***********@ spamgourmet.com > wrote:
Roy Chastain wrote:
I have developed a ASPX solution for resale. I know that most of my
customers will not have IIS and ASPX configured correctly. I was
trying to determine if it would be easy to just give them a small
amount of code to past in to a .aspx file in the root of their main
web that, if it ran, would tell them that the basic ASPX/IIS
functionality was working?


Try this:

<html>
<body>
1 + 2 = <%= (1+2).ToString( ) %>
</body>
</html>
as an aspx file in the root of the webserver, and call it through localhost.
(http://localhost/test.aspx). It *should* display: 1 + 2 = 3, if everything
is correct.

Short enough?

Hans Kesting


-------------------------------------------
Roy Chastain
KMSystems, Inc.
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1293
by: Welman Jordan | last post by:
In process session states will lose. So, will the Cache items get lost when aspnet_wp.exe is recycled? And how about the Application variables?
29
15554
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ---Start of test.aspx---- <%@ Page language="C#" AutoEventWireup="false" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <HTML> <HEAD>
14
2494
by: Mark B | last post by:
Our webhost (www.usbusinessweb.net) had a W2K IIS5 server crash after a scheduled hard-boot occurred during a ms-security patch install overnight. They couldn't get the server working again so they transferred our site www.orbisoft.com to a new W2003 IIS6 server they set up. That was a week ago. Since that transfer, all of our ASPX pages that use Access2000 databases have stopped working.
3
3989
by: jab3 | last post by:
Hello. I"m new to this group, and to JavaScript in general, so please forgive me if I breach local etiquette. I'm trying to implement some client-side 'dynamic' validation on a form. I'm having a couple of problems, which I'll try to describe. But this e-mail will only reproduce one of them, in a "short" example. What I'm generally doing is having each form entry contained in a div, which as a label, an input with some event handlers,...
1
2630
by: Chris | last post by:
Hi, I use code-behind, but how can i pass a variable from test.aspx.vb to test.aspx? Test.aspx.vb contains this: Partial Class test Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
0
1263
by: John Mott | last post by:
Hello all, I'm trying to break up a large CodeFile .cs file into multiple pieces using partial classes. I'm getting compiler errors which act as if it didn't merge the multiple files. in doing searches on this problem i saw hints (not examples) related to setting namespaces on the partial classes but i couldn't get it to work.
4
1578
by: adalton | last post by:
I've been trying to figure out how to test for a valid internet connection. I am able to connect to a valid internet connection, but when it drops, or if it is not there when my program starts, I get an exception. This probably is a newbie question, but I do not even know what or how I would trap that error.
4
2044
by: burnin240sx | last post by:
I am trying to get access to run this VBA code after the manufacture date is entered. the code should populate Legacy or New depending if the product was made before of after 1/31/08. My code is acting like it is not running and I can't get access to break at the if statement for debuging. Am I doing something wrong? Private Sub Manufacture_Date_AfterUpdate() If (Me.Manufacture_Date > #1/31/2008#) Then Me.Legacy_Or_New = "New" Else...
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10564
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...
1
10308
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,...
0
10073
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9134
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7609
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
6846
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
5513
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
5645
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.