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

July 30th, 2012, 03:52 PM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Understanding IIS
Hi sir
sir i am trying to configure my file system according to " Try it out" exercise on page 718.
i am using window 7 but when i write 'IIS AppPool\ASP.NET v4.0 ' to add
i get a window which says that the following object is not listed in the domain and therefore not valid.
now please guide what should i do.
|
|

July 30th, 2012, 03:55 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Did you follow the instructions about confirming the existence, or creating that specific application pool? Do you see it in the list of pools?
Imar
|
|

July 30th, 2012, 04:31 PM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Understanding IIS
sir i did not carry out the exercise on page 714 of installing and configuring asp.net.
now i follow the instruction but at the last on command prompt i found the error that i don't have the administrative rights.
sir i am the only user of my computer and i don't have any other account on my computer.
now how can i get the administrative rights.
|
|

July 30th, 2012, 04:42 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Did you read step 1 carefully? It explains how to open a command prompt in administrative mode...
Cheers,
Imar
|
|

July 31st, 2012, 11:44 AM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Understanding IIS
tnx sir i have done the exercise installing and Configuring asp . net on page 714 and i have found the message that "Finished installing asp.net<4.0.30319> .
now in the next exercise of "Configuring a Site with Windows Vista, Windows 7, or Server 2008" i am not able to find " Internet Information Services (IIS) Manager " in the control panel.I have typed the inetmgr in the Search box but still unable to find it.
sir please guide how can i find it.
|
|

July 31st, 2012, 03:17 PM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Understanding IIS
Sir i have done all "Configuring a Site with Windows Vista, Windows 7, or Server 2008" exercise . all is well and everything done in the right fashion.
Now in the exercise"Configuring the File System" i get error when i Select the second check box in advance security setting for App_Data folder.
The error is
"An error occured while applying security information to c:\BEGASPNET\App_Data\Web.config"
Access is denied.
Sir please tell me why this error is happening. and how can i resolve it.
|
|

August 1st, 2012, 04:01 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
As what kind of user are you doing this? Can you describe the exact steps you're following? Also, have you tried taking "Ownership" of the files in that folder first? There should be a button somewhere that lets you take over the ownership of the folder.
Finally, try the Windows help file if you need more help on configuring these permissions.
Cheers,
Imar
|
|

August 2nd, 2012, 05:52 AM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Understanding IIS
hi sir
now i have take the ownership of the App_Data folder. now in "Configuring the File System" try it out exercise on page 718 in step number 8 when i check the check box of "Replace all child object permission with inheritable permission from this object " and click OK or apply. then a window appear that conform the action , i click yes. after the check box automatically cleared.
i done it two to three time but i got the same result.
now what should i do.
you asked me about what steps i have followed.
sir i followed all the instruction of chapter 19 from the start upto this point on which now i am facing problem.
now what shout i do to get rid of this situation.
|
|

August 2nd, 2012, 06:00 AM
|
|
Authorized User
|
|
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
|
|
Understanding IIS
I am facing these three errors in my visual studio when i debug Login.aspx page which i have made in the exercise on 583.
Error 1
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\BEGASPNET\site\web.config line 8) C:\BEGASPNET\About\AboutUs.aspx 1
Error 2
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\BEGASPNET\site\web.config line 8) C:\BEGASPNET\About\Contact.aspx 1
Error 3 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (C:\BEGASPNET\site\web.config line 8) C:\BEGASPNET\About\Default.aspx 1
Due to these errors i was configuring IIS in which i am facing the problem that i have told in previous posts
|
|

August 2nd, 2012, 06:09 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
>> i click yes. after the check box automatically cleared
That's by design. It's only used to apply that setting when you click OK.
>> I am facing these three errors in my visual studio
Take a look at page 721, section Troubleshooting Web Server Errors. It explains why you get these errors and how to resolve them.
Imar
|
|
 |
|