Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 30th, 2012, 03:52 PM
Authorized User
Points: 119, Level: 2
Points: 119, Level: 2 Points: 119, Level: 2 Points: 119, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
  #2 (permalink)  
Old July 30th, 2012, 03:55 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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
__________________
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!
Reply With Quote
  #3 (permalink)  
Old July 30th, 2012, 04:31 PM
Authorized User
Points: 119, Level: 2
Points: 119, Level: 2 Points: 119, Level: 2 Points: 119, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
  #4 (permalink)  
Old July 30th, 2012, 04:42 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Did you read step 1 carefully? It explains how to open a command prompt in administrative mode...

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!
Reply With Quote
  #5 (permalink)  
Old July 31st, 2012, 11:44 AM
Authorized User
Points: 119, Level: 2
Points: 119, Level: 2 Points: 119, Level: 2 Points: 119, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
  #6 (permalink)  
Old July 31st, 2012, 03:17 PM
Authorized User
Points: 119, Level: 2
Points: 119, Level: 2 Points: 119, Level: 2 Points: 119, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
  #7 (permalink)  
Old August 1st, 2012, 04:01 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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
__________________
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!
Reply With Quote
  #8 (permalink)  
Old August 2nd, 2012, 05:52 AM
Authorized User
Points: 119, Level: 2
Points: 119, Level: 2 Points: 119, Level: 2 Points: 119, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
  #9 (permalink)  
Old August 2nd, 2012, 06:00 AM
Authorized User
Points: 119, Level: 2
Points: 119, Level: 2 Points: 119, Level: 2 Points: 119, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
Default 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
Reply With Quote
  #10 (permalink)  
Old August 2nd, 2012, 06:09 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

>> 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
__________________
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iis.msc equivalent in IIS for Win XP Pro? RealDHelix Classic ASP Basics 14 March 18th, 2007 08:28 PM
Need help understanding DataRow asp_convert ADO.NET 3 March 13th, 2007 02:39 PM
Understanding Axes Chamkaur XSLT 1 August 6th, 2006 03:09 PM
understanding Variable use imroostercogburn C++ Programming 7 July 28th, 2006 06:15 PM
Understanding Session rajuru Beginning PHP 2 September 25th, 2004 05:05 AM



All times are GMT -4. The time now is 04:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.