|
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
|
|
|
|
March 4th, 2012, 09:24 AM
|
Authorized User
|
|
Join Date: Feb 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
March 4th, 2012, 03:58 PM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
March 7th, 2012, 02:02 PM
|
Authorized User
|
|
Join Date: Feb 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar
I believe I have how would I go about checking to be sure?
Thanks Matthew
|
March 7th, 2012, 03:03 PM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
March 10th, 2012, 07:39 AM
|
Registered User
|
|
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
March 10th, 2012, 07:47 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
March 10th, 2012, 07:58 AM
|
Registered User
|
|
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
March 10th, 2012, 08:00 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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
|
March 10th, 2012, 08:06 AM
|
Registered User
|
|
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
March 10th, 2012, 08:47 AM
|
Authorized User
|
|
Join Date: Feb 2012
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
|
|