Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9
This is the forum to discuss the Wrox book Professional ASP.NET MVC 1.0 by Rob Conery, Scott Hanselman, Phil Haack, Scott Guthrie; ISBN: 978-0-470-38461-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 1.0 ISBN: 978-0-470-38461-9 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
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 29th, 2009, 10:55 PM
Registered User
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default NerdDinner The view 'Index' or its master could not be found

I'm trying to create the NerdDinner by walking through chapter 1, and encountering "The view 'Index' or its master could not be found" on http://localhost/14047/Dinners
The view 'Index' or its master could not be found. The following locations were searched:
~/Views/Dinners/Index.aspx
~/Views/Dinners/Index.ascx
~/Views/Shared/Index.aspx
~/Views/Shared/Index.ascx



What am I missing?
  #2 (permalink)  
Old April 2nd, 2009, 12:23 PM
Registered User
 
Join Date: Apr 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It sounds like you don't have an Index.aspx file in the Views/Dinners/ directory.

An easy way to fix this is to right click in the Index method in the DinnersController file and select Add View. Then Visual Studio will create the view for you and you should be able to see it.

I've been working through the NerdDinner example myself, so I'm no expert on this stuff. Hopefully what I suggested will work for you!
  #3 (permalink)  
Old April 3rd, 2009, 02:27 AM
Registered User
 
Join Date: Mar 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default solution

U can download sourcecode to check.it works well .i 've completed CRUD operation
  #4 (permalink)  
Old May 3rd, 2009, 04:30 PM
Registered User
 
Join Date: Apr 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server Error in '/' Application.

Hi everyone,

I had the following "unexpected" problem: I added the create method (as described in the tutorial) and after that the create View (once again exactly as described in the tutorial).
Unexpectably I got a "The ressource can not be found" error!
After having deleted, the view and added it again, after having deleted even the method and the view and added them again, I got the same error!
I decided to restart VS2008, and ....... yes it works!!

Meziano
 


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
Creating Index on View - SQL prince500 SQL Server 2005 5 September 7th, 2011 07:35 AM
Cannot index the view '. It contains one or more d RehanHussain SQL Server 2000 2 April 12th, 2008 03:57 PM
Unique Index there but not found mmcdonal Access 5 January 4th, 2005 10:36 AM
Index View Asish SQL Server 2000 1 November 7th, 2003 01:12 PM
View dynamic content with MS Index Server? shogunmike Classic ASP Basics 0 June 26th, 2003 12:39 PM



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


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