Can anyone provide info wether ASP.NET MVC is supported with shared hosting here? I have triedpublishing several mvc applications, even tried all versions of the asp.net mvc preview (3)(4)(5) to see wether differneces in assembly versions made any difference. all to no avail. grrrrrrrrr!! Please feel free to post other mvc related stuff here in response, common probs etc etc, i got a feeling im gunna hit a few more, especially as mvc still in its preview stage. Thank all in advance. Louise.
MVC is still in beta and is not installed into the GAC. Many others poster here tried uploading the dll into the bin directory and reported success. Bruce DiscountASP.NET www.DiscountASP.NET
Cross-posted in my other thread but: Ok, so I figured out how to make my project work. Basically, I downloaded the MVC Preview 5 and placed the installed 4 .dlls into my Bin folder. I then read the version documentation and made the changes in the Webconfig file as instructed. After rebuilding and reuploading to the DASP server, I'm in business. Just wanted to update for those who might still be having difficulties. -Ken
does your site happen to be hosted on the few servers that were lucky enough to get the sp1 upgrade last week? Preview 4 was working great but 5 does not, made all the necessary version changes in the web.config. our server does not have sp1.
sp1 will be installed within the next 2 weeks. We have just sent out a notification. Bruce DiscountASP.NET www.DiscountASP.NET
Hey I'm trying to deploy mvc preview 5 on discount asp and I'm hitting this error: Line 25: Line 26: <%= Html.ValidationSummary() %> Line 27: <% using (Html.Form('Home', 'Default', FormMethod.Post)) { %> Line 28: <table class='keyval'> Line 29: <tr><th>Name</th><td><%= Html.TextBox('Name') %><%= Html.ValidationMessage('Name', '*') %></td></tr> Source File: e:\web\whenshouldw\htdocs\Views\Home\Default.aspx Line: 27 I deployed by going to Project -> Publish -> All files in this project from visual studio 2008 so I think all of the right dlls should be there. Am I missing anything else? Thanks.
Just an update, the files in my bin folder are: Microsoft.Web.Mvc.dll System.Web.Abstractions.dll System.Web.Mvc.dll System.Web.Routing.dll in addition to my own. Any help would be greatly appreciated.
Dah, I forgot the actual error: Compiler Error Message: CS0103: The name 'FormMethod' does not exist in the current context
Have you tried checking your code behind and made sure that 'FormMethod' is also created in there. Try also adding this code in your code behind and let me know if it works.. public class MyWebPage : System.Web.UI.Page { protected System.Web.UI.WebControls.Panel FormMethod; rcp DiscountASP.NET www.DiscountASP.NET
That didn't work, thanks for the response though. Turns out visual studio didn't publish my web.config and was missing the namespaces for mvc (and was missing a bunch of other things)