« Previous Next »

Answered Thread: Problems with ASP.Net 3.5

Last post 10-19-2009 11:03 PM by Leo Tang - MSFT. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-15-2009, 8:17 PM

    • deemurphy
    • Top 500 Contributor
    • Joined on 03-18-2005, 6:12 AM
    • Atlanta, GA
    • Posts 13

    Problems with ASP.Net 3.5

    I am running Windows 7 Ultimate and after installing it a few weeks ago I noticed problems with ASP web site.  I am using Visual Studio 2008 and Web Developer Express 2008 and having problems.

    I am getting this error for the BeerHouse 3.5 -  Error 25 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\TheBeerHouse-C-3.5\BeerHouse35\web.config 124 

    I am getting this error on a new site I am trying to start with a master page -  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\TrentSetters\Web.config 46 

     On the Basic page my time and date is not showing.  Please let me know what I need to fix.

     

    Thank you

    LadyDee

     

     

    Darlene D. Murphy
    deemurphy_us@yahoo.com
  • 10-16-2009, 12:22 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,433

    Answered Re: Problems with ASP.Net 3.5

    You can post to this project's Discussion board to see if anyone can help you on it, http://thebeerhouse.codeplex.com/Thread/List.aspx
    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-19-2009, 11:03 PM In reply to

    Answered Re: Problems with ASP.Net 3.5

    Hi,

    MachineToApplication defined the scope of a configuration section. We can have the section with this property in Machine.config, ApplicationHost.config, Root application Web.config or Application Web.config.

    You can simply convert the folder where the web.config file reside in to an application(Open IIS Manager->Right-Click the folder ->Convert to application), then test again.

    Below is an article about virtual directory and application, hope helpful for you:
    Understanding Sites, Applications, and Virtual Directories in IIS 7.0
    http://learn.iis.net/page.aspx/150/understanding-sites-apps-and-vdirs-in-iis-7/

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (3 items)
Microsoft Communities