nopCommerce installation

Discussion in 'Site Programming, Development and Design' started by jwalker, Jan 22, 2011.

  1. forgive me if this is covered elsewhere but there appears to be no way to search the forum!

    i am new to Winhost. i picked it because of an ad boasting that it was a good host for nopCommerce.

    my last site i picked for the same reason (PremiumReseller.com) but thier support is TERRIBLE. so i figured i'd try another host.

    i signed up and have my account activated. but i see nothing....no links....no documentation or anything regarding the process for getting nopCommerce up and running.
    my previous host simply had a button "Install nopCommerce" so it was simple.

    can anyone point me to any documentation for this?
     
    Last edited by a moderator: Oct 14, 2015
  2. Ray

    Ray

    Unfortunately we do not have a one click process to install nopcommerce on our web server. They have a web matrix deployment process which is almost a one step process but I haven't tested it yet so I will not be giving that instructions. Rather you will need to use FTP to upload it to our server and run through the installation process on the server to get it fully installed for your account.

    Berfore you try installing nopcommerce on your Winhost account; first make sure you have setup your Winhost SQL 2008 Database.

    http://support.Winhost.com/KB/a499/getting-started-with-your-sql-2008-database.aspx

    Make sure you write down your Winhost SQL database information, such as the SQL server name, the db login and password, and your db name. You will need this for the installation process.

    After you have done that try running these steps.

    1. Download nopcommerce web application to your personal computer.

    http://nopcommerce.codeplex.com/releases/view/51059#DownloadId=176949

    2. Unzip it on your computer. Once it is unzipped, upload the unzip files to our server using FTP. Try looking at this link for some guidelines on how to setu some FTP clients to connect to Winhost web servers.

    http://support.Winhost.com/KB/c178/ftp-client-setup.aspx

    3. Before you start the installation process it is best you log into your site using FTP and alter a couple of your configuration files. You will need to find the file connectionstrings.config and open it in text editor. Type these lines.

    <connectionStrings>
    <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" />
    </connectionStrings>

    This will help fix this nasty error you will see when you first call up your site.
    http://support.Winhost.com/KB/a813/parser-error-message-connection-name-localsqlserver.aspx

    Second, you will need to increase the trust level on your application. This is done from inside the applications web.config file and adding the trustlevel element and setting it to Full. Try reading this kb article.

    http://support.Winhost.com/KB/a657/changing-the-default-aspnet-trust-level.aspx

    4. Now open your browser and call on your domain name and specify the folder and file "Install/install.aspx". An example will be www.mydomain.com/install/install.aspx. Keep in mind that mydomain.com is an example and it is something you will need to replace with your actual domain naem. And I am assuming that your domain name is already pointing to our server.

    5. Follow the instructions and input the Winhost SQL server name along with y our db login and password. It will ask if you want integrated Windows authentication. Make sure you do not choose that option. Press Next.

    6. On the next screen choose "Existing Empty Database" and it does not matter if you choose to check if it exist or input example data inside the database during the script process. What is important is that you choose "Choose Existing Database" and type your Winhost database name. Do not choose Create Database because that will fail. Press next.

    7. The nopcommerce SQL script will run against your Winhost SQL database creating all the required schema and objects on the Winhost SQL server.

    8. Once that is done you will go into a page that will ask for an email address and the password. Make sure you write them down because you will use that to log into your nopcommerce administrative site.

    That should be all. And bear in mind that I also tested it by uploading it to the root folder and not some sub folder. If you want to upload it in a subfolder, you will need to first create that folder through FTP then set it as an application folder.

    http://support.Winhost.com/KB/a635/what-is-the-application-starting-point-tool.aspx
     
    Last edited by a moderator: Oct 14, 2015

Share This Page