Installation and deployment
Version 7.x > Installation and deployment > Azure - Installation external services fails View modes: 
User avatar
Member
Member
Punt - 11/21/2013 9:09:57 AM
   
Azure - Installation external services fails
I followed the steps in the following document:
http://devnet.kentico.com/docs/7_0/azureguide/index.html?configuring_external_services.htm

The log tells me this:
An exception occurred while trying to find the installers in the E:\approot\SchedulerService.exe assembly.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Aborting installation for E:\approot\SchedulerService.exe.

We deploy to a Windows Server 2012 instance on Azure.
osFamily="3" osVersion="*" schemaVersion="2013-03.2.0"

I can't figure out what is breaking the installation of the service.

User avatar
Kentico Support
Kentico Support
kentico_filipl - 11/24/2013 11:00:34 PM
   
RE:Azure - Installation external services fails
Hello,

Have you checked whether SchedulerService.exe file is in the mentioned folder after connecting to the worker role through remote desktop?

Also, are there any errors in Event viewer -> Applications and Services Logs -> Windows Azure which could be related to this issue?

Thank you.

Best regards,
Filip Ligac

User avatar
Member
Member
Punt - 11/29/2013 4:51:10 AM
   
RE:Azure - Installation external services fails
Hello Filip,

No errors in the event viewer and SchedulerService.exe is there.
I tried to execute the installutil command from the command prompt on the worker role instance (remote desktop). I added the /ShowCallStack property. It comes with the following error:

Affected parameters are:
logfile = E:\approot\SchedulerService.InstallLog
webpath = E:\approot
username = RD00155D588E3F\ServiceAdmin
unattended =
logtoconsole =
assemblypath = E:\approot\SchedulerService.exe
password = ********
An exception occurred while trying to find the installers in the E:\approot\Sche
dulerService.exe assembly.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the
requested types. Retrieve the LoaderExceptions property for more information.
Aborting installation for E:\approot\SchedulerService.exe.

An exception occurred during the Install phase.
System.InvalidOperationException: Unable to get installer types in the E:\approo
t\SchedulerService.exe assembly.
at System.Configuration.Install.AssemblyInstaller.InitializeFromAssembly()
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary savedSt
ate)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.TransactedInstaller.Install(IDictionary saved
State)
The inner exception System.Reflection.ReflectionTypeLoadException was thrown wit
h the following error message: Unable to load one or more of the requested types
. Retrieve the LoaderExceptions property for more information..
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Configuration.Install.AssemblyInstaller.GetInstallerTypes(Assembly
assem)
at System.Configuration.Install.AssemblyInstaller.InitializeFromAssembly()

Regards,
Edgar

User avatar
Member
Member
Punt - 12/5/2013 3:35:21 AM
   
RE:Azure - Installation external services fails
Problem solved. After upgrading to the latest hotfix, I also had to update the SchedulerService.exe and HealthMonitoringService.exe.

These files aren't included in de hotfix DLL folder for Azure.

User avatar
Member
Member
Punt - 12/6/2013 2:21:30 AM
   
RE:Azure - Installation external services fails
The service is running on the SmartSearchWorker instance. But in scheduled tasks I see this warning for tasks that use the external service option:

The scheduled tasks that are configured to use an external service now show the warning:
This task is configured to be processed by Kentico CMS Scheduler external Windows service. It has not been executed for a long time period. Therefore, please make sure that the external service is running.

User avatar
Member
Member
Punt - 12/9/2013 1:29:00 AM
   
RE:Azure - Installation external services fails
Service is running. Problem was a wrong connectionstring in the web.config that is copied to the output directory.