Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 28th, 2005, 07:46 AM
Registered User
 
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 'MachineToApplication' beyond application level er

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 subfolder1 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

 
Old April 28th, 2005, 08:07 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Are you also copying a web.config file into that subfolder? This is most likely the cause of this error. It's giving you this error because the <authorization> node exists in a web.config that lives in a folder below the virtual application root.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch_08_m/c level application and other issues padsai BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 July 6th, 2006 11:40 AM
problem with allowDefinition='MachineToApplication juliaw .NET Framework 2.0 2 June 12th, 2006 10:44 AM
allowDefinition='MachineToApplication' tripathi.vipul ASP.NET 1.0 and 1.1 Basics 0 May 13th, 2006 06:11 AM
Application level timer wombel ASP.NET 2.0 Professional 0 March 10th, 2006 07:36 AM
Security Exception - application trust level gordonz BOOK: ASP.NET Website Programming Problem-Design-Solution 1 November 24th, 2004 02:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.