InstallationSingle Server Deployment

Single Server Deployment

Install WCF Service

If NAV 2009 is used and Sana Commerce connects to the NAV database via the NAV 2009 Webservice then this step should be skipped.
 
This step is only necessary when no other Sana Commerce projects are installed on the same machine, because this service component is shared between multiple Sana Commerce NAV services.
  • Copy the content of the 'Services' folder from the Sana Commerce solution folder to a local drive on the production server. We recommend placing it in a general 'components' directory, since it can be used by multiple Sana Commerce solutions;
  • Open a command prompt and navigate to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727';
On a 64-bit operating system, the 64-bit version of the .NET framework is installed in 'C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727'. If you install your Sana Commerce project on 64-bit server, you must navigate to this path.
  • Run the following command:
    regasm.exe targetdirectory\Sana.Commerce.Navision.Service.dll /tlb:Sana.Commerce.Navision.Service.tlb
    
Use the following command, if you need to undo this step or register a new version:
regasm.exe Sana.Commerce.Navision.Service.dll /unregister

You can also use the 'reregister.bat' file which is located in the 'Services' folder;
  • Drag 'Sana.Commerce.Navision.Service.dll' to the GAC (C:\WINDOWS\assembly) in your Windows Explorer;
  • Open the target (Service) folder, click right on the 'Sana.Commerce.Navision.Service.dll' file and select 'Properties';
  • Open the 'Security' tab and add 'Read rights' for the SC_Nasuser and the network service user;
  • Do the same for the 'Sana.Commerce.Navision.Service.tlb' file.

     
    Adding 'Read Rights' for the SC_Nasuser 
InstallationSingle Server Deployment