views:

436

answers:

5

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.

A: 

Try copying the MVC assemblies (System.Web. Abstractions, MVC, and Routing) to your Bin folder.

SLaks
Visual Studio put them there automatically when I published the application.
Max Schmeling
A: 

In reference to your error, you can try adding the System.Linq dll to your bin folder to see if that gets rid of that error. Does your host have .NET 3.5 installed?

Cody C
+1  A: 

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

Joel Martinez
A: 

You need to copy System.Core.dll to your Bin folder.

Alternatively, ask DailyRazor to install .Net 3.5. (They might not listen, though)

SLaks
+5  A: 

I've been through this with Gearhost.

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

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.

George Stocker
Would you please make recommendations? I'd like something fairly cheap, but I'm willing to pay a little more for a good host. I'm going to email them and see what they'll do for me though first.
Max Schmeling
I can't recommend Gearhost (http://gearhost.com) enough. I use them for my ASP.NET MVC web applications; they have fantastic support, and they're more than willing to help out their customers.
George Stocker
checking them out now. they look pretty good
Max Schmeling
looks like i'll be switching hosts
Max Schmeling