Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Problem viewing ASP.NET pages in VS2008


  • Please log in to reply
6 replies to this topic

#1 jackolantern


    CC Regular

  • Just Joined
  • PipPipPip
  • 47 posts

Posted 19 November 2009 - 04:33 PM

I have just started working through a book about ASP.NET (Beginning ASP.NET 3.5 in C# 2008, 2nd Edition). I downloaded the source files from the book's website and tried to open them up in Visual Studio Professional 2008. I am getting what seems to be a pretty common error:
"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'

Every solution I could find dealt with making changes through IIS Manager to make the folder containing the files a virtual folder, or something like that. Does this apply to me, since I am just trying to run without debugging through Visual Studio 2008? To my knowledge, I never installed IIS and was just hoping I could test it through VS. Was IIS installed on my computer with VS2008? I am quite confused at this point, as this is my first foray into ASP.NET, and the book I am using did not specify anything else I needed to do.

Thank you!

EDIT: I think this thread could have possibly been dealing with the same issue, but since he did not mention this actual problem, I can't be sure.
  • 0

#2 forex robot

forex robot

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 28 November 2009 - 10:16 AM

Keep posting stuff like this i really like it.
  • 0

#3 Lillian


    CC Lurker

  • Just Joined
  • Pip
  • 8 posts

Posted 21 January 2010 - 03:09 AM

hi! I have Little bit Confusion....what is VS2008...? Is this Software or Verson...? plz Guide....
  • 0

#4 wim DC

wim DC


  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 2681 posts
  • Programming Language:Java, JavaScript, PL/SQL
  • Learning:Python

Posted 22 January 2010 - 09:17 AM

VS2008 = Visual studio 2008. It's software which looks like: Posted Image
  • 0

#5 gokuajmes


    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 483 posts

Posted 04 March 2010 - 07:34 AM

OK the WebApplications that you downloaded from the website is supposedly Tested in Local IIS installation and not using Virtual Server.SO here is what you need to do see through this video and try it out,
try watching the video
  • 0

#6 questionspoint


    CC Newcomer

  • Just Joined
  • PipPip
  • 15 posts

Posted 09 March 2010 - 09:15 AM

VS2008 ( Visual studio 2008 ) is a tool to develop .Net based applications.
  • 0

#7 ayachub


    CC Newcomer

  • Just Joined
  • PipPip
  • 11 posts

Posted 13 May 2010 - 10:42 PM

check IIS ,
1. Right click website then properties in tab Directory -> application setting -> choice add
2. Tab Documents add your default page
3. or try this .. right click properties Default Web Site -> Directory Security -> Edit -> Check Integrated Windows Authentication

.. maybe this can solve
  • 0

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download