Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > Windows Azure deployment slow View modes: 
User avatar
Member
Member
bukanbaka2-hotmail - 4/9/2012 9:33:19 PM
   
Windows Azure deployment slow
Hi,
I'm trying to compile, publish the basic Kentico CMS with Windows Azure features but encountered some problem.

Here's what I did:
1. Run Kentico 6 WebInstaller.exe
2. At step1, I chose .NET 4.0 and Windows Azure Project
3. Next, next and then chose Full Installation onto c:\Inetpub\wwwroot\KenticoCMS_Azure\
4. Once done, I open the CMSAzure.sln file
5. Removed SmartSearchWorker role from the project solution.
6. Right click on Windows Azure Project and select Package
7. Then I just package it.
8. It took a long time, like close to 30 minutes and then it hit an error.

In Event Viewer log, I found this error below
--------------------------------------------------------------
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: devenv.exe
P2: 10.0.40219.1
P3: 4d5f2a73
P4: mscorlib
P5: 4.0.0.0
P6: 4ec9fd4c
P7: 41de
P8: 57
P9: ONVT03M1RZ20JLPUEBOPCNHAKX0UJFRN
P10:
-----------------------------------------------------------------

Any idea what's wrong? I tried 3 times and still encountered the same problem.

My IDE is Visual Studio 2010 SP1; has Windows Azure SDK 1.6; and with a 3GB RAM and Intel core i5 processor.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/11/2012 6:47:39 AM
   
RE:Windows Azure deployment slow
Hi,

Could you please provide us with more info:
- Have you tried running the project on Azure emulator? what was the result?
- Have you tried deploying the package using Visual studio and uploading it manually?
- Have you tried using different machine? Was this operation successful?

From the description you gave us everything seems to be correct.

Thank you.

Best regards,
Juraj Ondrus

User avatar
Member
Member
bukanbaka2-hotmail - 4/11/2012 10:09:51 PM
   
RE:Windows Azure deployment slow
Hi Jurajo,

Below are my replies to your questions.

- Have you tried running the project on Azure emulator? what was the result?
Tried running the project on Azure emulator; the result I got was I it prompt for setting up the Database, however, I did not proceed on to configure the set up of the database.

- Have you tried deploying the package using Visual studio and uploading it manually?
I had tried the below methods on VS 2010:
No.1. Right clicked on CMSAzure and select Package --> hit the error that I mentioned.

No.2. Right clicked on CMSAzure and select Publish, entered my Windows Azure subscription and hosted service details --> hit the error that I mentioned.


- Have you tried using different machine? Was this operation successful?
Yes, I've tried with my colleagues' laptop as well. Same brand, built, hardware specs, same Visual Studio version, EXCEPT that he is using Windows Azure SDK 1.4.
Got him to follow the exact steps I did; however, his VS crashed and and restarted (a window dialog pop up saying it is restarting Visual Studio..)

User avatar
Member
Member
bukanbaka2-hotmail - 4/11/2012 11:53:34 PM
   
RE:Windows Azure deployment slow
Hi,

Somehow, I got one time successful packaging the Kentico CMS into Windows Azure package.

What I did this time was under the settings for CMSApp role, I added the values for local emulator which I referred to the Kentico CMS 7.0 Windows Azure Deployment Guide. Values as below

CMSUrlPort : 81
CMSAzureAccountName : CMSAzureAccountName
CMSAzureSharedKey : Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
CMSAzureQueueEndPoint : http://127.0.0.1:10001/devstoreaccount1
CMSAzureTableEndPoint : http://127.0.0.1:10002/devstoreaccount1
CMSAzureBlobEndPoint : http://127.0.0.1:10000/devstoreaccount1

Run the local emulator and displayed the setting up database prompt, did not proceed on.
Then, I just package it and it worked.

The difference I seen here is from the previous unsuccessful attempts, I did not add any value for CMSAzureQueueEndPoint, CMSAzureTableEndPoint, CMSAzureBlobEndPoint.

Could this be the issue? Is it mandatory to add values for these 3 fields?

User avatar
Member
Member
bukanbaka2-hotmail - 4/12/2012 4:39:53 AM
   
RE:Windows Azure deployment slow
Hi again,

I tried to reproduce the above again, followed the exact same steps that I took (except I give another folder name inside the inetpub\wwwroot\ via the WebInstaller.exe) which produce the successful packaging, however, I am unable to; and ended up with the same error.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/12/2012 6:41:29 AM
   
RE:Windows Azure deployment slow
Hi,

If you are able to run it in the emulator - everything should be configured correctly. The end point parameters are not mandatory for live environment - they are being set automatically and also, this should not have any affect whether it is built ok or not. Right now, we have only these two ideas:

- the path is too long, could you please try to move the azure prioject to the root of the disk?
- available memory is not enough - 3GB. Building the package is consuming many resources.

Best regards,
Juraj Ondrus

User avatar
Member
Member
bukanbaka2-hotmail - 4/12/2012 9:08:58 PM
   
RE:Windows Azure deployment slow
kentico_jurajo wrote: Hi,

If you are able to run it in the emulator - everything should be configured correctly. The end point parameters are not mandatory for live environment - they are being set automatically and also, this should not have any affect whether it is built ok or not. Right now, we have only these two ideas:

- the path is too long, could you please try to move the azure prioject to the root of the disk?
- available memory is not enough - 3GB. Building the package is consuming many resources.

Best regards,
Juraj Ondrus

Hi Juraj,
This time, I tried moving the azure project solution to the root of disk, e.g.
C:\ab\wakcms

Reproduce the same steps i did, yet it failed to build the azure package with the same error.
The successful attempt, the folder is slightly longer than this one that I placed at root.

The development machine that I'm using has 4GB ram but only 3GB is available due to the OS is Windows 7 Professional SP1 32-bit.

It is not possible at the moment to obtain or search for one development machine that has higher memory capacity than mine.

Also, I've tried ending a lot of the unused/unknown or not required programs and processes via task manager, still it did not help at all with another attempt (root of disk attempt).

Any other suggestions or possible cause?

Thanks.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/16/2012 6:00:33 AM
   
RE:Windows Azure deployment slow
Hi,

The only ideas we have right now are that you need to have better machine or, you can try reinstalling Visual Studio and Azure SDK - if it will still not build, than most probably the problem is in the machine resources. And last idea is to use CSPack command line tool to create the package.

Best regards,
Juraj Ondrus