Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old November 4th, 2011, 11:31 AM
Registered User
Points: 87, Level: 1
Points: 87, Level: 1 Points: 87, Level: 1 Points: 87, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2011
Posts: 18
Thanks: 0
Thanked 2 Times in 2 Posts
Angry Problem with Chapter 19, Page 720

I'm using Windows 7 Professional 64bit. My IIS settings look the way the book says they should. In step 6 on page 720, as specified, I type in "IIS AppPool\ASP.NET v4.0", and click Ok, and it brings up a window titled, Name Not Found, saying, 'An object named "IIS AppPool\ASP.NET v4.0" cannot be found...", with the "Correct this object information and search again" radio button checked.
  #2 (permalink)  
Old November 4th, 2011, 11:41 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

When you look in the list of Application Pools (using the IIS manager), do you see an application pool by that name? If not, simply create one that targets .NET 4 and use that instead.

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!
  #3 (permalink)  
Old November 4th, 2011, 12:38 PM
Registered User
Points: 87, Level: 1
Points: 87, Level: 1 Points: 87, Level: 1 Points: 87, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2011
Posts: 18
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by Imar View Post
Hi there,

When you look in the list of Application Pools (using the IIS manager), do you see an application pool by that name? If not, simply create one that targets .NET 4 and use that instead.

Cheers,

Imar
I did a google search on this issue and it's a frequently mentioned problem with the GUI of the Permissions property boxes on Windows 7. They recommend using the icacls.exe to add it manually. I did, and that seemed to add it in - it's too early to tell if it will really work, though. I then went back into the Security properties and set the actual permissions of ASP.NET v4.0 to List folder contents and Read. The command is:

icacls "C:\BegASPET\Release" /grant "IIS AppPool\ASP.NET v4.0":F

A forum thread reference to this problem can be found here:

http://forums.iis.net/t/1156692.aspx
The Following User Says Thank You to BobRoberts For This Useful Post:
Imar (November 5th, 2011)


Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 19 page 660 Cannot Create a New Database Mike_Pliskin BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 4 September 5th, 2010 01:52 PM
Chapter 19 - page 641 Struct RegisrtationInformation bon_chan BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 1 July 29th, 2010 03:49 PM
Chapter 19 Case Study Problem mdt06042 BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 May 14th, 2009 03:58 PM
Chapter 19 Address List problem srgibson99 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 June 15th, 2005 05:21 PM
Problem with exercise in chapter 19 backslash BOOK: Beginning Visual C++ 6 4 September 5th, 2003 11:46 AM





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