problem after rebuilding PC

A

Aussie Rules

Hi,

I have had to rebuild my dev machine and after reinstalling everything i get
this odd message when i try to build my web site in VS2005.net

Error 1 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. C:\Inetpub\wwwroot\myXfilms\aspnet_client\gridex\Web.config 38


I have checked the IIS server on my local machine and the virtual directory
is setup as an application..

What does this message mean.. and how can i fix it...

Thanks
 
G

Guest

In this case (as in most) the exception message is very clear.
You have a page or pages executing from a folder that needs to be marked in
IIS as an Application.
Peter
 
S

Steven Cheng[MSFT]

Hello Aussie,

As Peter and Mark has mentioned, the error message indicate that the
current running ASP.NET application's IIS virtual directory is not marked
as application. From your description, you're checked that the virtual dir
is marked as application, so I'd like to confirm the following things first:

1. Are you getting this exception right at when you try running the
application(start visiting any page in this ASP.NET web application)?

2. From the exception info, the problem web.config is at the following path:

C:\Inetpub\wwwroot\myXfilms\aspnet_client\gridex\Web.config

so is the "gridex" folder's corresponding IIS virtual dir marked as
"Application" ? If not, you need to mark this virtual dir as application.

Please feel free to let me know if you have anything unclear or if you get
any new finding.


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,069
Latest member
SimplyleanKetoReviews

Latest Threads

Top