Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2010, 05:31 AM
Registered User
 
Join Date: May 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation Chapter 1- Creating Your First ASP.NET 4 Web Site

Software Information:

1. Windows 7 Professional 64bit.

2. Version of .NET Framework is “4.0.30303 RTMRel.”

3. Version of Visual Studio 2010 Premium is 10.0.30319.1 RTMRel.”

During the last couple months I experienced no problems while building C# Windows Forms and WPF Applications. Now, I am trying to build a C# ASP.NET Web Site and or an ASP.NET Web Application. I have encountered a major problem. When I right click my Web Site’s file name in the Solution Explorer and select “View in Browser” or Select “Debug” then “ Start without debugging” the browser hangs up with the word “Connecting” on the browser's tab. I have to “ctl + alt + delete” to clear it. The below text appears in the "Output Window."


------ Build started: Project: C:\...\WebSite1\, Configuration: Debug Any CPU ------

Validating Web Site

Building directory '/WebSite1/Account/'.

Building directory '/WebSite1/Scripts/'.

Building directory '/WebSite1/'.

Validation Complete

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========



I had read in a book that I should install IIS in Windows 7 before working with ASP.NET and so I tried that and it had no change. I also uninstalled the RC1Rel version of Visual Studio and re-installed the RTMRel. Nothing changed, still hangs up.

I desperately need help!
 
Old June 1st, 2010, 05:45 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Where in the book does it say "that I should install IIS in Windows 7 before working with ASP.NET "? You can use the built-in web server and only need IIS for deployment. Are you sure yoou posted this in the right book's forum?

Did you uninstall the RC before you installed the RTM? That's a requirement from the intallation documentation so results may be unpredictable if you uninstalled the RC afterward.

Otherwise, I suggest contacting Microsoft support and asking them for help. There might be an issue with other software such as anti virus or malware tools.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old June 1st, 2010, 05:59 AM
Registered User
 
Join Date: May 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

No, I read about the IIS settings in another book before buying your book.

My problems began in Step #8 on page #7. When I pressed "Ctrl+F5" it did not load the browser. My "Ctrl+F5" and "F5" both open the "Open File" dialog box. So, I had to learn another way as stated in the previous question. However, I do remember when I was using Visual Studio 2008 C# Express my function keys worked as debugging shortcuts. They don't now here in Visual Studio 2010. I have to use the menus for such activity.
 
Old June 1st, 2010, 06:03 AM
Registered User
 
Join Date: May 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Sorry, I forgot to answer your other question.

I was using the RC first, then un-installed it, followed up with installing RTM.
 
Old June 1st, 2010, 06:06 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

If your shortcuts are messed up you can try resetting all settings as explained at the end of Chapter 1.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
machinist (June 1st, 2010)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 19: Try It Out Step 4 - ASP Web Site Admin Tool can't connect fprizzo02 BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 3 February 9th, 2010 07:40 PM
ASP.NET web site which support any database sanjivbshinde ASP.NET 2.0 Professional 2 October 10th, 2008 12:46 AM
ERROR using ASP.net Web Site Administration Tool erictamlam C# 2005 0 April 3rd, 2007 01:28 AM
ASP.NET 2.0 Web Site Admin error on Creating User fmegersa ASP.NET 2.0 Basics 0 December 1st, 2006 08:57 PM
ASP.NET web site administration tool boksi ASP.NET 1.0 and 1.1 Basics 2 June 16th, 2005 07:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.