Closed Thread
Results 1 to 7 of 7

Thread: Problem viewing ASP.NET pages in VS2008

  1. #1
    jackolantern's Avatar
    jackolantern is offline Learning Programmer
    Join Date
    Dec 2008
    Posts
    47
    Rep Power
    0

    Problem viewing ASP.NET pages in VS2008

    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.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    forex robot is offline Newbie
    Join Date
    Nov 2009
    Posts
    1
    Rep Power
    0

    nice post. thanks

    Keep posting stuff like this i really like it.

  4. #3
    Lillian is offline Newbie
    Join Date
    Jan 2010
    Posts
    8
    Rep Power
    0

    Re: Problem viewing ASP.NET pages in VS2008

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

  5. #4
    Join Date
    May 2009
    Location
    Belgium
    Posts
    1,881
    Rep Power
    24

    Re: Problem viewing ASP.NET pages in VS2008

    VS2008 = Visual studio 2008. It's software which looks like:

  6. #5
    gokuajmes's Avatar
    gokuajmes is offline Programming God
    Join Date
    Jan 2010
    Location
    India
    Posts
    516
    Blog Entries
    5
    Rep Power
    12

    Re: Problem viewing ASP.NET pages in VS2008

    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,
    http://www.swfcabin.com/open/1267713696
    try watching the video

  7. #6
    Join Date
    Mar 2010
    Posts
    15
    Rep Power
    0

    Re: Problem viewing ASP.NET pages in VS2008

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

  8. #7
    ayachub is offline Newbie
    Join Date
    Jun 2009
    Location
    Indonesia, Jakarta
    Posts
    12
    Rep Power
    0

    Re: Problem viewing ASP.NET pages in VS2008

    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

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. problem in showing the pages of menu
    By fardamm in forum PHP Development
    Replies: 3
    Last Post: 12-07-2010, 10:05 AM
  2. Problem viewing shift reports
    By newphpcoder in forum PHP Development
    Replies: 0
    Last Post: 11-24-2010, 09:14 PM
  3. VS2008 compiling problem
    By A. Shuaib in forum C and C++
    Replies: 4
    Last Post: 04-06-2010, 03:54 PM
  4. Tutorial: VS2008 C# Pie Chart
    By Jordan in forum CSharp Tutorials
    Replies: 1
    Last Post: 05-14-2008, 12:56 PM
  5. Replies: 12
    Last Post: 03-15-2008, 04:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts