| |
|
|
|
|
|
|
|
|
|
 |    |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
| GUIDE: "How to install Store module 02.01.00 WITH sources" |
|
|
Hi,
Given that several questions concerning the sources of the module return regularly, I will detail you how to install your development platform correctly. Follow step by step this procedure and you will have an installation ready to use with the debug mode! I advise you to use a separate instance of DNN and a database reserved for the development. For my part, I have three instances and three databases. I’m using one for the development (DNN 4.4.1 with sources), and two other to make my tests of installation and operation. One DNN 4.4.1 instance without sources and one instance with the last DNN version available. That allows to be sure not to have forgotten anything, particularly in the .dnn file and the .sqlprovider files! This said, you make as you want.
I have made the choice use DNN 4.4.1 WITH SOURCES; you will have to make some as much at least for your first installation. Moreover, given that I converted the solution to the WAP model you must IMPERATIVELY use VS2005 Pro (not Web Express) and have applied the SP1. OK let’s go!
1. Install a clean DNN instance for development purpose only
- Install DNN (DotNetNuke_4.4.1_Source.zip) inside the folder C:\DotNetNuke_2. Name your virtual folder DotNetNuke_2 in IIS. In other words, the names which indicates official documentation! See DotNetNuke Installation Guide.pdf for details.
- Check the correct operation of DNN.
If you DO NOT use C:\DotNetNuke_2 as installation folder and DotNetNuke_2 as virtual folder name, then you have to edit the solution file BEFORE open it in VS!
2. Install the Store module with sources
- Download the two files Store_02.01.00_Source.zip and Store_02.01.00_SkinObjects_Install.zip.
- Install both files like any other DNN module (Host > Module Definitions > Install New Module).
Currently, the skin objects file (Store_02.01.00_SkinObjects_Install.zip) is not available for download. This because the release tracker was not designed to treat skin objects, they are thus proposed separately. I asked Will (Team Leader) to place it in the download section of the Store project page. However, if you quickly need this file, send to me an email (look at my profile).
3. Prepare your Store
NOTE: DO NOT PLACE ALL MODULES ON ONE PAGE! This cannot work, one more times: please follow my advices, you will then save a lot of times!
- Create a new tab and name it Store, define access to everybody.
- Create a new tab and name it My Account, define access to everybody.
- Create a new tab and name it Store Admin. Restrict access to Admin Group only.
- Place the module Store Admin inside ContentPane.
- Define your own store settings (Store Name, Description, ...).
- For the Store Page setting, select Store (the tab created at step 3.1).
- For the Shopping Cart Page setting, select My Account (the tab created at step 3.2).
- At the begining, it's a good idea to use the the EmailProvider as Gateway, but it's not a requirement.
- Note that the two other providers (PayPal and Authorize) require additional parameters and a valid account on their respective web site.
- Click on Update.
- Expand Tax Administration, check Enable Tax, define a Tax Rate and click on Update Tax Settings if you use tax prices for your store.
- Expand Shipping Administration
- IT'S A REQUIREMENT TO DEFINE AT LEAST ONE SHIPPING COST! Then, define this minimun shipping cost:
- Description = S1
- Min. Weight = 0
- Max Weight = 99999
- Cost = 0
- Click on Add
- Go to the My Account tab. Place the module Store Account inside ContentPane.
- Go to the Store tab.
- Place the module Store Menu inside LeftPane.
- Place the module Store Catalog inside ContentPane.
- Place the module Store Mini Cart inside ContentPane.
Now you have an instance of DNN with the Store module installed (with minimum settings defined) in operating condition.
4. Open the solution
- Open Windows Explorer
- Go to the folder: C:\DotNetNuke_2\Website\DesktopModules\Store
- Double click on the solution file: DotNetNuke.Store.sln
If you followed all my instructions, the solution must open without error and you must be able to compile it!
Some complementary details about the solution:
- Each project contains post compilation macros being used to copy certains files into special folders. The folder ...\DesktopModules\Store\Store_02.00.00_Install is used to receive the files necessary to the creation of the principal PA (Store_02.xx.yy_Install.zip). After having modified the code and having tested your modifications, change to release mode via the configuration manager. Rebuild the solution. Make a zip with contents of this folder for produce your new PA. The folder ...\DesktopModules\Store\Store_02.00.00_SkinObjects has the same goal for the skin objects PA (Store_02.xx.yy_SkinObjects_Install.zip).
- The project pointing on your instance of DNN (http://localhost/DotNetNuke_2) is used for two things. First of all, it has references towards the 21 other projects of the solution. In fact, when a project is modified and compiled, the DLL and debugging files are automatically copied in the bin folder of the instance. On the other hand, this project is never generated. It is normal! If you have modifications to carry out in the code of DNN, rather use the solution provided with the DNN sources. In the second place, it is used as starting project.
Good coding!
Gilles |
|
|
|
 |  |
|
|
| Re: GUIDE: "How to install Store module 02.01.00 WITH sources" |
|
|
Hello Gilles,
I cannot see your email address in your profile.
Would you let me know where I can download Store_02.01.00_SkinObjects_Install.zip file?
Thank you,
Jong-Hyun |
|
|
|
 |  |
|
|
| Re: GUIDE: "How to install Store module 02.01.00 WITH sources" |
|
|
Hi Jong-Hyun,
I do not understand because the setting "Display Email Address" is checked in my profile! Previously my email was displayed, may be it's a problem why the new forum module? Any way, send me an email to this address glepigocher AT yahoo.fr, I will send you the file.
Gilles |
|
|
|
 |  |
|
|
| Re: GUIDE: "How to install Store module 02.01.00 WITH sources" |
|
|
|
|
 |  |
|
|
| Re: GUIDE: "How to install Store module 02.01.00 WITH sources" |
|
|
OK I followed your instructions there and after adding a product, I get this:
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Store.Components.StoreControlBase.OnLoad
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.Exception: Object reference not set to an instance of an object.at DotNetNuke.Modules.Store.Components.StoreControlBase.OnLoad(EventArgs e)at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Any help? |
|
|
|
|  |
 | |  |
 | |  |
 | |  |
|  |
| |
 |
|
These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.
For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.
|
| |
 |
|
|
|
|
OnyakTech Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more. www.OnyakTech.com
|
IHostASP.NET Provides the Ideal DNN Hosting We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet. www.ihostasp.net
|
$7.16/mo - Powerful DotNetNuke / DNN Hosting Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support. www.re-invent.com
|
|
|
|