473,847 Members | 1,512 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 ='MachineToAppl ication' 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: <authenticati on 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 2813
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 ='MachineToAppl ication' 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: <authenticati on 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.goo glegroups.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 ='MachineToAppl ication' 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: <authenticati on 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
8912
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 enlarged one by one). This topic seems to be frequent. Some says that you under no circumstances can protect your images, others seem to have preventing solutions.
4
1514
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 window/....precomplie.... which one is used by complier?
5
1354
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 Reports
2
5358
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 menu. I did this but still no bin folder. so I manually created a bin folder and ran Build Web Site again but still no DLL in the bin folder. is this because I only have static aspx pages so far and haven't written any code behind yet? This is...
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 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...
4
1734
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 to access the songs directly from folder without paying. I Had paced a index page in those folders which redirect back to website. But if their is some better approach then plz tell me With Best Regards
3
2037
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 default page "Login.aspx" into this folder, or should it be left in the root folder?
2
1182
by: Jethro | last post by:
Hi guys currently I have an app which lives immediately under a website : <mysite> files /Bin /Images /includes
1
7062
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
9892
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9734
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10995
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10654
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10718
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10347
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7061
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4540
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4130
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.