an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 11/25/2008 10:31:24 AM By lukezy. 7 replies.
11/21/2008 5:19:25 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
License Query
Hi
 
We are a development version of our web site on a different server than the live one.
 
On our live server we are using a temporary url for testing purposes.
 
The live url will be www.bt2.ie
 
 
When we update the website we transfer the web project from the dev server to the live one. The database and web.config is not transfered.
 
Can we install the license on our development server and on our live server?
 
is the database or web.config update as we dont transfer these across fromdev server to live server?
 
If we install on the live server do we need to have the project set up under the www.bt2.ie or can we install it when we are using the  http://bt2test.teamskill.com/ domain name?
 
Thanks
 
 
11/21/2008 11:50:56 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: License Query
First you have a nice design. We might use your site as the reference once it goes live.
 
You cannot install one license to both internet servers at the same time. We commend that you install the license to your test server while you are testing. Before you move it to the production, you could use submit ticket to ask us to have your license key reset. After that you can then move the license to the production server. If you need to run both server at the same time, please send email to me and we could talk further.
 
Yes, when you move from dev server to production server you need to change a few things. Basically you need to change DB connectionString, path information, encyption key etc. You cannot simply copy the encryption key file. You will need to back up the key and restore to the production server. However you don't need to touch database at all. You can simply back it up and restore it on the production server.
 
If both domain www.b2t.ie and bt2test.teamskill.com are located on the same physical machine, you can just install it once. Have two sites point to the same project location. When you are ready to switch from the test domain to the live domain, use submit ticket to ask us to have your license key reset and then install the license to the live domain. You are done.
 
 
 
 
DotShoppingCart Staff
11/24/2008 7:00:01 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: License Query
Hi Lukezy
 
Yes you are more than welcome to use the website as a reference when it goes live. We are only using the cms and product catalog sections for the first stage of the project. The checkout and order processing with not be implemented till after christmas.
 
We have run into problems with our hosting. We were using the web.config and globab.asax method of usign the orderpipeline. It works fine on our devlopment server but when we transfer to the live server  errors occur. W have no access to the live server. We send the web project to a our hsoting contact and he sets it up.
 
The errors that is occurring is
 <span lang="GA">EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 dotshoppingcart.commercial.orderpipeline, P5 1.0.0.0, P6 48cb149e, P7 2, P8 4c, P9 system.unauthorizedaccess, P10 NIL.

As we have no access to the server we are finding it impossible to resolved this problem.

Our next option is to get the project installed on the  live server which out hosting contact will do for us. Our only issue here is that we have a database already populated with our cms data and product catalog data.

Is it possible once the project is installed that we can update the newly created database with our current one from our dev server with all our data and also copy over the images and files folder?

is there anything else we should need to take into consideration when copying over the db and folders?

Also the directory on the live server that we install to will be initially have the domain name  http://bt2test.teamskill.com/ pointed to it but when we go live the header records in IIS wil be amended so the domain www.bt2.ie will point to the same directory. In this case we wont have to worry about the encrytion key?

Thanks

 

 

</span>
11/24/2008 9:04:12 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: License Query
Hi Lukezy
 
We are gettng the following errro on the server that keeps shutting down the web site. Ias this related to the install path in the web.config.
 <add name="InstallPath" value="C:\Inetpub\wwwroot\DotShoppingCartSuiteV2.53\DotShoppingCartSuiteV2.53\web"/>
This is the error we are getting on the live server. I have been just told that this is the incorrect path . If the proper path is corrected then would the error below be fixed?
 
Thanks
 
An unhandled exception occurred and the process was terminated.
 
Application ID: /LM/W3SVC/279123778/Root
 
Process ID: 83264
 
Exception: System.UnauthorizedAccessException
 
Message: Access to the path 'C:\Inetpub\wwwroot\DotShoppingCartSuiteV2.53\DotShoppingCartSuiteV2.53\web\App_Data\App_Data\Templates\dsc' is denied.
 
StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
   at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
   at DotShoppingCart.Commercial.Core.DbFileBase.GetFile(String host, Object key)
   at DotShoppingCart.Commercial.Core.EmailManager.LoadEmailTemplate(String host, String templateName, String& subject, String& content)
   at DotShoppingCart.Commercial.OrderPipeline.EmailCampaignTaskProvider.RunTask(String host, IConfigurationSource cfgSrc)
   at DotShoppingCart.Commercial.OrderPipeline.TaskProvider.Proccess(String host, IConfigurationSource cfgSrc)
   at DotShoppingCart.Commercial.OrderPipeline.ProcessorProvider.Run()
   at DotShoppingCart.Commercial.OrderPipeline.RunnableProvider.StartRun()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
 
 
11/24/2008 5:10:35 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: License Query
When you set up the project on the production server, did you use InstDSC.exe? It should create the correct InstallPath and a few other things. If you wish to install it manually, you can look at the source code of InstDSC.exe and manually do what it does.
 
To move from your dev server to production server, you need to the following things.
1) Upload the original DotShoppingCart Suite project and run InstDSC.exe on the production server
2) Upload your changes that you are done on your dev machine such as image files and code changes
3) Backup database from your dev machine, copy the database to the production server and restore the database to the production server
4) Enable service blocker on the production database by running the following SQL script
 
alter database dotshoppingcart SET ENABLE_BROKER
 
Next time if you want to move the further changes up to production server, just repeat step 2 to 4.
DotShoppingCart Staff
11/25/2008 4:10:02 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: License Query
Thanks Lukezy
11/25/2008 10:04:43 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: License Query
Hi Lukezy
 
Who would you recommend for cheap dedicated hosting that would suit doshoppingcart?
 
 
11/25/2008 10:31:24 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: License Query
I would highly recommend Godaddy vitual dedicated server which starts from $30+ when you pay one year up front. With vitual dedicated server you have total control over your server.
DotShoppingCart Staff