Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
 
Old April 7th, 2011, 06:24 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Can you provide the real paths your site is stored in? With all the dashes in this "path"

Laptop:Computer-Local Disk(C:)-Site-Cell-Ware-Pics.

it's almost impossible to see what the actual path is. In Windows Explorer, click the address bar to have Windows show the actual path.

If your site is located in C:\Site (e.g. the web.config is stored as C:\Site\web.config) then you should create a sub folder called Pics inside C:\Site so it ends up as C:\Site\Cell-Pics (since you use ~/Cell-Pics).

It seems, but I can't be sure, that your Cell-Pics folder is located at the same level as the site, and not a sub folder (and has a different name). E.g. you seem to be having:

C:\Site\Cell-Ware
C:\Site\Cell-Ware-Pics

while you should have

C:\Site\Cell-Ware
C:\Site\Cell-Ware\Cell-Pics

where Cell-Pics is a subfolder of the site.

In addition, sometimes you refer to it as Cell-Pics (in code) and sometimes as simply Pics.

Maybe you should drop all the dashes in the file names so you're not confusing yourself.

So, once again, please be specific. Things like "Yes.C:\Site which is located in my Local Disk(C:) which has my cell-ware site in it." only confuses matters. What do you mean with "which has my cell-ware site in it"? Do you mean a sub folder called cell-ware? Or do you refer to all files and folders as "the site"? Maybe you can upload a picture of your structure somehow?

If all this fails, zip up your entire site and post it on-line somewhere and then I'll have a look. Like I said, this is a one minute fix, and I think I have explained the target structure numerous times now (here, and in the book), but you seem to be missing some fundamental Windows concepts. On top of that. you're providing information I can't really work with and don't seem to understand my tips and instructions, so we need to find a way to break out of this.

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!
 
Old April 16th, 2011, 11:30 AM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Regarding the security settings(Running Your Site under IIS,I followed the instructions on pg 645(windows vista,but i'am using windows 7)where i procceed on installing and configuring ASP.NET pg.647,followed the 1st and second steps did the last one an then encountered this message in the command prompt:Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\windows\system32>cd\Windows\Microsoft.NET\Frame work\v2.0.50727

C:\Windows\Microsoft.NET\Framework\v2.0.50727>aspn et_regiis -i
Start installing ASP.NET (2.0.50727).
....
An error has occurred: 0x80004005 Unspecified error.What could the problem be?
 
Old April 16th, 2011, 12:16 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

An error 0x80004005 is almost always a permissions issue. Are you running this as an account with enough permissions? And did you open the Command Prompt using its right-click menu and then choosing Run As Administrator?

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!
 
Old April 16th, 2011, 12:54 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

BTW, if I recall correctly, earlier you said you ran into problems using the built-in server as well. If that's indeed the case, I doubt this is an IIS / setup issue, but a folder naming / site structure issue instead.

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!
 
Old April 16th, 2011, 01:09 PM
Authorized User
 
Join Date: Aug 2010
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got 6 permissions(full control,modify,read and execute,list folder contents,Read,write.) are these the correct permissions?And yes I did that but it gave me the same error message.
 
Old April 16th, 2011, 01:17 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hard to tell, as it's still unclear how your site is structured. I asked a number of times but you're not giving me the information I need to know to help you....

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 13,page 440. Masego.Moikanyang BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 March 17th, 2011 10:45 AM
Chapter 13, Page 465 Try it Out dstreeter BOOK: Beginning ASP.NET 4 : in C# and VB 3 November 7th, 2010 10:41 AM
page 456, chapter 13. leemark2k3 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 8 September 21st, 2010 08:21 PM





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