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

Posting to Form in Subdirectory

Hi all. I have experience with C#/VB.NET and ASP Classic, but am very new to
ASP.NET.

I'm using ASP.NET 2.0 and am modifying a site. I copied the site files to a
subdirectory to test and (hopefully) not interfere with the live version.

I am running a page in the subdirectory that should submit to itself:
http://www.<site>.com/dev/QuoteGuestInfo.aspx. The Page directive is:

<%@ Page Language="VB" MasterPageFile="~/dev/masterfile.master"
AutoEventWireup="false" CodeFile="QuoteGuestInfo.aspx.vb"
Inherits="QuoteGuestInfo" %>

When I do a View Source on the page, I see the <formtag as:
<form name="aspnetForm" method="post" action="QuoteGuestInfo.aspx"
id="aspnetForm">

When I submit the form, I get a "The resource cannot be found." error, with
Requested URL: /QuoteGuestInfo.aspx.

So it looks like it's going to the main directory instead of my dev
subdirectory. Is there a way to make the post go back to the dev
subdirectory instead of the main dir?

(I did a search but I'm new enough on this topic I'm not quite sure what to
search on.)

Thanks for any help,
Steve
Oct 10 '07 #1
0 1048

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

Similar topics

4
by: Bill | last post by:
Will IIS6.0 recognize a global.asa file located in a subdirectory on the webserver? I'd like a file that will execute whenever a file in the subdirectory is browsed - or, at least it is...
7
by: SOW Olivier | last post by:
hi, i have a site wich is in a subdirectory of the webSite. I have to use a global.asa file to set session.timeOut even i create an IIS application on the subDirectory global.asa don't run ?!?...
2
by: Scott Natwick | last post by:
This is probably a simple question, but... I need to create a Form in a subdirectory. I've seen many examples of forms in subdirectories refferenced on the web, but I haven't been able to find a...
1
by: sivam.solai | last post by:
hai i have My Asp.net Project in C:\AspNetproject AspNetproject have To sub Folder. 1) Forums and 2) users Exe : C:\AspNetproject\Fourms Exe : C:\AspNetproject:\users The Fourms...
0
by: Pieter | last post by:
Hi, I'm having a problem deploying Reporting Services Reports on a ReportServer, when the reports have to be put in subdirectory's and use a shared DataSource. I'm using an application...
2
by: keith | last post by:
I created a subdirectory in a project and added an image to the subdirectory from the project and set its property Build Action=Embedded Resource. Then instanciate a image by Image img=new...
6
by: Dean Fields | last post by:
Hello, I am having some session problems wih an in-house (classic) asp application. My developers have not been able to figure it out. I am more of a systems admin type and much of this is over...
0
by: =?Utf-8?B?Qm9ubmll?= | last post by:
I have a basic ASP / Index Server search page. I have a web site contained in a subdirectory in the root of a main web site. What I’m trying to do is force the search page in the subdirectory,...
2
by: goblinsleez | last post by:
Ok , heres the thing. I have a project im workin on, and i have my exe , in a directory, with a subdirectory named DLL and inside that my dll. I was sure that csc /t:winexe /lib:DLL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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...
0
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...
0
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...

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.