p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=560)
-   -   Chapter 19 problem (http://p2p.wrox.com/showthread.php?t=86817)

matthew1412 March 4th, 2012 09:24 AM

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

Imar March 4th, 2012 03:58 PM

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

matthew1412 March 7th, 2012 02:02 PM

Hi Imar

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

Thanks Matthew

Imar March 7th, 2012 03:03 PM

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

zhmhang March 10th, 2012 07:39 AM

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.

Imar March 10th, 2012 07:47 AM

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

zhmhang March 10th, 2012 07:58 AM

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.

Imar March 10th, 2012 08:00 AM

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

zhmhang March 10th, 2012 08:06 AM

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.

matthew1412 March 10th, 2012 08:47 AM

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


All times are GMT -4. The time now is 12:22 PM.

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