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

Site root folder issue

Hi

We have the html portion of our site in the site root folder on a remote
site hosted with a web hosting company. I am now trying to add some asp.net
bits to the site but in trying to keep these separate from the main site, I
have copied the asp.net files into a sub folder under the root. The problem
is that I am having problems with the web.config file when running the
asp.net main aspx page, as presumably the web.config file needs to be in the
root folder of a site. What is it that I can do? Should I ask my web hosting
company to set some settings to make asp.net files think that they are in
the root folder? Something else?

Thanks

Regards
Nov 18 '05 #1
1 1456
On Sun, 25 Jul 2004 01:10:47 +0100, "John" <jo**@nospam.infovis.co.uk>
wrote:
We have the html portion of our site in the site root folder on a remote
site hosted with a web hosting company. I am now trying to add some asp.net
bits to the site but in trying to keep these separate from the main site, I
have copied the asp.net files into a sub folder under the root. The problem
is that I am having problems with the web.config file when running the
asp.net main aspx page, as presumably the web.config file needs to be in the
root folder of a site. What is it that I can do? Should I ask my web hosting
company to set some settings to make asp.net files think that they are in
the root folder? Something else?


What specific error messages are you getting? Is the subfolder enabled
in IIS to be an ASP.NET Application?

I'm having some problems getting my latest aberration going, and I
believe that my problem is that I renamed a directory that was
enabled, and now it doesn't work. My ISP seems to have gone on holiday
or something, so I don't have any solid info yet ...

Regards,

--
Ron Jeffries
www.XProgramming.com
I'm giving the best advice I have. You get to decide if it's true for you.
Nov 18 '05 #2

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

Similar topics

0
by: John Caruthers | last post by:
HELP! This problem is driving me crazy. All other web sites that are being served out through this server are working, including sites and virtual directories that are under the Default Web...
6
by: Tim | last post by:
I am in the process of moving a site from one hosting company to another. This site is fairly large, with hundreds of asp files, each with multiple "include" statements. The new host has a...
2
by: Julie | last post by:
I have a need for a site-absolute path specifier (server side). My issue is that I have pages w/ graphics in the banners (whee!), but the pages are at different levels of the folder hierarchy. ...
0
by: Kenny | last post by:
I need to read/write .jpg files in a folder *above* the current site's root. If MapPath is the way to go, then how can I reference the desired folder as relative to the current site's root (I don't...
4
by: Jerry | last post by:
I'm having just a bit of trouble wrapping my brain around the task of working with folders that are above the site's root folder. I let users upload photos (.jpg/.gif files) which can...
1
by: John Dalberg | last post by:
I have an asp.net app that is in a folder which is two levels under the website root folder. The website has a login.aspx which is in the root folder. How do I get the relative path to the web...
5
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
0
by: Carl Gilbert | last post by:
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...
10
by: Ty | last post by:
Hello all, I have built a site in VS 2008. using IIS7. Site works fine. So I publish to a local folder. I then go into IIS7 and add a virtural directory pointing to the compiled folder and make it...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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,...

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.