Aspx Runs Outside Of Application

whether a web application needs to be defined in IIS as an "application" to run. We have a client who has a medium sized web site (~2,000 pages), including some ASP and some aspx pages. These were developed by different developers over the past several years.

What I don't understand is that some of the aspx pages compile and run fine, but they are not in a virtual directory or in a folder that's conifgured as an "application." They do read from a global.asax file in the web site's web-doc root folder. But the site at its root is not configured as a .net 'application' either (and the .asp pages throughout the site would all fail if it were, I think.)

Is there a 'global' web application for asp.net? If so, are there restrictions on it? For example, can I create a /Bin folder and have it work? (I've tried, and it hasn't but I'm not sure what I'm doing.) If not, how else could the site be configured so it runs the .aspx pages?

View Replies


ADVERTISEMENT

Open Application That Runs On Server...

i want to run an application...from the intranet site a client presses a button and the application opens in the server...how can i do this ? any ideas ???

View Replies View Related

Query Runs Once

I have a form that is used for a search, works great. I added two tables to the database for keeping track of words used in the search, and created a stored procedure for inserting/updating these tables.
When I run the stored procedure in Query Analyzer or from within FireFox, all is well. But when I use IE and enter a word into the field and click "GO", the tables for keeping track get two insert/update data results.
Has anyone run across this, before? Any clue as to what is happening? Any suggestion on preventing IE from running the query twice?

View Replies View Related

Application_OnStart Runs Twice

IIS 6 on 2003 Server. Application_OnStart runs when the first page is accessed (as it should). The next page is a frameset with 3 frames (2 ASP, 1 HTML). One of the ASPs properly accesses the existing Application object, the other ASP causes Application_OnStart to run again. Any idea why this is happening / how to prevent it?

I am only encountering this on one server, which leads me to think it is related to IIS settings.

More info: The site is set up as a virtual directory. The frameset and content pages reside in a sub-directory (also virtual, but no separate application object defined).

View Replies View Related

Certain Script Runs Only When Directed From A Certain URL

I have 3 pages. Page 1 contains a form which a user enters in information. Page 2 contains a table which is populated by a database (it is looking up personal information about users which is populated from a database).

There is no input but values are still there. On this page, it will populate and the user can then click on a button to select a person and then go to the Page 3.

First, I need to know how to get these values from Page2 to carry over to Page3. Also, I want to know how to write a script that allows Page3 to determine from what page the user just came from.

The reason for this is because I want one thing to happen it if came from Page1 but something else to happen if the user came from Page2. I hope this makes sense. if it doesn't, I will try to re-phrase it.

View Replies View Related

JavaScript Where It Runs When Embedded In Asp Page

I want to know when we embed javascript or vbscript in asp pages where the script runs whether on client's browser or web server? also is there any possibilities like in asp.net we have "runat" wherein we can specify sever or client option available when we are programing in asp.

View Replies View Related

Open A New Window OnClick Which Runs An Additional Query

my objective is to click on an image and use the file path of the image as the variable in the next query, hence re running the same query but with "WHERE imageb " and not "WHERE imagea " with the value of imageb replacing min_vsim on the next query. this query can be excecuted preferebaly by a mouse click on the url of the image. Code:

View Replies View Related

500 Error Running On A Virtual Directory That Runs Asp.net With No Errors

I do not understand why. I am running perfectly well asp.net on a virtual directory, but if I put a simple asp file such as this, and named it foo.asp, and try to run it from this virtual directory, I get the 500 error:

<html>
<body>
<%
Response.Write("hello")

%>
</body>
</html>

Any ideas why? I check the Properties of this virtual directory, and under The Virtual Directory tab, Configuration button, App Mappings tab, I can see .asp listed pointing to
C:WINNTSystem32inetsrvasp.dll . If I look at this folder the dll exists.

I'm running windows 2000 professional. But I found the same problem in another computer running Windows 2003 server, IIS 6.0

View Replies View Related

Opening A Aspx Page Withing A Aspx Page

I have an asp.net page that I would like to open up another asp.net page within the first one. Like a parent - child relationship. I need to display a graph in the child on the parent.

View Replies View Related

Asp Or Aspx

I'm still new to server side languages, and have been going though asp 3.0 for beginners by wrox for about two weeks.Is it a waste of time to learn asp now since .net is supposed to be the future? Am I better off just learning php since it's so popular, and open source? I'm really lost, and kinda pissed off about the lack of backward ocmpatability for asp. I read .net is so completely different in all aspect, and it uses ado.net.

At the moment I know the following:

html/xhtml
css
tiny bit of vbscript/asp 3.0
adobe photoshop/image ready

What should I be focusing on learning. I'm scared i'll choose the wrong thing, and waste time on it.

View Replies View Related

ASP Vs ASPX ?

I have been using ASP for a few years now. For the most part I have been
able to make it do what I need for it to do. Is there a reason I might want
to be learning ASPX? Can someone point out some of the general differences
between ASP and ASPX?

View Replies View Related

ASPX

I got some code in ASPX format but I have no idea about how to make it work.. like, I did this . I created a virtual directory in IIS . Gave default.aspx as the default document . When i enter the URL in Internet Explorer, it displays only the code rahter than displaying the output

So, how do I do it?

View Replies View Related

Access VB Application From Web Application

We have our web-site developed in classic ASP, and I need to add this additional feature on one of the pages to access a VB application. How can I do that? The VB application basically sends output to the COM3 port and opens a USB-Cash drawer that is attached to it. I am not sure how to go about with this.

View Replies View Related

.aspx Files

I am having trouble publishing .aspx files in my Sharepoint Portal Server. I receive the message: "The page contains server script, which is not supported on this server", apparently due to the dual security of WSS and ASP. I have heard that there is a possibility of side-stepping this problem by publishing the files in the _layouts directory. Can someone please instruct me as to how to do this, or if there is a better way to get around this issue.

View Replies View Related

ASPX Files

I have installed IIS on WINDOWS 2003 server.
IIS is working only if I type filename.aspx for .asp or any other file its
giving "HTTP Error 404 - File or directory not found.
"

View Replies View Related

How To Include An Old-ASP Within My New-ASPX

I've got and old ASP script that works Ok, but I want now to include it within a new ASPX script I've just created with '.net'.

The process could be: Code:

<%@ Page Language="VB" %>
<%
... aspx code ...

include my old ASP script
%>

I'm newbie in ASP, and would be extremely obliged if anybody could tell me how I must write it. I've tried with:

<!-- #Include File="old-script.asp" -->

but it doesn't work.

View Replies View Related

What's A .aspx Page?

never seen one of these extensions before. anyone know what it is?

View Replies View Related

Aspx/linux/etc

I've just taken a client who has a membership-based site served as aspx. Yhe relationship with his current host/developer is going south and I need to switch to new hosts and find someone to handle the backend stuff.
Much of the site appears to be poorly structured - needlessly complex and yet lacking certain features. From my own limited knowledge of what I've seen of it, I'd have suggested using a drupal and a bunch of php... but I know little and may be talking out of my butt.
I'm more comfortable with linux/apache... and I'm guessing that's incompat with the current work - or is it? The database is sql so is it viable to migrate away from aspx? Etc?

View Replies View Related

ASPX Not Executed

I'm trying to execute ASPX page on a test IIS Server. Instead of executing it shows the ASPX file on screen.

View Replies View Related

ASPx Code

I don't know ASPx at all, but I working with some simple code here that is supposed to display the date automatically at the bottom of a page. Here is the code:

<%=response.write("© " & year(now) & " Company Name")%>
But nothing shows up at all.

Same deal when taking out the equals sign.

View Replies View Related

Cannot Run .aspx File

can any help me to figure out, what is happening? i cannot run my .aspx.i had properly setup the IIS and .NET framework 1.1

View Replies View Related

Aspx To WorldPay

I am writing a script that requires two actions performed on the same page.upload pictures and store them on the server & 2) Send all of the variables from the WebForm to the WorldPay servers via the POST method. I am aware of the Server.Transfer and Response.Redirect methods but neither of these will do what I want.

Are there any soluitions out there in C# that I can used to do this easily( running out of time on this project!)?

View Replies View Related

Calling ASPX

i am having examples to work with ASP,I came across a small ASPX module that I would like to call from the ASP module.How can I do this?

View Replies View Related

Run ASP And ASPX On Same Site

if a .NET-built site is running on Windows 2000/IIS, can I put up some classic ASP pages? It will be under the same domain name, just on the aspx pages, they will have a hyperlink to my ASP pages, just like if they linked to any other web pages.

View Replies View Related

ASPX Page

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 allows users to upload a simple html document onto the server. The include code calls that html page to display the text on that page.

The problem is when the user uploads that html page, the aspx page does not refresh to reflect those changes, even if the user hits refresh in their browse. However, if I manually connect to the server and open the aspx page that contains the code and hit save then the webpage updates to reflect the changes that were made to the include page. Can anyone help me fix this problem?

View Replies View Related

Validator For .aspx?

I used to validate my html at validator.w3.org/detailed.html.

Now that I am producing .aspx pages, where can I validate the code?

View Replies View Related

Aspx Not Processed

I have a problem with IIS and .NET 2.0. When I post to an aspx page everything acts as expected, the page is executed and I get the correct response. But when I send a GET request IIS just returns the code of the aspx page.

I tried switching to .NET 1.1 and it did not behave this way. I have been unable to discover why this happens.

View Replies View Related

File I/o With Aspx And C#

I would like to display a text file using aspx. I realise that I can add a key for a text file in the web.config file. But what do I do after that? I would like to use c# to do this and I woudl like to try to understand how it can be done with a dll?

View Replies View Related

Difference Between Aspx And Asp

I understand how asp scripting works and how you put <% %> around your server script. However this is .asp . what is .aspx? is this the new version ASP.nET? I dont understand how it works when i create a new aspx project in vstudio.net and i create a aspx page in design view.

I add a button and then double click it to add code to that button. I dont see any html code around it? In an asp page the server side code is surrounded by html code. An aspx page almost looks like a normal vb application, why is there no html
code around?

View Replies View Related

From ASP Call ASPX

I wanted to code the new pages in asp.net. Is it possible to call aspx page from asp page. I mean say I have a button in asp page. On click of the button it should bring up the aspx page.

View Replies View Related

How To Include An Old-ASP Within My New-ASPX

I've got and old ASP script that works Ok, but I want now to
include it within a new ASPX script I've just created with '.net'.

The process could be:

<%@ Page Language="VB" %>
<%
... aspx code ...

include my old ASP script
%>
I'm newbie in ASP, and would be extremely obliged if anybody could
tell me how I must write it. I've tried with

Code:
<!-- #Include File="old-script.asp" -->
and

Code:
<% Server.Execute("old-script.asp") %>
but it doesn't work.

View Replies View Related

Aspx Page(.net)

i have a asp project. however there is one module i want to create in .net. can i include the .net module in my asp project?

View Replies View Related

.aspx Extention And VS

How can I configure my site to use extensions other than .aspx? For example, if I want helloworld.aspx to be helloworld.sp, how would I do that? I know that only the urls with .aspx extensions make it into my application_begin().

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved