Help with the IIS Application Setting

M

mo

Hi,

After upgrading to ASP.NET 2.0 I am getting the follwoing error in my
VS when I try to build the site

------------------------------------------------------

Error 1 Build (web): 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. Z:\Inetpub\Mysite\login\Web.config 43
------------------------------------------------------
Any Ideas is greatly appreciated. I have set the application in IIS
(and also Removed it) and still get the same error. Any Ideas?

Thanks,
Mo
 
K

Karl Seguin

What's the application? z:\inetpub\MySite or z:\inetpub\MySite\login?

Seems to me that z:\inetpub\MySite is your application, but you have a
web.config at a deeper level (inside login) which has invalid settings...

Karl
 
M

Mo hariri

Thank you for yor response. yes I had a login application which I
dragged into the sub directory under my site. The web.config exist in
both root and login. The intereseting part of it is that I started
having the problem after I upgraded to ASP.net 2.0

Mo
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top