Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get an ASP.Net MVC application running on my host?

Is there something special you usually have to do? I have a DailyRazor .Net Starter account, but it won't run my MVC app. Any ideas?

I have contacted support but they said it should work, but it's not... Thought maybe someone here could help me faster.

like image 762
Max Schmeling Avatar asked Mar 01 '23 10:03

Max Schmeling


2 Answers

I've been through this with Gearhost.

Your host needs to install the following on your IIS server:

  • ASP.NET 3.5 SP1
  • ASP.NET MVC 1.0

They need to enable the following settings:

If it's running IIS 6 on Windows 2003:

  • Enable Wildcard Mappings: (1), (2)

If it's running IIS 7 on Windows 2008, then you don't need to do anything.

Edit:

Regarding your Linq error; that means they probably don't have the correct version of the .NET Framework installed. I'd open a ticket and ask them. If they seem unwilling to help or to upgrade your server, there are plenty of hosts that will, and I can make recommendations if you'd like.

like image 87
George Stocker Avatar answered Mar 16 '23 22:03

George Stocker


It sounds like the host does not have the latest version of the .net framework installed (3.5) , or if they do, your web application is perhaps set up to use an older version of asp.net.

Also, if they happen to be running on IIS6, there are a few extra steps they may have to do:
http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx

like image 44
Joel Martinez Avatar answered Mar 17 '23 00:03

Joel Martinez