Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Precompilation Error allowDefinition='MachineToApplication'

Reply
Thread Tools

Precompilation Error allowDefinition='MachineToApplication'

 
 
=?Utf-8?B?UGF0cmljayBQYXF1aW4=?=
Guest
Posts: n/a
 
      03-30-2006
Hi,

I have an application ("appls") on my website. This application is a
subfolder of the website root. This subfolder is configured as an application
in the IIS Manager

When I want precompile my application with the command line
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspn et_compiler -v /appls -p
"E:\Sites WWW\devlappl.intracger", I get this message :

---------------------------------------------------
E:\Sites WWW\devlappl.intracger\appls\web.config(81): error ASPCONFIG: 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.
---------------------------------------------------
The line 81 in web.config is <authentication mode="Windows"/>

Help me please ...

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGF0cmljayBQYXF1aW4=?=
Guest
Posts: n/a
 
      03-31-2006
Hi,

I resolve my problem. I must use the following command line
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspn et_compiler -v
LM/W3SVC/429440314/ROOT/appls

Where 429440314 is the Id of my website.

hope the useful for somebody else
 
Reply With Quote
 
 
 
 
prabhupr@hotmail.com
Guest
Posts: n/a
 
      04-07-2006
Hi Patrick

Where do you get the path "LM/W3SVC/429440314/ROOT/appls"?
Is this on your local machine, if so can you please provide the full
path c:\windows.....\LM/W3SVC/429440314/ROOT/appls

 
Reply With Quote
 
=?Utf-8?B?UGF0cmljayBQYXF1aW4=?=
Guest
Posts: n/a
 
      04-07-2006
LM/W3SVC/429440314/ROOT/appls it's the ADSI Path, where :
- LM/W3SVC/ is standart
- 429440314 is the id of website
- root is standart that to the website's root
- appl is the name of folder (or virtual folder)

The Id of website can be found in the IIS Manager in the list of websites


 
Reply With Quote
 
hwadhwa@arlingtonva.us hwadhwa@arlingtonva.us is offline
Junior Member
Join Date: Oct 2006
Posts: 1
 
      10-17-2006
Quote:
Originally Posted by (E-Mail Removed)
Hi Patrick

Where do you get the path "LM/W3SVC/429440314/ROOT/appls"?
Is this on your local machine, if so can you please provide the full
path c:\windows.....\LM/W3SVC/429440314/ROOT/appls


I am also looking for the same path because I am getting the same problem.

ASP Net - Precompilation Error allow definition='machinetoapplication'

I don't know how to find the path....
Any help Thanks
H
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Precompilation error pjr C++ 4 11-05-2008 11:08 AM
Precompilation Error Balasubramanian Ramanathan ASP .Net 3 05-31-2007 02:49 PM
Precompilation / excluding files anon2005@comcast.net ASP .Net 2 02-14-2006 06:31 PM
Can we use, precompilation at asp.net 2.0 for custom control deployment? Umut Tezduyar ASP .Net 1 11-02-2005 05:34 AM
ASP.Net 2.0 + HttpHandler + PreCompilation =?Utf-8?B?UGF0cmljaw==?= ASP .Net 1 05-31-2005 02:30 PM



Advertisments