473,498 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can sub folder be a website?

On my local machine, I've created an ASP.NET website, which will go
into a sub folder of a website on a remote web server. I did this on
my local machine because at some point, this site will have its own
domain and no longer reside in the web server sub folder.

Everything runs fine on my local machine but on the remote web server,
I get this error:

Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.

Source Error:
Line 44: by Microsoft that offers a single logon and core
profile services for member sites.
Line 45: -->
Line 46: <authentication mode="Windows" />
Line 47:
Line 48: <!-- AUTHORIZATION
Is this something to do with having created a website and stuck it into
a sub folder of another website? I also created a bin folder in the
sub and put the sub website's DLL in it. If this is not correct, how
should I be doing it?

Thanks,
Brett

Jan 3 '06 #1
2 2791
You need to create a virtual directory for that subdirectory

"brett" wrote:
On my local machine, I've created an ASP.NET website, which will go
into a sub folder of a website on a remote web server. I did this on
my local machine because at some point, this site will have its own
domain and no longer reside in the web server sub folder.

Everything runs fine on my local machine but on the remote web server,
I get this error:

Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.

Source Error:
Line 44: by Microsoft that offers a single logon and core
profile services for member sites.
Line 45: -->
Line 46: <authentication mode="Windows" />
Line 47:
Line 48: <!-- AUTHORIZATION
Is this something to do with having created a website and stuck it into
a sub folder of another website? I also created a bin folder in the
sub and put the sub website's DLL in it. If this is not correct, how
should I be doing it?

Thanks,
Brett

Jan 3 '06 #2
Under IIS, make the sub folder an application using Properties under the
Application Settings section on the Virtual Directory tab.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"brett" <ac*****@cygen.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
On my local machine, I've created an ASP.NET website, which will go
into a sub folder of a website on a remote web server. I did this on
my local machine because at some point, this site will have its own
domain and no longer reside in the web server sub folder.

Everything runs fine on my local machine but on the remote web server,
I get this error:

Configuration Error
Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.

Source Error:
Line 44: by Microsoft that offers a single logon and core
profile services for member sites.
Line 45: -->
Line 46: <authentication mode="Windows" />
Line 47:
Line 48: <!-- AUTHORIZATION
Is this something to do with having created a website and stuck it into
a sub folder of another website? I also created a bin folder in the
sub and put the sub website's DLL in it. If this is not correct, how
should I be doing it?

Thanks,
Brett

Jan 4 '06 #3

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

Similar topics

11
8855
by: LarryM | last post by:
Hi, NB, not to stop capturing the single displayed Image, but to stop downloading the entire image directory. (In my Website you will do a search, and get some thumbnails, and these can be...
4
1497
by: mike | last post by:
i wonder if bin folder still use in asp.net 2.0 when i migration website for 1.1 how sholud i do? i guess complier would make 2 dll another folder one is bin folder and the other is...
5
1337
by: Craig | last post by:
I get an error when compiling the website about the first Reports folder. If I change the name the website compiles. Am I doing something wrong?? Folder list...... CoolingTower Boilers...
2
5331
by: moondaddy | last post by:
This is my first website using asp.net 2.0 and the first thing I noticed is no bin folder. After reading some other postings I saw mention that I needed to select Build Website from the build...
0
319
by: brett | last post by:
On my local machine, I've created an ASP.NET website, which will go into a sub folder of a website on a remote web server. I did this on my local machine because at some point, this site will have...
4
1696
by: Shazia Sadiq | last post by:
Hi! i m developing a website for sell of songs all songs are place in songs folder. and at front end of website url to download shows the link of songs folder so it is threat that may be soem try...
3
2020
by: Rick | last post by:
Hi, Our website used to have all pages in the root folder, and the entry page is "Login.aspx". I was asked to move all pages inside a folder named "Aspx" Is it possible to move also the...
2
1167
by: Jethro | last post by:
Hi guys currently I have an app which lives immediately under a website : <mysite> files /Bin /Images /includes
1
6966
Gyanchand
by: Gyanchand | last post by:
In IIS, on my website folder, i right clicked, and selected delete option. Now my website folder has been deleted from the system. Please tell me how can i retrive the website folder.
0
6993
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
7197
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...
1
6881
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
7375
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
5456
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,...
1
4899
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...
0
4584
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.