Hello.
I'm having a big problem with asp .net. Initially, when I create a new web
applicaction and I try to open an aspx page, I get an 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: por Microsoft que ofrece un inicio de sesión único y
servicios de perfil principal para sitios miembro.
Line 45: -->
Line 46: <authenticati on mode="Windows" />
Line 47:
Line 48: <!-- AUTORIZACIÓN
I've seen somebody else in this forum had had this problem, but mine is
worse, because my computer completely stops responding if I change the
application directory property in site properties, which is the way another
users have solved the problem.
I've checked this problem dissapear if I uninstall .net framework, so I
think there must be a conflict with this.
Does anybody have any idea?
Thanks 4 1302
This error is almost invariably caused by the directory that your trying to
access not being defined as an virtual directory to IIS. What the message is
really saying is that you're accessing a directory (through a browser) that
contains a web.config file. While this is quite acceptable, when ASP.NET is
processing the config file, it finds a setting that cannot be defined in the
subdirectory of an existing virtual directory.
The solution (at least in my experience) has been to go to IIS manager and
right-click on the Default Web Site. Then select New | Virtual Directory.
Give the virtual directory a name and provide a path that points to exactly
where this project is living. After you've finished the wizard, you should
be able to browser to the page successfully.
Hope that helps.
Bruce Johnson [.NET MVP] http://www.objectsharp.com/blogs/bruce
"Problem doesn't solve" wrote: Hello. I'm having a big problem with asp .net. Initially, when I create a new web applicaction and I try to open an aspx page, I get an 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: por Microsoft que ofrece un inicio de sesión único y servicios de perfil principal para sitios miembro. Line 45: --> Line 46: <authenticati on mode="Windows" /> Line 47: Line 48: <!-- AUTORIZACIÓN
I've seen somebody else in this forum had had this problem, but mine is worse, because my computer completely stops responding if I change the application directory property in site properties, which is the way another users have solved the problem. I've checked this problem dissapear if I uninstall .net framework, so I think there must be a conflict with this. Does anybody have any idea? Thanks
Hello.
Thanks for your response. I think I've tried every possible combination with
virtual directories as you said, and when I try to access my aspx page, my
system stops responding (as what it happened before).
Problem is the same when I introduce the virtual directory address and my
habitual address (normal project address).
I don't know if is it possible to use a virtual address as an habitual
address way.
I explain you steps I've followed:
- My project is in directory wwwroot/prueba1
- I've created a virtual directory called "virtual", which points to this
directory.
- I've tried in my browser with addresses: localhost/prueba1/p.aspx and
localhost/virtual/p.aspx , and problem keeps being the same (system blocked
and rebooting needed).
The truth is that I'm quite desperate.
Do you find any other solution?
Thank you
"Bruce Johnson [.NET MVP]" wrote: This error is almost invariably caused by the directory that your trying to access not being defined as an virtual directory to IIS. What the message is really saying is that you're accessing a directory (through a browser) that contains a web.config file. While this is quite acceptable, when ASP.NET is processing the config file, it finds a setting that cannot be defined in the subdirectory of an existing virtual directory.
The solution (at least in my experience) has been to go to IIS manager and right-click on the Default Web Site. Then select New | Virtual Directory. Give the virtual directory a name and provide a path that points to exactly where this project is living. After you've finished the wizard, you should be able to browser to the page successfully.
Hope that helps.
Bruce Johnson [.NET MVP] http://www.objectsharp.com/blogs/bruce
"Problem doesn't solve" wrote:
Hello. I'm having a big problem with asp .net. Initially, when I create a new web applicaction and I try to open an aspx page, I get an 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: por Microsoft que ofrece un inicio de sesión único y servicios de perfil principal para sitios miembro. Line 45: --> Line 46: <authenticati on mode="Windows" /> Line 47: Line 48: <!-- AUTORIZACIÓN
I've seen somebody else in this forum had had this problem, but mine is worse, because my computer completely stops responding if I change the application directory property in site properties, which is the way another users have solved the problem. I've checked this problem dissapear if I uninstall .net framework, so I think there must be a conflict with this. Does anybody have any idea? Thanks
The question is: Why would you set up a virtual directory to point to
another directory already in IIS.
I develop with my project in a regular directory outside of the wwwroot and
then create a virtual directory that points to that real directory
structure. IT looks like you are taking a pre-existing web app created
within an actual directory under wwwroot (ie Non-virtual). You can verify
this is the case by using file explorer and see if that directory actually
exists under the inetpub\wwwroot directory.
Next go into IIS and make sure the directory is checked as an application.
"virtual" just may not be set to being an application. If all pruebal is is
a directory to hold files, I suggest you move those files out of wwwroot for
security purposes.
hth
Harry Simpson
"Problem doesn't solve" <Pr************ ****@discussion s.microsoft.com > wrote
in message news:51******** *************** ***********@mic rosoft.com... Hello. Thanks for your response. I think I've tried every possible combination with virtual directories as you said, and when I try to access my aspx page, my system stops responding (as what it happened before). Problem is the same when I introduce the virtual directory address and my habitual address (normal project address). I don't know if is it possible to use a virtual address as an habitual address way. I explain you steps I've followed: - My project is in directory wwwroot/prueba1 - I've created a virtual directory called "virtual", which points to this directory. - I've tried in my browser with addresses: localhost/prueba1/p.aspx and localhost/virtual/p.aspx , and problem keeps being the same (system blocked and rebooting needed). The truth is that I'm quite desperate. Do you find any other solution? Thank you
"Bruce Johnson [.NET MVP]" wrote:
This error is almost invariably caused by the directory that your trying to access not being defined as an virtual directory to IIS. What the message is really saying is that you're accessing a directory (through a browser) that contains a web.config file. While this is quite acceptable, when ASP.NET is processing the config file, it finds a setting that cannot be defined in the subdirectory of an existing virtual directory.
The solution (at least in my experience) has been to go to IIS manager and right-click on the Default Web Site. Then select New | Virtual Directory. Give the virtual directory a name and provide a path that points to exactly where this project is living. After you've finished the wizard, you should be able to browser to the page successfully.
Hope that helps.
Bruce Johnson [.NET MVP] http://www.objectsharp.com/blogs/bruce
"Problem doesn't solve" wrote:
> Hello. > I'm having a big problem with asp .net. Initially, when I create a new > web > applicaction and I try to open an aspx page, I get an 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: por Microsoft que ofrece un inicio de sesión único y > servicios de perfil principal para sitios miembro. > Line 45: --> > Line 46: <authenticati on mode="Windows" /> > Line 47: > Line 48: <!-- AUTORIZACIÓN > > > I've seen somebody else in this forum had had this problem, but mine is > worse, because my computer completely stops responding if I change the > application directory property in site properties, which is the way > another > users have solved the problem. > I've checked this problem dissapear if I uninstall .net framework, so I > think there must be a conflict with this. > Does anybody have any idea? > Thanks
The response is very simple: I tried the simplest way and it didn't work. I'm
a novice in web development, but I've been in it some months and I never had
to change this configuration because I was making a simple application, so it
was hosted in wwwroot directory.
Now, I think that at least I know where the problem is, although I don't
know why it's produced. I've checked sometimes project properties in IIS are
changed automatically, specifically the "applicatio n configuration" ones, (in
Directrory tab). I suppose this is the problem source.
Do you know if I've to write anything in application name?
The most extrange thing is that I've managed to build a new project that
works, and its properties are exactly the same that non-working projects.
Any idea?
Thanks.
"Harry Simpson" wrote: The question is: Why would you set up a virtual directory to point to another directory already in IIS.
I develop with my project in a regular directory outside of the wwwroot and then create a virtual directory that points to that real directory structure. IT looks like you are taking a pre-existing web app created within an actual directory under wwwroot (ie Non-virtual). You can verify this is the case by using file explorer and see if that directory actually exists under the inetpub\wwwroot directory.
Next go into IIS and make sure the directory is checked as an application. "virtual" just may not be set to being an application. If all pruebal is is a directory to hold files, I suggest you move those files out of wwwroot for security purposes.
hth Harry Simpson
"Problem doesn't solve" <Pr************ ****@discussion s.microsoft.com > wrote in message news:51******** *************** ***********@mic rosoft.com... Hello. Thanks for your response. I think I've tried every possible combination with virtual directories as you said, and when I try to access my aspx page, my system stops responding (as what it happened before). Problem is the same when I introduce the virtual directory address and my habitual address (normal project address). I don't know if is it possible to use a virtual address as an habitual address way. I explain you steps I've followed: - My project is in directory wwwroot/prueba1 - I've created a virtual directory called "virtual", which points to this directory. - I've tried in my browser with addresses: localhost/prueba1/p.aspx and localhost/virtual/p.aspx , and problem keeps being the same (system blocked and rebooting needed). The truth is that I'm quite desperate. Do you find any other solution? Thank you
"Bruce Johnson [.NET MVP]" wrote:
This error is almost invariably caused by the directory that your trying to access not being defined as an virtual directory to IIS. What the message is really saying is that you're accessing a directory (through a browser) that contains a web.config file. While this is quite acceptable, when ASP.NET is processing the config file, it finds a setting that cannot be defined in the subdirectory of an existing virtual directory.
The solution (at least in my experience) has been to go to IIS manager and right-click on the Default Web Site. Then select New | Virtual Directory. Give the virtual directory a name and provide a path that points to exactly where this project is living. After you've finished the wizard, you should be able to browser to the page successfully.
Hope that helps.
Bruce Johnson [.NET MVP] http://www.objectsharp.com/blogs/bruce
"Problem doesn't solve" wrote:
> Hello. > I'm having a big problem with asp .net. Initially, when I create a new > web > applicaction and I try to open an aspx page, I get an 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: por Microsoft que ofrece un inicio de sesión único y > servicios de perfil principal para sitios miembro. > Line 45: --> > Line 46: <authenticati on mode="Windows" /> > Line 47: > Line 48: <!-- AUTORIZACIÓN > > > I've seen somebody else in this forum had had this problem, but mine is > worse, because my computer completely stops responding if I change the > application directory property in site properties, which is the way > another > users have solved the problem. > I've checked this problem dissapear if I uninstall .net framework, so I > think there must be a conflict with this. > Does anybody have any idea? > Thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Adam |
last post by:
Hi
I had Ruby 1.6.8-8 for Windows installed on my WinXP Pro machine prior
to installing Python 2.3. After installing Python 2.3, I tried to
<----- screen output of python interactive command line ----->
Python 2.3 (#46, Jul 29 2003, 18:54:32) on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from Tkinter import *
>>> root = Tk()
|
by: Tolga Tanriverdi |
last post by:
I wrote my program with visual c#2005 so it s written with .net framework
2.0 but after that i take my code and compiled with visual studio .net 2003
it was working good until today.
Today i deleted the .net framework 2.0 and i took this error when my program
executed
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in
system.dll
|
by: Joseph Geretz |
last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is
that my sample WebService pages no longer worked. The Invoke test button is
missing. This is addresed by the following KB article:
Microsoft Knowledge Base Article - 819267
INFO: HTTP GET and HTTP POST Are Disabled by Default
http://support.microsoft.com/default.aspx?scid=kb;en-us;819267
The article advises that a new block be inserted into Web.config (or into
|
by: hzgt9b |
last post by:
Situation:
I've been using VS .NET 2003 to develop apps w no problems. So, today, my
manager had me install VS 2005 (& with it the .NET 2.0 framework) so now my
machine has VS .NET 2003 (.NET Framework 1.1) and VS 2005 (.NET Framework
2.0).
Issue:
A program that I developed in VS .NET 2003 now gets a run time exception
when executing the program outside the VS 2003 development environment (when
I execute the program through VS 2003 the...
|
by: HartsVideo |
last post by:
Hi,
No one seems to know the answers to these questions or they're just not
telling.
I downloaded and installed .NET Framework 2.0 and along with it came
ASP.NET. .NET Framework 2.0 wrecked havoc with my video programs so I
uninstalled it and reverted back to 1.1. I have 2 problems that have
resulted from these actions. I still get updates for .NET Framework 2.0 from
Microsoft. What do I need to do to stop these automatic...
| |
by: mookid |
last post by:
Good day group!
My problem is this:
I have an old legacy application, which must be installed using an
unmanaged installer. This unmanaged installer complains that .NETfx 1.1
is not installed, EVEN THOUGH 1.0, 1.1 AND 2.0 are installed, and thus
refuses to install.
The problem seems to be that the installer checks the latest version of
the framework, and sees if it is either 1.0 or 1.1. In the installation
|
by: Steve Cross |
last post by:
I need a procedure for a manual .Net 2.0 Framework uninstall.
dotnetfx /C doesn't work
Manaully running the .msi from the %systemroot%\installer directory doesn't
work.
It appears to be some sort of version conflict.
Any help is appreciated.
|
by: lotus18 |
last post by:
Hello World
I have a problem in detecting the conflict schedule (Day and Time).
Day
1. M
2. T
3. W
4. TH
5. F
|
by: lotus18 |
last post by:
Hello all
I have these records on my Day Table for my complete database table please click here
1. M
2. T
3. W
4. TH
5. F
6. S
|
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...
|
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,...
| |
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...
|
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |