CodePlexProject Hosting for Open Source Software
I'm trying to get Orchard running at so I copied the content of Orchard.Web.1.4.0.zip in the wwwroot folder but I'm getting this error:
Compiler Error Message: CS0234: The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)Source Error:
Line 102: <add namespace="System.Web.Mvc.Html" />
Line 103: <add namespace="System.Web.Routing" />
Line 104: <add namespace="System.Linq" />
Line 105: <add namespace="System.Collections.Generic" />
Line 106: <add namespace="Orchard.Mvc.Html" />
Before trying to install it by just copying the files to the server, I used WebMatrix and published from there but I was getting the same error. Orchard was working fine locally when I was using WebMatrix (SQL Compact).
Thanks for helping!
Probably wrong version of .NET. Check your app pool settings.
The setting in WebsitePanel is ASP.NET 4.0 Integrated Pipeline for this website.
You probably didn't upload everything you needed then. It's common when using FTP. That's why I use WebDeploy whenever I can instead of ftp.
I downloaded the files from FTP and made a binary comparison with the ones in Orchard.Web.1.4.0.zip. They seem to be the same. However, a folder Dependencies was created under App_Data that contains 32 dll files (Orchard.*.dll etc.) and 2
xml (dependencies.compiled.xml and dependencies.xml). Also, the remote web.config now includes:
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="index.php" />
<add value="Default.htm" />
<add value="Default.asp" />
<add value="index.htm" />
<add value="index.html" />
<add value="iisstart.htm" />
<add value="default.aspx" />
</files>
</defaultDocument>
IE9 error made the above post to display twice. Sorry.
Maybe your hosting company has a weird trust level? Always prefer hosting companies that give you full trust.
What can I do to find out more about the issue? What should I ask the hosting company? Full trust is not enabled for the hosting plan I contracted.
I installed Orchard on another website () on the same host but through WebsitePanel - Microsoft Web App Gallery using a MSSQL database. I get the same error.
Ask them what their trust level is. That's probably the problem.
They say the trust level is set to medium. By default.
I asked them to grant full trust for a limited time, just to see if it works. They agreed and it works with full trust. However, I tried to install a new theme because I knew this could be problematic and I got this error even though from what I can tell
there is write access to those folders:
"Package."
That's a different issue: you probably have the wrong feed configured. It should be
Medium trust should work, but it seems like somehow it fails on 1.4 with some hosting companies. I'm not sure why but in any case I would strongly advise looking for a hoster that offers full trust. There are so many quality affordable hosting plans with
full trust nowadays that for a company to only offer medium is just not justifiable in my eyes. I would not give them my business.
I thought I got a good deal with this hosting company.
Thanks for your help!
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.