Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : 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
 
Old December 30th, 2014, 01:28 AM
Registered User
Points: 21, Level: 1
Points: 21, Level: 1 Points: 21, Level: 1 Points: 21, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 11: Contact Us page, HTTP Error 404.0

Hello. I'm working in Chapter 11 using the sample code that I downloaded from your site. Everything works fine except the Contact Us page (which is used extensively in this chapter). I have changed nothing at all in the downloaded code, however when I try to run the Contact Us page I receive the following error:

HTTP Error 404.0 - Not Found

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Can you tell me what might be causing this and how to fix it? Thanks!

Last edited by MeTP; December 30th, 2014 at 01:39 AM.. Reason: Error in thread title.
 
Old December 30th, 2014, 04:40 PM
Registered User
Points: 21, Level: 1
Points: 21, Level: 1 Points: 21, Level: 1 Points: 21, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Although I'm not sure this was the cause (it seems there should be a different error for this), I made the following correction in the downloaded code and now it works:

Original markup in Frontend.Master:
Code:
    
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
      <Scripts>
        <asp:ScriptReference Name="jquery" />
      </Scripts>
    </asp:ScriptManager>
Corrected:
Code:
    
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
      <Scripts>
        <asp:ScriptReference Path="~/Scripts/jquery-2.1.1.min.js" />
      </Scripts>
    </asp:ScriptManager>




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 11 jQuery animating the Contact Form Try it Out AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 January 28th, 2014 03:38 PM
The custom 404 error page does not seem to work aperture8 BOOK: Beginning ASP.NET 4 : in C# and VB 2 July 29th, 2012 12:59 AM
Chapter 1, page 11 typo? tumana BOOK Beginning Linux Programming, 3rd Edition 4 August 25th, 2006 10:43 AM
Status 404 for 404 page marun BOOK: Professional Apache Tomcat 0 August 30th, 2005 06:45 AM





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