Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix 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 5th, 2013, 02:33 PM
Authorized User
 
Join Date: Mar 2013
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default Downloadable source code with the book

Hi
Has anyone tried any of the source code for any chapter of the Beginning ASP.NET Web Pages with WebMatrix book?

I've just loaded up Chapter 3 but get an error.

Has anyone else tried the downloadable source code or could someone else try it out please.

Much appreciated
Matt
 
Old April 5th, 2013, 02:44 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It works fine for me, Have you tried using another browser or disabling any download managers?

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 5th, 2013, 02:49 PM
Authorized User
 
Join Date: Mar 2013
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default Chapter 3

Hi Imar
Thanks for checking so quickly for me.
I'm trying chapter 3 if you could give that one a go for me please.
Thank
Matt
 
Old April 5th, 2013, 02:53 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I know as you said so in your first message, so that's what I tried of course....

Did you try disabling download managers or a different broswer?

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 5th, 2013, 02: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

Or is the issue not with the download but with running the source? Can you describe your problem in more detail?

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 5th, 2013, 04:04 PM
Authorized User
 
Join Date: Mar 2013
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default Must be a problem with me running the Source code

Hi

I load the Chapter 3 by loading WebMatrix first and then choose Open from Folder. Once loaded I just click on Run but find that I get error despite trying on my Desktop Pc or my Laptop PC. The error on my laptop in the Google Chrome browser is :-
HTTP Error 404.20 - Not Found
No default document.

Most likely causes:
A default document is not configured for the site.
The URL contains a typographical error.
Directory browsing is not enabled.

Things you can try:
Configure a default document for this site. This is commonly default.aspx for ASP.NET and index.php for PHP.
Review the browser URL.
Enable directory browsing to allow listing the contents of the directory.

Detailed Error Information:
Module DefaultDocumentModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:13614/
Physical Path C:\Chapter3
Logon Method Anonymous
Logon User Anonymous
Request Tracing Directory C:\Users\Matthew\Documents\IISExpress\TraceLogFile s\CHAPTER31

More Information:
A default document is not configured for the site.
View more information »


Help!!!!!!!!!!!!
 
Old April 5th, 2013, 04:25 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Maybe you haven't opened (or browsed to) the Classifieds folder?

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 5th, 2013, 04:48 PM
Authorized User
 
Join Date: Mar 2013
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default Working now - but not all of it

Hi
I should have selected the folder called Classified in order to load it properly. I'm used to using Visual Studio where you tend to choose a .sln file to load a project. At least I know what to do in order to load a site properly now :)

When I ran it for the first time, a message loaded to say that I needed to Install Web Pages 1 which I installed. Of course, we are on Web Pages version 2 now.

Anyway, once it was running, I clicked on REGISTER in the navigation but got this error. Should I expect this ? :-

HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.

Things you can try:
Create the content on the Web server.
Review the browser URL.
Check the failed request tracing log and see which module is calling SetStatus. For more information, click here.

Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Requested URL http://localhost:27738/Account/Register
Physical Path C:\Chapter3\Chapter3\Classifieds\Account\Register
Logon Method Anonymous
Logon User Anonymous
Request Tracing Directory C:\Users\Matthew\Documents\IISExpress\TraceLogFile s\CLASSIFIEDS

More Information:
This error means that the file or directory does not exist on the server. Create the file or directory and try the request again.
View more information »
 
Old April 5th, 2013, 04:55 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
Anyway, once it was running, I clicked on REGISTER in the navigation but got this error. Should I expect this ? :-
Yes; the link to this file (and others) are included in the layout and navigation, but the actual files haven't been added to the site yet.

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
How to use source code with book new2this BOOK: Professional Visual Basic 2010 and .NET 4 1 February 13th, 2012 12:24 AM
Source code for this book geekam BOOK Programming Interviews Exposed: Secrets to Landing Your Next Job 2nd Ed ISBN: 978-0-470-12167-2 1 December 26th, 2011 05:10 PM
Source code for this book florentine3d BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 5 August 16th, 2011 07:39 AM
Cant find downloadable code for book cjmarek C# 4 August 19th, 2004 01:55 PM





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