{"id":2797,"date":"2022-08-30T15:27:51","date_gmt":"2022-08-30T15:27:51","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/16\/problem-about-orchard-forums-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:27:51","modified_gmt":"2022-08-30T15:27:51","slug":"problem-about-orchard-forums-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-orchard-forums-collection-of-common-programming-errors\/","title":{"rendered":"problem about orchard-forums-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\nI&#8217;ve been working on a similar application &#8211; just a tad more specialized, but a similar idea.I&#8217;m looking for pages on your workflow view as we&#8217;ve implemented an engine for describing them via metadata registered within ioc to allow runtime wireup.\u00a0 I&#8217;m interested both in your perspective and how I can get involved on this project.\u00a0 Itlooks like a lot of fun.Thanks,-SteveHere&#8217;s an overview of my cms\/workflow related opensource contributions to make ours a reality:\u00a0Project\/Component<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\nHi, I&#8217;m playing with Orchard and I&#8217;m really interested about the Content Localization features it will have. I think it will be a primary level piece of software (IMHO is very well implemented) but the lack of localization support can be a problem for the adoption of it mainly in the European countries.I Live and work in Italy, and as a developer I&#8217;ve worked in many project (mainly tourism\/vacation oriented) where Localization was one of the first concerns.I can&#8217;t see any infrastructure in place<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\nHave a program that requires the Visual Studio .Net 2003 msvcr71.dll (ref: http:\/\/msdn.microsoft.com\/en-us\/library\/k9a8ehy3%28VS.71%29.aspx).\u00a0 The program does not install it like it is supposed to, and I do not have it on my system.I do not want to download a dll from a thrird party site (like dlldll.com).How can I get the runtime from Microsoft?\u00a0 (Vista 64bit)I also need msvcp71.dll<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nAre there specific cache and session providers in the Orchard Framework that I can\/should use within my controllers? &#8211; I assumed that cache and session is isolated into each tenant shell?Thanksretroviz<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nI tried to install Orchard on my webbserver today, to try how it worked when it ran on a dedicated server with a ms sql server 2008 as database. The deploy of Orchard.web from visual studio went ok. But when i try to access the webserver trough a subdomain i put up http:\/\/new.qubar.se it crashes &amp; wont start&#8230; I don&#8217;t really know what settings\/configuration I should choose, I tried full trust, booth .net 2.0\/3.5\/4.0. Installed MVC 2 rc&#8230; Can someone give me some hint\/tips on what setting<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nNot getting any love with the titled config.\u00a0 I&#8217;m working on a project that will be destined for an IIS6 web server and I want to develop locally on IISExpress (Classic mode).\u00a0 Steps to repro:Download the Orchard Web zip Extract to a local directory Open with WebMatrix Go to Site | Settings Under Select .NET Framework Version choose .NET 4 (Classic) Click Run I&#8217;ve done this several times and the first thing that will happen is IISExpress will crash.\u00a0 Upon rerun the site gives a 40<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\nHi there,I am getting an error for reusing a page name that is deleted so that the slug of the page name can be reused for blog name.Any advise as to how to resolve this?Thanks,WasayError details:&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;Server Error in &#8216;\/&#8217; Application. The view &#8216;NotFound&#8217; or its master was not found. The following locations were searched:~\/Packages\/Orchard.Pages\/Views\/page\/NotFound.aspx~\/Packages\/Orchard.Pages\/Views\/page\/NotFound.ascx~\/Packages\/Orchard.Pages\/Views\/Sha<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nI have been trying to create a sample module for orchard by going through the orchardmoudulewalkthrough.doc provided on\u00a0http:\/\/www.orchardproject.net\/docs\/Walkthrough-Writing-An-Orchard-Module.ashx,iam facing error for creating new record type, i am getting following exception,i think the table is not created in the database,i am using orchard version 0.5.144 and\u00a0followed same steps as shown in the document,Can someone help me outException Detail:NHibernate.ADOException was unhandled b<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\nI have a ProfileRecord.cs and I decided to drop one of the field, which in this case is EmailAddress. When I hit Ctrl-F5 i got the follow error. What is the practice to drop a field from the Record class?And also, what must I do in the data migration class?Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: NHibernate.PropertyNotFoundE<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\nDownloaded new source. New project, new database. I&#8217;ve been following various examples for creating a module (such as\u00a0http:\/\/rajandmello.blogspot.com\/2010\/08\/adding-new-module-using-vs-2010.html)and it seems like I am following the example correctly. Page are showing up as expected in admin, etc, database table is created. However, when I attempt to actually create an item (admincontroller create method), I receive the error below on create post.Any suggestions on where to look for the prob<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nI was trying to convert commerce module to web project instead of mvc area. I got the following error message when trying to save a new product. Can anybody tell me what I did wrong?A required anti-forgery token was not supplied or was invalid.Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Web.Mvc.HttpAntiForgeryException:<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nNew clean install, using the correct 0.5. version. Install seems to proceed normally. I can load the setup page, db installs, I can navigate to the site. However, after opening the project in visual studio and compiling (doing nothing else), I return tothe site and see the following error:\u00a0Could not load file or assembly &#8216;Autofac.Configuration, Version=2.1.13.813, Culture=neutral, PublicKeyToken=17863af14b0044da&#8217; or one of its dependencies. The system cannot find the file specified.Descript<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nusing the 0.5 build, i got the follow error from time to time when i hit Ctrl-F5Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.UnauthorizedAccessException: Access to the path &#8216;E:\\workspace\\Projects\\Sqweee\\src\\Orchard.Web\\web.config&#8217; is denied.ASP.NET is not authorized to access the requested resource. Consider granting acce<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nAccording to the walkthrough, at the end of the tutorial\u00a0I must add&lt;%Html.AddRenderAction(&#8220;sidebar&#8221;,\u00a0&#8220;ShoppingCart&#8221;);%&gt;to render the ShoppingCart.ascx in the\u00a0Shop page.\u00a0However the\u00a0I encountered the following error:\u00a0Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Invali<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nThe current request for action &#8216;Preview&#8217; on controller type &#8216;AdminController&#8217; is ambiguous between the following action methods: System.Web.Mvc.ActionResult ApplyPreview(System.String, System.String) on type Orchard.Core.Themes.Controllers.AdminController System.Web.Mvc.ActionResult CancelPreview(System.String) on type Orchard.Core.Themes.Controllers.AdminController Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for mo<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\nI&#8217;m gonna put important data in this alpha version, but still I want to know how to publish Orchard to a\u00a0commercial\u00a0host.\u00a0I&#8217;ve setup a new site in my laptop. But when tried publish the local site to my new site at winhost.com, I got an errorSecurity ExceptionDescription: The application attempted to perform an operation not allowed by the security policy. \u00a0To grant this application the required permission please contact your system administrator or change the application&#8217;s tr<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nProject running on VS 2010, Win 7 x64, IIS 7, Sql 2008. New clean install. Project opens and runs as expected under .Net Framework 3.5 and 2.0 App pool. Upgrade project to .Net Framework 4.0 and 4.0 App pool and loading home page returns the following error:Server Error in &#8216;\/&#8217; Application.Static property requires null instance, non-static property requires non-null instance.Parameter name: expressionDescription:An unhandled exception occurred during the execution of the current web request. Plea<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nHi, just reporting a possible bug I just encountered where file monitoring seems to be looking for a DatabaseMigrations folder which should be DataMigrations :Step 1) Installed orchard from freshStep 2) Copied over Patrick&#8217;s Orchard.Commerce moduleStep 3) Ran &#8220;Scaffolding create datamigration Orchard.Commerce&#8221;Step 4) I navigated to\u00a0http:\/\/localhost\/orchard6\/Admin\u00a0(intending to enable the Commerce feature)\u00a0and got this error :\u00a0Directory &#8216;C:\\inetpub\\wwwroot\\orchard6\\M<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\n\u00a0 I haven&#8217;t done anything strange just uploaded a new blog post&#8230; This blog post has &lt;Pre&gt; tags &#8230; thats the only difference i can tell&#8230;\u00a0Server Error in &#8216;\/&#8217; Application.Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that &lt;machineKey&gt; configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.Description:An unhandled exception occurred during the execution of the cu<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-help-and-support<br \/>\nHere is the error I am getting from the source when I try to run from VS2010 in Windows XP;Server Error in &#8216;\/OrchardLocal&#8217; Application.Could not load type &#8216;Microsoft.Web.Infrastructure.DynamicModuleHelper.DynamicModuleUtility&#8217; from assembly &#8216;Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#8217;.Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error a<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\norchard-forums orchard-discussions<br \/>\nHi All. I installed the Orchar v 0.5.146 and I have this error when I come to the site after a long time&#8230;Do you know some workaround to fix that?Thanks in advance\u00a0Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.InvalidOperationException: Extension Orchard.Comments is not activeSource Error: An unhandled exception was<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2014-02-16 20:14:30. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>msdn orchard-forums orchard-discussions I&#8217;ve been working on a similar application &#8211; just a tad more specialized, but a similar idea.I&#8217;m looking for pages on your workflow view as we&#8217;ve implemented an engine for describing them via metadata registered within ioc to allow runtime wireup.\u00a0 I&#8217;m interested both in your perspective and how I can get [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2797","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2797"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2797\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}