Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 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 Display Modes
  #1 (permalink)  
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.
Reply With Quote
  #2 (permalink)  
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>
Reply With Quote
Reply


Thread Tools
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
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 01:59 AM
Chapter 1, page 11 typo? tumana BOOK Beginning Linux Programming, 3rd Edition 4 August 25th, 2006 11:43 AM
Status 404 for 404 page marun BOOK: Professional Apache Tomcat 0 August 30th, 2005 07:45 AM



All times are GMT -4. The time now is 03:39 AM.


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