 |
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
|
|
|
|
|

June 1st, 2010, 05:31 AM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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!
|
|

June 1st, 2010, 05:45 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
|

June 1st, 2010, 05:59 AM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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.
|
|

June 1st, 2010, 06:03 AM
|
|
Registered User
|
|
Join Date: May 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Sorry, I forgot to answer your other question.
I was using the RC first, then un-installed it, followed up with installing RTM.
|
|

June 1st, 2010, 06:06 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
If your shortcuts are messed up you can try resetting all settings as explained at the end of Chapter 1.
Cheers,
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|
 |
|