Conversion of Visual studio 2008 project to visual studio 2010 RRS feed

  • Question

  • User-201677125 posted

    I have a C# .Net Project in Visual Studio 2008 . I need to Convert it into Visual Studio 2010 How can i do this??? When I open using visual studio 2010, I get many errors like

    "'  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. "


    Wednesday, September 20, 2017 4:11 AM

All replies

  • User617292609 posted

    The error suggests that you need to open inetmgr.exe (IIS Manager), then find the folder that maps to your application (maps to the same URL as what's set within the web-project's properties > web tab), then right-click and add application to that folder (still within IIS). As it is now, that folder is not hosting an asp.net application, and so it won't run.

    Wednesday, December 20, 2017 7:03 AM