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

Web application in non-root folder

Hi

I am trying to get a simple ASP.NET web application to work on my 1&1
(1and1) web space. I managed to get something working a while ago, with
thanks to Karl Seguin, but for some unknown reason it stopped working.

I have two domains:
www.airbrushesonline.com which is directed at a folder on my web space
called 'tm'
www.airbrushesonline.co.uk which is directed at a folder on my web space
called 'tm2'
The only difference between the two folders is that I have requested that
1&1 set 'tm' to be an application folder which they have done.

I have then created a very simple web application that has one page with a
textbox, label and button and some code behind the button to set the text of
the label to equal the text of the textbox. Hardcore!
I have then copied the entire web application to both folders. As I have no
index page, I get an explorer view of the folder when I navigate to both of
the domains listed above. When I click on WebForm1.aspx I get a resource
cannot be found error in both folders. When I put my web.config file in the
root of my web space, additional ASP.NET version information is appended to
the bottom of the error which I feel proves that it's looking in the root
folder for something.

If I then modify the address to include /tm and /tm2 for the .com and .co.uk
respectively, the page then displays correctly on the .com where I use:
http://www.airbrushesonline.com/tm/WebForm1.aspx
but I get a configuration error on the .co.uk when I use:
http://www.airbrushesonline.co.uk/tm2/WebForm1.aspx
which is to be expected as the folder has not been set to be an application
folder.

Anyway, that's not the point. When I put my bin folder in the root of my
web space I still get a resource cannot be found error which I was not
expecting when using http://www.airbrushesonline.co.uk/WebForm1.aspx
When I had the error before, Karl advised that the application was looking
in the root as I expected and that by placing the bin folder there would
resolve the issue. I did that before and it worked but now I can no longer
get such a simple thing to work and that makes me quite sad and a little bit
angry.

Can anyone please explain where I have gone wrong and how to resolve this
issue?

Regards, Carl Gilbert

May 4 '06 #1
0 1604

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

Similar topics

2
by: Debbie | last post by:
Hi I have developed an application that access an SQL database and installed it on a different machine The installation is successful but when I try to run the application I get the following...
11
by: Timothy Shih | last post by:
Hi, I am having a freezing issue with my application. My application serves several remotable objects, all of which must be initialized before their use. Furthermore, some of them depend on each...
4
by: Dave | last post by:
I need to add the ability to drag from a Windows Form and drop into a non dotNet application. For example, having a generated image in my app that I wish to drag out into explorer as a friendly way...
7
by: Staale L. Hansen | last post by:
We have an application which uses some mixed-mode code to expose a .NET 1.1 managed API. Only the necessary files are compiled with /clr. We want to be able to load the application without .NET...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
7
by: abcd | last post by:
I have asp.net application which was tested and developed on asp.net 1.1. WIll my application work on asp.net 2.0 also. Can I say asp.net 2.0 is supported automatically for the applications which...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
16
by: Wolfgang Keller | last post by:
Hello, does anyone know of a good book that about development of database applications? Preferrably language independent, if that's not available something "readable" as the example language...
1
by: =?Utf-8?B?VGFvZ2U=?= | last post by:
Hi All, When I use applcation.exit() in winForm application, the form closed, but the process is still going!! ( The debug process is still running if debug in VS IDE). Environment.Exit(0) works...
6
by: Dylan Nicholson | last post by:
Running as an administrator, I can retrieve the account password stored by IIS for any application pool (using the WAMUserPass property). But, unsurprisingly, an ASP.NET application running inside...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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,...
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
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,...
0
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...

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.