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

Resource cannot be found

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 2 '06 #1
0 1697

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

Similar topics

3
by: Van Steenbergen jan | last post by:
hi all i'm having a very strange error When i go to a asmx file from a webservice in IIS and i do a right click-choose Browse Next error will occure Server Error in '/' Application...
2
by: Alan Johnson | last post by:
I am trying to create an automatic resource manager that works very much the same as std::auto_ptr. However, I have a compile error I cannot figure out. The following program demonstrates the...
0
by: Johann Blake | last post by:
I'm having trouble grasping how ASP.NET correctly locates resources. There is plenty of documentation on this subject but some things are not clear at all. In my ASP.NET application, I have...
2
by: Steve M | last post by:
I am having a really strange problem. I have a site setup in a virtual directory that fails with the error below. It works on other web servers that are network load balanced with this server. I...
1
by: willjay | last post by:
I get this message when trying to install donet resource kit. Event views for applications shows: The description for Event ID ( 11001 ) in Source ( MsiInstaller ) cannot be found. The local...
2
by: frossberg | last post by:
Hello! I tried to install the Visual Basic.NET Resource Kit (http://msdn.microsoft.com/vbasic/vbrkit/) but obviously something went very wrong and now it sems impossible both to repair and to...
2
by: George Nentidis | last post by:
The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable....
1
by: coz | last post by:
Someone please help! I cannot for the life of me get a web resource in asp.net 2.0 to return any content. I know I have correctly embedded my resources (because I can manually get the resources...
0
by: VigneshS | last post by:
Hi, I am a newbie to Globalization and Localisation Concepts. I tried almost all the methods of the Globalization concepts. But i cannot be able to embed a text file within a Resource. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.