We have been trying to install nopCommerce 1.40 on Rackspace Clould Sites for a few days.
First we encountered the same issue on the post below: https://www.nopcommerce.com/Boards/Topic.aspx?TopicID=2918 and resolution worked only to get the next error.
Then we tried the instructions on: https://www.nopcommerce.com/Boards/Topic.aspx?TopicID=568&p=1
Now our error message is on line 77 regarding identity impersonate, see below: Server Error in '/' Application. --------------------------------------------------------------------------------
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'Logon failure: unknown user name or bad password.
Source Error:
Line 75: <urlrewritingnet configSource="UrlRewriting.config"/> Line 76: <system.web> Line 77: <identity impersonate="true" userName="[OUR_USER_NAME]" password="[OUR_PASSWORD]" /> Line 78: <httpRuntime maxRequestLength="51200"/> Line 79: <customErrors mode="Off">
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016 --------------------------------------------------------------------------------
1. Has anyone successfully got nopCommerce working on Rackspace Cloud Sites? If so, can you please provide some guidance on how?
2. It appears that Dan got nopCommerce to work on Azure, Microsoft's cloud services: https://www.nopcommerce.com/Boards/Topic.aspx?TopicID=1502
3. ASPDOTNETSTOREFRONT works on Rackspace Cloud Sites: https://support.aspdotnetstorefront.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=438
So, if nopCommerce can work on Cloud (point 2 above) and another ASP.NET based ecommerce solution can work on Rackspace Cloud Sites (point 3 above), is it logical to think that nopCommerce should work on Rackspace Cloud Sites?
Rackspace Support also provided this info: http://cloudsites.rackspacecloud.com/index.php/Overview_of_modified_Medium_Trust
nopCommerce claims it can run on a Medium Trust environment and Rackspace provides a "proven" Medium Trust environment, so does anyone have any ideas what is not working?
I just started using NOP Commerce. I'm very impressed with the product. Anyway, I would love to run it over at Rackspace Cloud Sites. And I can't seem to get it to work. Any updates to this would be much appreciated.
I received word back from Rackspace regarding this issue. It appears as though the Plugins project includes references to an F:\ drive, which obviously won't be available in the cloud.
I've already moved on to another Host where the application works great. However, I put more stock in Rackspace than anyone else in the hosting space. Once I build my traffic up I will move my project back to them and probably turn up a Cloud Server where I have full root access and won't have these issues. However, Cloud Sites would be preffered over this option.
Anyway, is it possible NOP Commerece can include the Rackspace Cloud as a preffered vender for hosting in the future? It would be wonderful if all library's would work under Medium Trust?
Below is my response from one of the engineers at Rackspace:
Looking at the event logs it appears that your application is trying to reference an F:\ drive. Please see the following:
Event code: 3005
Event message: An unhandled exception has occurred.
Exception message: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not initialise plugin folder. at System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) at System.Web.Compilation.BuildManager.CallPreStartInitMethods() at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
Could not initialise plugin folder at Nop.Core.Plugins.PluginManager.Initialize() in F:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:line 144
Could not initialise plugin folder at Nop.Core.Plugins.PluginManager.Initialize() in F:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:line 136
A plugin has no system name. Try assigning the plugin a unique name and recompiling. at Nop.Core.Plugins.PluginManager.Initialize() in F:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:line 88
Request information:
Request URL: http://www.[MYSITE].com/
Request path: /
User host address: 172.17.2.64
User:
Is authenticated: False
Authentication Type:
Thread account name: DFW\[MYUSER]
Thread information:
Thread ID: 16
Thread account name: DFW\[MYUSER]
Is impersonating: False
Stack trace: at System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) at System.Web.Compilation.BuildManager.CallPreStartInitMethods() at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
This does not appear to be permissions related but a path issue. I would suggest having your developers look closer into your code to find where this location is being specified as it does not exist in cloud sites.
The path for your site is: \\fs1-n02\stor2wc1dfw1\407612\www.[MYSITE].com
If you have any additional questions please feel free to update this ticket.
I received word back from Rackspace regarding this issue. It appears as though the Plugins project includes references to an F:\ drive, which obviously won't be available in the cloud.
I've already moved on to another Host where the application works great. However, I put more stock in Rackspace than anyone else in the hosting space. Once I build my traffic up I will move my project back to them and probably turn up a Cloud Server where I have full root access and won't have these issues. However, Cloud Sites would be preffered over this option.
Anyway, is it possible NOP Commerece can include the Rackspace Cloud as a preffered vender for hosting in the future? It would be wonderful if all library's would work under Medium Trust?
Below is my response from one of the engineers at Rackspace:
Looking at the event logs it appears that your application is trying to reference an F:\ drive. Please see the following:
Event code: 3005
Event message: An unhandled exception has occurred.
Exception message: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Could not initialise plugin folder. at System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) at System.Web.Compilation.BuildManager.CallPreStartInitMethods() at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
Could not initialise plugin folder at Nop.Core.Plugins.PluginManager.Initialize() in F:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:line 144
Could not initialise plugin folder at Nop.Core.Plugins.PluginManager.Initialize() in F:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:line 136
A plugin has no system name. Try assigning the plugin a unique name and recompiling. at Nop.Core.Plugins.PluginManager.Initialize() in F:\Own\NopCommerce\Sources\src\Libraries\Nop.Core\Plugins\PluginManager.cs:line 88
Request information:
Request URL: http://www.[MYSITE].com/
Request path: /
User host address: 172.17.2.64
User:
Is authenticated: False
Authentication Type:
Thread account name: DFW\[MYUSER]
Thread information:
Thread ID: 16
Thread account name: DFW\[MYUSER]
Is impersonating: False
Stack trace: at System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) at System.Web.Compilation.BuildManager.CallPreStartInitMethods() at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException)
This does not appear to be permissions related but a path issue. I would suggest having your developers look closer into your code to find where this location is being specified as it does not exist in cloud sites.
The path for your site is: \\fs1-n02\stor2wc1dfw1\407612\www.[MYSITE].com
If you have any additional questions please feel free to update this ticket.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?