NOP Commerce

Topics: Troubleshooting
Oct 25, 2011 at 3:22 PM

I realized this is a long shot but I am looking for a recommended deployment between Orchard and Nop Commerce.

Would like to install NOP Commerce web application within a SubDomain of the Domain Orchard (intalled as root applicaiton and NOP as Child applicaiton). Is there any guidance of app integration with Orchard?

When I attempt to do this without any modifications to the NOP Web.Config I get the following exception ..  

C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.ExternalAuth.Facebook.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.AuthorizeNet.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\86943bf4\00adfb37_7f5ecc01\MvcMiniProfiler.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\bdcfd454\001b1139_798acc01\Nop.Services.XmlSerializers.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\4650aef2\0075733b_798acc01\Nop.Web.Framework.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\b72d8cfc\006fb481_143ccc01\Microsoft.Web.Infrastructure.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\adbb41a2\006fb481_143ccc01\System.Web.Mvc.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Shipping.Fedex.XmlSerializers.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.ExternalAuth.OpenId.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.ExchangeRate.McExchange.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\ef9b7def\00fc063f_798acc01\Nop.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\5c0ba2e6\006fb481_143ccc01\System.Web.Helpers.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\c57736d5\006fb481_143ccc01\System.Data.SqlServerCe.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Tax.StrikeIron.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Abstractions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Abstractions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\b53d2d62\006fb481_143ccc01\System.Web.WebPages.Razor.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.CheckMoneyOrder.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\feb38a26\00237986_143ccc01\FluentValidation.Mvc.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\893883a3\00b50fa8_9183cc01\itextsharp.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.DiscountRules.HasOneProduct.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\8c910207\00237986_143ccc01\Microsoft.Web.Mvc.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Routing\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Routing.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\e44a2f5d\00237986_143ccc01\FluentValidation.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Feed.Become.dll" /R:"E:\web\softland\nop\Plugins\bin\GCheckout.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.DiscountRules.BillingCountry.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Tax.StrikeIron.XmlSerializers.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.DiscountRules.PurchasedAllProducts.dll" /R:"E:\web\softland\nop\Plugins\bin\Facebook.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.AuthorizeNet.XmlSerializers.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\ae84bf55\0008df08_2847cc01\Autofac.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Shipping.USPS.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\b017b3cd\0035100a_2847cc01\AutofacContrib.Startable.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Shipping.ByWeight.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\b3565185\00cd8600_2847cc01\AutoMapper.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.Manual.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Shipping.AustraliaPost.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\2c367d8f\00046f8c_143ccc01\WebActivator.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\518903fe\00237986_143ccc01\EntityFramework.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\2d636405\00eedf37_798acc01\Nop.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Linq.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.ExchangeRate.EcbExchange.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\c32378a1\00237986_143ccc01\MvcContrib.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.DiscountRules.PurchasedOneProduct.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.DiscountRules.ShippingCountry.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Shipping.CanadaPost.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\c97140c2\006fb481_143ccc01\System.Web.Razor.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\9eb8a5e1\00eedf37_798acc01\Nop.Data.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Misc.WebServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\12bf6ff8\00c8af91_c94acc01\Telerik.Web.Mvc.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\70ed0546\0035100a_2847cc01\Autofac.Integration.Mvc.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.DiscountRules.CustomerRoles.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\7e40580d\0035100a_2847cc01\Recaptcha.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\373863b0\001b1139_798acc01\Nop.Services.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Tax.CountryStateZip.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.PurchaseOrder.dll" /R:"E:\web\softland\nop\Plugins\bin\DotNetOpenAuth.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Shipping.FixedRateShipping.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.PayInStore.dll" /R:"E:\web\softland\nop\Plugins\bin\LinqToTwitter.dll" /R:"E:\web\softland\nop\Plugins\bin\Newtonsoft.Json.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.PayPalDirect.XmlSerializers.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Widgets.GoogleAnalytics.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.ExternalAuth.Twitter.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.DiscountRules.HadSpentAmount.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.GoogleCheckout.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\2bb6c5fc\0008df08_2847cc01\Autofac.Configuration.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Feed.Froogle.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Widgets.LivePersonChat.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\ca67dd99\0062410b_2847cc01\RouteDebugger.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.PayPalStandard.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Shipping.Fedex.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.SMS.Clickatell.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\c4cc7a61\00fc063f_798acc01\Nop.Admin.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Feed.PriceGrabber.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Tax.FixedRate.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.SMS.Verizon.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\b9d73077\006fb481_143ccc01\System.Web.WebPages.Deployment.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Tax.Free.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.PayPalDirect.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.DiscountRules.HasAllProducts.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Shipping.UPS.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\assembly\dl3\ed8bd8c2\006fb481_143ccc01\System.Web.WebPages.dll" /R:"E:\web\softland\nop\Plugins\bin\Nop.Plugin.Payments.CashOnDelivery.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\App_global.asax.dll" /debug- /optimize+ /w:4 /nowarn:1659;1699;1701 /warnaserror-  "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\App_global.asax.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\nop\eefc31cc\d9523029\App_global.asax.1.cs"


Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.

e:\web\softland\Web.config(107,11): error CS0246: The type or namespace name 'Orchard' could not be found (are you missing a using directive or an assembly reference?)

 

Coordinator
Oct 25, 2011 at 6:12 PM

The subdomain needs to be configured as a separate application, and the web.config of nop will have to restore everything that it needs and that the Orchard web.config locked down. As the Orchard config is pretty severely locked down, it means that you may have to dig into machine.config to find the original parameters that it overrode.