all groups > dotnet academic > march 2005 >
You're in the

dotnet academic

group:

ASP.net application error



ASP.net application error Laszlo Csabi
3/12/2005 12:16:51 PM
dotnet academic: Hi folks,

I got a strange error message on an IIS 6 Win 2003 server.

The error is the following : 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 strange thing is I got 1 ASP.net application running on this server for
moths and sudenly stopped to work. I cannot make it work anymore, I received
the errormessage above. I have tried to recreate the website in IIS and I
made sure the ASP.net site was created as an application.

Also I have reinstalled asp.net from the command prompt but did not help
either.


Any ideas what else I could do to fix this problem?

Thnaks

Laszlo

Re: ASP.net application error Alvin Bruney [MVP - ASP.NET]
4/24/2005 5:40:10 PM
This typically happens if your virtual directory isn't correct. Use inetmgr
to repair the virtual directory mappings

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc
[quoted text, click to view]

AddThis Social Bookmark Button