Search

You searched for the word(s): userid:891764

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 >