473,406 Members | 2,956 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,406 software developers and data experts.

Hosting with 1&1

Hi

I have a very simple web application which I have placed on my 1&1 (1and1)
web space.
I have placed my application in a folder called "tm" on the root of my web
space.
I have set the destination of one of my domains www.airbrushesonline.co.uk
to the tm folder using the 1&1 control panel.

Thus when you navigate to this domain you get the index page I have placed
in the tm folder.
Note how the address does not reference the fact the index file we are
looking at is actually within a folder called tm.

If you then click the enquiry link (second button in), you will see an error
page stating "Could not load type 'TestDeployment.WebForm1'."
It's finding the aspx page which is in the tm folder but it can't seem to
find the TestDeployment file.

What I think it's doing in looking on the root web space rather than in the
tm folder. I think I have proved this as I was previously getting a server
in application error which went on to state how I should turn off custom
errors in the web.config file. I was 100% sure that this was turned off and
the correct file was on my web space yet I still received the error. Grrr.

I then placed a copy of the web.config file in the root of my web space
which resulted in a more meaningful error. I think this confirms that where
the htm and aspx pages are being found in the tm folder, any web application
files are not being found as the application is being tricked into thinking
all files are on the root.

Can anyone provide a more accurate description of what is going on here?

I would like to keep the current setup I have with the domain pointing at
the tm folder and having all files in here so an offer of a solution would
be really nice.

Regards, Carl Gilbert
Apr 17 '06 #1
2 1317
It's looking for the dll's in the root of the website in the /bin folder.
Your web.config experiment confirms that this isn't the TM folder but the
parent directory.

Either place the /bin folder and relevant dlls in there, or make the tm
folder an application - I'm not sure if that's possible with 1&1...(though
many hosting companies allow you to controlt his)

Karl

--
http://www.openmymind.net/

"Carl Gilbert" <mr*************@hotmail.com> wrote in message
news:Uj***************@newsfe3-win.ntli.net...
Hi

I have a very simple web application which I have placed on my 1&1 (1and1)
web space.
I have placed my application in a folder called "tm" on the root of my web
space.
I have set the destination of one of my domains www.airbrushesonline.co.uk
to the tm folder using the 1&1 control panel.

Thus when you navigate to this domain you get the index page I have placed
in the tm folder.
Note how the address does not reference the fact the index file we are
looking at is actually within a folder called tm.

If you then click the enquiry link (second button in), you will see an
error page stating "Could not load type 'TestDeployment.WebForm1'."
It's finding the aspx page which is in the tm folder but it can't seem to
find the TestDeployment file.

What I think it's doing in looking on the root web space rather than in
the tm folder. I think I have proved this as I was previously getting a
server in application error which went on to state how I should turn off
custom errors in the web.config file. I was 100% sure that this was
turned off and the correct file was on my web space yet I still received
the error. Grrr.

I then placed a copy of the web.config file in the root of my web space
which resulted in a more meaningful error. I think this confirms that
where the htm and aspx pages are being found in the tm folder, any web
application files are not being found as the application is being tricked
into thinking all files are on the root.

Can anyone provide a more accurate description of what is going on here?

I would like to keep the current setup I have with the domain pointing at
the tm folder and having all files in here so an offer of a solution would
be really nice.

Regards, Carl Gilbert

Apr 18 '06 #2
Thanks for your reply.

I will experiment with the DLLs but I'm a bit reluctant to place the bin
folder on the root as this will mean doing the same for any other web
applications I have on my web space.
I requested for the folder to be set to be an application folder by 1&1.
They said it already was but I'm sure I created it only the day before.
Perhaps I will pester them again to ensure it is actually an application
folder.

Cheers, Carl
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:uH*************@TK2MSFTNGP02.phx.gbl...
It's looking for the dll's in the root of the website in the /bin folder.
Your web.config experiment confirms that this isn't the TM folder but the
parent directory.

Either place the /bin folder and relevant dlls in there, or make the tm
folder an application - I'm not sure if that's possible with 1&1...(though
many hosting companies allow you to controlt his)

Karl

--
http://www.openmymind.net/

"Carl Gilbert" <mr*************@hotmail.com> wrote in message
news:Uj***************@newsfe3-win.ntli.net...
Hi

I have a very simple web application which I have placed on my 1&1
(1and1) web space.
I have placed my application in a folder called "tm" on the root of my
web space.
I have set the destination of one of my domains
www.airbrushesonline.co.uk to the tm folder using the 1&1 control panel.

Thus when you navigate to this domain you get the index page I have
placed in the tm folder.
Note how the address does not reference the fact the index file we are
looking at is actually within a folder called tm.

If you then click the enquiry link (second button in), you will see an
error page stating "Could not load type 'TestDeployment.WebForm1'."
It's finding the aspx page which is in the tm folder but it can't seem to
find the TestDeployment file.

What I think it's doing in looking on the root web space rather than in
the tm folder. I think I have proved this as I was previously getting a
server in application error which went on to state how I should turn off
custom errors in the web.config file. I was 100% sure that this was
turned off and the correct file was on my web space yet I still received
the error. Grrr.

I then placed a copy of the web.config file in the root of my web space
which resulted in a more meaningful error. I think this confirms that
where the htm and aspx pages are being found in the tm folder, any web
application files are not being found as the application is being tricked
into thinking all files are on the root.

Can anyone provide a more accurate description of what is going on here?

I would like to keep the current setup I have with the domain pointing at
the tm folder and having all files in here so an offer of a solution
would be really nice.

Regards, Carl Gilbert


Apr 18 '06 #3

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

Similar topics

9
by: Google Mike | last post by:
To my surprise last month, my dad wanted to start dabbling in PHP and MySQL or pgSQL. I've been helping him out a bit. He's into athletic medicine and wants to have a website to help athletes and...
3
by: Ruby Tuesday | last post by:
E.g: less secure, not conforming with sql standard etc. Thanks
1
by: Ray | last post by:
Hi I need to access an access db via php. My hosting provider is using php version 4.3.10 on a windows 2003 platform. I think that php was installed with the Plesk for windows package/control...
2
by: Eric | last post by:
Greetings Comrades, Pythonistas! I am looking for guidance on the quick and easiest path to set up a Python wiki. A wiki application idea popped into my head while I was making morning coffee. ...
1
by: Ericson Smith | last post by:
Hi, We're thinking of moving to a 64 bit platform for our database. Does anyone have any stories of migration from 32 bit to 64 bits? * How did it impact performance? * Were there any gochas?...
8
by: VB Programmer | last post by:
I would appreciate your assistance on this ASP.NET 2.0 site.... This is the wierd problem: While accessing the built in .NET functions for 'profiling' or 'membership' an error is generated (see...
1
by: Cat | last post by:
When I create a new web project and upload it to a sub directory of www directory on my hosting service server, 403.1 error occurs. I e- mailed the adnimistrator once and he manually set 'script...
8
by: =?Utf-8?B?VG9t?= | last post by:
Hi, I need to copy and/or move files across servers to the other side of my firewall. I was wondering if anyone can tell me what port(s) I will need to open to run these methods in my C#...
1
by: lizawelch | last post by:
Is Application hosting same as cloud hosting and cloud computing?
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...
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.