PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average.

allowDefinition='MachineToApplication' beyond application level

 
 
Senthil Kumar via DotNetMonster.com
Guest
Posts: n/a
 
      28th Apr 2005
Hi All,

This is my folder structre,

WebAppln
---------bin
---WebAppln.dll
---------WebForm1.aspx
---------webform2.aspx

---------SubFolder1
---------bin
----Add.dll
----Edit.dll
---------Add.aspx
---------Edit.aspx

Here I am dynamically creating the subfolder and its aspx, dll files,

While i try to get them in browser,I got the following error, Plz Help Me
//////////////////////////////////

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 53: by Microsoft that offers a single logon and core
profile services for member sites.
Line 54: -->
Line 55: <authentication mode="Windows" />
Line 56:
Line 57: <!-- AUTHORIZATION



/////////////////////////////////


Thank You,
Senthil kumar Ramachandran
 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      28th Apr 2005
The <authentication> element is only allowed in your web.config at the root
of your application.

-Brock
DevelopMentor
http://staff.develop.com/ballen



> Hi All,
>
> This is my folder structre,
>
> WebAppln
> ---------bin
> ---WebAppln.dll
> ---------WebForm1.aspx
> ---------webform2.aspx
> ---------SubFolder1
> ---------bin
> ----Add.dll
> ----Edit.dll
> ---------Add.aspx
> ---------Edit.aspx
> Here I am dynamically creating the subfolder and its aspx, dll
> files,
>
> While i try to get them in browser,I got the following error, Plz Help
> Me //////////////////////////////////
>
> 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 53: by Microsoft that offers a single logon and core
> profile services for member sites.
> Line 54: -->
> Line 55: <authentication mode="Windows" />
> Line 56:
> Line 57: <!-- AUTHORIZATION
> /////////////////////////////////
>
> Thank You,
> Senthil kumar Ramachandran




 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
allowDefinition='MachineToApplication' beyond application level.compile error RayLopez99 Microsoft ASP .NET 1 30th Jan 2009 08:13 PM
allowDefinition='MachineToApplication' beyond application level. Icon Iconoclast Microsoft ASP .NET 1 5th Nov 2008 04:37 PM
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. kevingangsun@gmail.com Microsoft C# .NET 1 4th May 2007 03:37 PM
allowDefinition='MachineToApplication' =?Utf-8?B?Qm9vbmFhcA==?= Microsoft ASP .NET 3 20th Jun 2005 03:17 PM
allowDefinition='MachineToApplication' beyond application level error Alex D. Microsoft ASP .NET 1 20th May 2005 08:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:13 AM.