SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Neeed help with ASP.NET 4 Website book first exercise!

    I just got the Sitepoint book ASP.NET 4 Website using C# & VB. I've (hopefully) downloaded and installed all of the necessary software. I'm trying to do the very first exercise that basically says Hello There! and prints the time. I'm executing from Visual Studio, but I'm not getting the time........as if the web server is not processing it. Is there any settings I can check, or what can I do to get the time to print out from my new first asp.Net file? Thanks for any help anyone can provide.

    David

  2. #2
    SitePoint Guru Jason__C's Avatar
    Join Date
    Oct 2009
    Location
    Racoon City
    Posts
    660
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Did you install IIS? Put the files into inetpub (or virtual folder) if you are accessing from browser (Not VS)?
    Chuck Norris is so tough,
    mosquitos ask for permission before they bite him

  3. #3
    SitePoint Member
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your answer. I thought I have installed IIS. I have an IIS folder that contains other folders -- which was installed through VS by clicking the "Install Web Components" button. But when I look in the IIS folder, I do not see an executable file. Should that be in the root IIS folder, or would it be in one of it's subfolders? Anyway, after installing those files, I still don't have the time displayed when I hit F5 in VS. I can't believe I can't even get past the first exercise!!!!!!!!!!!! This is very depressing. I hope someone can help me figure this out..............Thanks, David

  4. #4
    Learning...
    Join Date
    Jan 2003
    Posts
    778
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When asking such questions, always post your code. This helps finding the answer quickly and gurus can also show you how to do stuff better.
    The beauty of life is not dependent on how happy you are,
    but on how happy others can be because of you...

  5. #5
    SitePoint Zealot behati's Avatar
    Join Date
    Feb 2012
    Location
    Copenhagen, Denmark
    Posts
    152
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yes posting the code would definitely be a good start. As far as I know you do not need to have IIS installed, since Visual Studio generates a Development Webserver that renders your pages when you preview your site (Ctrl + F5), in VS2010 anyway.

    Are you sure you created the "right" kind of project in Visual Studio - a Web ASP.NET with the correct language you are using? C# / VB


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
  •