Does anybody know how to install nopCommerce 2.50

Discussion in 'General troubleshooting' started by Carneno, May 21, 2012.

  1. Hello,

    I have nopCommerce 2.50 source, VS2010 Pro SP1, SQL Server express 2008 R2.

    I have built the whole solution in VS2010 and it runs fine from there.

    I followed the instructions from here to prepare the deployable solution before uploading to the Winhost website: http://www.nopcommerce.com/docs/79/installing-nopcommerce.aspx

    I have deleted all files from my website and uploaded the files twice using FTP.

    Every time i try the install, i get this error:

    "•Setup failed: System.Exception: An error occured when creating database: CREATE DATABASE permission denied in database 'master'. at Nop.Web.Controllers.InstallController.Index(InstallModel model) in c:\Users\Tony\VBProjects\LakesideCommerce\Presentation\Nop.Web\Controllers\InstallController.cs:line 387"

    I'm puzzled as to why it is making reference to a folder and files on my local development computer when it is being installed from the Winhost website.

    Any help that anybody can provide would be gratefully appreciated.

    Thanks,
    Tony
     
    Last edited by a moderator: Oct 14, 2015
  2. rum

    rum Winhost Staff

    Your application installer is trying to create a database on Winhost SQL Server. Creating databases is not allowed on our shared servers. You need to instruct your installer to install your application using the existing Winhost database.
     
    Last edited by a moderator: Oct 14, 2015

  3. Hello rum.

    Yes, I did that and it still gives an error:

    •Setup failed: System.InvalidOperationException: Sequence contains more than one element at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at System.Data.Objects.ELinq.ObjectQueryProvider.<GetElementFunction>b__3[TResult](IEnumerable`1 sequence) at System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot) at System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute(Expression expression) at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.Single[TSource](IQueryable`1 source) at Nop.Services.Installation.InstallationService.InstallSettings() in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Installation\InstallationService.cs:line 4543 at Nop.Services.Installation.InstallationService.InstallData(String defaultUserEmail, String defaultUserPassword, Boolean installSampleData) in f:\Own\NopCommerce\Sources\src\Libraries\Nop.Services\Installation\InstallationService.cs:line 9428 at Nop.Web.Controllers.InstallController.Index(InstallModel model) in f:\Own\NopCommerce\Sources\src\Presentation\Nop.Web\Controllers\InstallController.cs:line 429


    Thanks,
    Tony
     
  4. Hi

    I have exactly the same problem, and suspect it is because this package needs to run on Winhost Max not basic.

    I have logged a ticket with Winhost asking if this is the problem.

    I will let you know what they say.

    Or have you already resolved this?

    Regards
    Rob
     
    Last edited by a moderator: Oct 14, 2015
  5. The installation problem shouldn't be related to the plan type, but you are correct, if you want to run an application that uses as much memory as nopCommerce does, you will likely run into problems on a Winhost Basic account.
     
    Last edited: Oct 14, 2015

Share This Page