Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:891764
More Search Options
RSS Available
Matching Posts
Re: File not found 404 error after publish MVC project
[quote user="KeFang Chen - MSFT"] Hi, If you want to run MVC on IIS5.1, you can refer to the following article to configure IIS. http://blogs.microsoft.co.il/blogs/dorony/archive/2007/12/15/using-asp-net-mvc-on-iis-5.aspx [/quote] Right answer.
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 10/3/2009
Re: File not found 404 error after publish MVC project
My IIS is 5.1 on XP SP3 . I will try the methods you guy metioned and give the feedback. Thanks .
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/30/2009
Re: File not found 404 error after publish MVC project
[quote user="mad-halfling"] routes.MapRoute( "Default", // Route name "{controller}.aspx/{action}/{id}", // URL with parameters new { controller = "Home", action = "Index", id = "" } // Parameter defaults ); you will also need to add the .aspx in to any links you have on your pages. [/quote] I am not understand clearly . Could you mind give a little code piece ?? Thanks.
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/30/2009
Re: File not found 404 error after publish MVC project
.[quote user="paul.vencill"] What version of IIS are you using? If it's IIS 6, or IIS7 running in compatibility mode, then you need to take some extra steps to configure it to work w/ extensionless URLs like are found in the MVC framework by default. here's an example: http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx [/quote] I choose to use no extension way , The only thing I do is add MVC extension support in Application Mapping with asp.net_isapi.net
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/30/2009
File not found 404 error after publish MVC project
I just create a MVC project from template and publish to my local machine. The homepage works fine. But when I navigate to the About page, it show me "404 file not found". But , in debug mode before publish ,it all works fine. What's wrong with it ? thanks..
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/29/2009
Re: File not found 404 error after publish MVC project
I didn't write any MapPath code . Just add a view and a controller . And the Index and About views are default embedded in the project template. after publish it to local machine , the home page with index view is show with no problem, but the about view show 404 not found .
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/29/2009
Re: How to use GetGlobalResourceObject
You are right . That works fine . Thank you very much . BTW ,why an't parse with blank space ?
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/20/2009
How to use GetGlobalResourceObject
I new a mvc project from template , and add the GlobalResource folder and MyString.resx file . I write the code in the Site.Master : <h1><% =GetGlobalResourceObject("MyString", "Title"); %></h1> But it throw HttpParseException :xxxxx . error CS1026: ) expected Could someone point me out what's wrong here ? Thanks .
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/18/2009
Re: Can not load type "XX.Global" in Global.asax file
Good answer . You are right . Thanks.
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/17/2009
Does the location of Model,View,Controller should be under root folder ?
I 've placed the Model ,Controller,Views folder under a sub folder of website . And when I try to run it , it show me the error message : An exception of type 'System.InvalidOperationException' occurred in System.Web.Mvc.dll but was not handled in user code Additional information: The view 'Index' or its master could not be found. The following locations were searched: ~/Views/Home/Index.aspx ~/Views/Home/Index.ascx ~/Views/Shared/Index.aspx It looks like MVC folder should be
Posted to
ASP.NET MVC
(Forum)
by
xsdf
on 9/17/2009
Page 1 of 2 (13 items) 1
2
Next >
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online