Web App Question

C

Carl Gilbert

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
 
A

agaleo

I am having the same exact issue. I am not sure if this is part of the
problem, but it seems that they have upgraded the server I am on to
ASP.NET 2.0. My application has been running fine for months before
this. BTW, my package (developer) has a link to "Webfiles" which
allows you to access your webfiles and set applications folders
through the browser.
 
A

agaleo

I am having the same exact issue. I am not sure if this is part of the
problem, but it seems that they have upgraded the server I am on to
ASP.NET 2.0. My application has been running fine for months before
this. BTW, my package (developer) has a link to "Webfiles" which
allows you to access your webfiles and set applications folders
through the browser.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top