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.

share|improve this question
What error do you get? – SLaks Aug 13 '09 at 1:28
Well I was getting something like Resource not Found or something like that, though now I'm getting this: "CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)"... but that should definitely be in the GAC – Max Schmeling Aug 13 '09 at 1:32

5 Answers

up vote 5 down vote accepted

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.

share|improve this answer
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 Aug 13 '09 at 13:52
1  
I can't recommend Gearhost (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 Aug 13 '09 at 14:09
checking them out now. they look pretty good – Max Schmeling Aug 13 '09 at 14:39
looks like i'll be switching hosts – Max Schmeling Aug 13 '09 at 17:49

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

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

share|improve this answer

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

share|improve this answer

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?

share|improve this answer

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

share|improve this answer
Visual Studio put them there automatically when I published the application. – Max Schmeling Aug 13 '09 at 1:31

Your Answer

 
or
required, but never shown
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.