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
  #11 (permalink)  
Old March 4th, 2012, 09:24 AM
Authorized User
Points: 52, Level: 1
Points: 52, Level: 1 Points: 52, Level: 1 Points: 52, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar

I was thinking it might have something to do with the security settings. I have retried doing the sections where you set the permissions and still does not work. So it must just be my computer that's the problem.

I had a look at the security tab for the app_themes folder, it says that it's being inherited from the release folder in the C: drive. Should this be like that or should it say <not inherited> like the app_data folder?

Thanks

Matthew
  #12 (permalink)  
Old March 4th, 2012, 03:58 PM
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

That depends on the settings it's inheriting.... :-)

Did you grant access to the web site's folder for the account used by IIS?

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!
  #13 (permalink)  
Old March 7th, 2012, 02:02 PM
Authorized User
Points: 52, Level: 1
Points: 52, Level: 1 Points: 52, Level: 1 Points: 52, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar

I believe I have how would I go about checking to be sure?

Thanks Matthew
  #14 (permalink)  
Old March 7th, 2012, 03:03 PM
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 Matthew,

Using a Windows Explorer, bring up the properties for the folder (e.g. C:\BegASPNET\Release) and see which account you configured and which permissions it has. Then do the same for the App_Data folder.

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!
  #15 (permalink)  
Old March 10th, 2012, 07:39 AM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I also have got this problem, and the pictures in folder GigPics did't show as well. Using the built-in server, it works fine. I do not know what's the matter.
  #16 (permalink)  
Old March 10th, 2012, 07:47 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 zhmhang,

Can you describe your setup? E.g. version of Windows, the location of your site on disk, how you setup IIS, the security account you're using, the permissions you applied, how you browse to the site and so on?

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!
  #17 (permalink)  
Old March 10th, 2012, 07:58 AM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My OS version is Windows 7, the site locates in C:\BegAspnet\release, I exactly followed the steps of the book. I've check all folders and documents, and the security account is just the same as the book. I used the Chorme Browser. And I found my web.config is similar with Matthew's.But when I install the IIS, I only selected the Asp.Net feature. PS:Sorry,I'm not from an English-Speaking country.
  #18 (permalink)  
Old March 10th, 2012, 08:00 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

Quote:
PS:Sorry,I'm not from an English-Speaking country.
Neither am i... ;-)

Quote:
I've check all folders and documents, and the security account is just the same as the book
Sure, but somehow something is wrong, so something must be different.

Which account did you configure? Which permissions did you give it? And how do you browse to the site?

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!
  #19 (permalink)  
Old March 10th, 2012, 08:06 AM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar.

The account is ASP.NET v4.0, the permission is list folder& read. I typed http://localhost to browse. The problem is the theme didn't work, and the pictures didn't show. The rest of the site worked fine.
  #20 (permalink)  
Old March 10th, 2012, 08:47 AM
Authorized User
Points: 52, Level: 1
Points: 52, Level: 1 Points: 52, Level: 1 Points: 52, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar

I've looked at the permissions for the Release folder and the permissions given to the Username ASP.NET v4.0 Release folder are, List folder contents and Read. The permissions for the App_Data has everything but Full Control ticked.

Thanks

Matthew




Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Chapter 19, Page 720 BobRoberts BOOK: Beginning ASP.NET 4 : in C# and VB 2 November 4th, 2011 12:38 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 johanyu BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 3 November 12th, 2007 10:50 AM
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.