Uploading/Installing nopCommerce 2.5 on GoDaddy hosting

There are many freely available e-Commerce solutions out there. A particular one that took my interest is nopCommerce. Coded in ASP.NET 4.0 (MVC 3.0) with a MS SQL Server backend for storing content.

It features almost everything one can think of with mobile device support, , export/import (XML, Excel) of products, PDF order receipts, Paypal, Google Checkout integration and even a shipping calculator for Australia Post.

I went ahead and got some hosting at GoDaddy to have a play with and upon googling an install process I found many people were having problems. Here is what I done to get it running:

1. Got a Microsoft hosting plan with ASP.NET 4.0 MVC and MS SQL Server from GoDaddy

2. Change your hosting to point to the new DNS servers given by the GoDaddy hosting

3. In GoDaddy goto ‘My Account’ -> ‘Hosting’ -> ‘Launch’ to access the “Hosting Control Center”

4. Goto your Account Dashboard and expand ‘Content’, Choose ‘IIS Managment’. Ensure ASP.NET runtime 4.0 is selected.

5. Under the ‘Database’ heading next to ‘MsSQL’ click on ‘Set up’. Create a new MS SQL Server 2005 or 2008 database. I chose 2008.

6. Enter a database name and password. No need to check the ‘ASP Schema’ and ‘DNS’ boxes. Create a database and you will see “Pending Setup”. Then next to the database click on the pencil (Edit/View) icon to view the details. Make a note of the “hosting name”. Also remember that the database in all lower caps will be your username.

7. Downloaded nopCommerce and extract contents to a folder, open the Solution file and make changes or modifications you may want to the layout, etc. Build with Visual Studio 2010. Then in root of the folder double click Prepare.bat, then run Deploy.bat. This creates an uploadable version of nopCommerce.

8. Select all the files in  source\Deployable\Nop_2.5 directory and compress them to a zip file. Using a FTP application or the GoDaddy FTP Explorer at ‘Account Manager’ -> ‘Web Hosting’ -> ‘Launch’ upload the zip file to the ‘html’ directory.

9. Open the GoDaddy FTP Explorer and check the zip file, then choose “Unarchive”. Select the root directory so the destination is “/”

10. Then click/highlight every folder/file in the directory and give “Read” and “Write” permissions to all of them.

11. Then goto [YOURSITE.COM]/Views/Install/Index.cshtml

12. Enter a email address and password combination to log into the admin panel with.

13. Enter the ‘hosting name’ from step 6 as the ‘hostname’ for the SQL Server. Again from step 6 enter the database in all lower caps as the username and enter the password you had chosen.

14. Disable ‘Create Sample Data’ if not required. Click Install and your done! Now goto your site and you can login with the details from step 12 to access the Administration panel.

Shopify Shopping Cart Software – Start your FREE trial today!

free ecommerce website

2 Comments

Leave a comment
  • After trying this I have got this error, Please help me
    THANKS in ADVANCE

    nopCommerce installation
    To complete this wizard you must know some information regarding your database server (“connection string”). Please contact your ISP if necessary. If you’re installing on a local machine or server you might need information from your System Admin.
    Setup failed: System.ApplicationException: No database instance at Nop.Data.Initializers.CreateTablesIfNotExist`1.InitializeDatabase(TContext context) in c:\Users\WebDeveloper\Documents\Visual Studio 2010\nopCommerce_2.50_Source\Libraries\Nop.Data\Initializers\CreateTablesIfNotExist.cs:line 70 at System.Data.Entity.Database.c__DisplayClass2`1.b__0(DbContext c) at System.Data.Entity.Internal.InternalContext.c__DisplayClass8.b__6() at System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action) at System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization() at System.Data.Entity.Internal.LazyInternalContext.b__4(InternalContext c) at System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input) at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action) at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase() at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() at System.Data.Entity.Internal.Linq.InternalSet`1.ActOnSet(Action action, EntityState newState, Object entity, String methodName) at System.Data.Entity.Internal.Linq.InternalSet`1.Add(Object entity) at System.Data.Entity.DbSet`1.Add(TEntity entity) at Nop.Data.EfRepository`1.Insert(T entity) in c:\Users\WebDeveloper\Documents\Visual Studio 2010\nopCommerce_2.50_Source\Libraries\Nop.Data\EfRepository.cs:line 36 at Nop.Services.Installation.InstallationService.b__f(MeasureDimension x) in c:\Users\WebDeveloper\Documents\Visual Studio 2010\nopCommerce_2.50_Source\Libraries\Nop.Services\Installation\InstallationService.cs:line 375 at System.Collections.Generic.List`1.ForEach(Action`1 action) at Nop.Services.Installation.InstallationService.InstallMeasures() in c:\Users\WebDeveloper\Documents\Visual Studio 2010\nopCommerce_2.50_Source\Libraries\Nop.Services\Installation\InstallationService.cs:line 375 at Nop.Services.Installation.InstallationService.InstallData(String defaultUserEmail, String defaultUserPassword, Boolean installSampleData) in c:\Users\WebDeveloper\Documents\Visual Studio 2010\nopCommerce_2.50_Source\Libraries\Nop.Services\Installation\InstallationService.cs:line 9418 at Nop.Web.Controllers.InstallController.Index(InstallModel model) in c:\Users\WebDeveloper\Documents\Visual Studio 2010\nopCommerce_2.50_Source\Presentation\Nop.Web\Controllers\InstallController.cs:line 429

  • Hi Jason,

    Looks like the name of the database that your linking to is wrong.

    If your hosting is on GoDaddy, then the required database name can be retrieved by going to your “Hosting Control Panel” – > “Databases” -> “SQL Server” . Then click on the Pen next to the database your using for nopCommerce. The database name you want to use when installing nopCommerce is the “Host Name” displayed on this page.

    If your using different hosting, you need to find the full address of the database name.

    Hope that Helps.

Leave a Reply

Your email address will not be published. Required fields are marked *