projectkudu/kudu — Issue #52: Create in ApplicationController throws Exception
Author: cburgdorf
Created: 2012-02-28 12:32:59+00:00
State: open

This is the exception I get:

{System.Runtime.InteropServices.COMException (0x80040154): Die COM-Klassenfactory für die Komponente mit CLSID {2B72133B-3F5B-4602-8952-803546CE3344} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80040154 Klasse nicht registriert (Ausnahme von HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
bei System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
bei System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
bei System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
bei System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
bei System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache)
bei System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
bei System.Activator.CreateInstance[T]()
bei Microsoft.Web.Administration.ConfigurationManager.CreateAdminManager[TClass,TInterface](WebConfigurationMap webConfigMap, Boolean isAdminConfig)
bei Microsoft.Web.Administration.ConfigurationManager.CreateWritableAdminManager(WebConfigurationMap webConfigMap, String configPathToEdit, Boolean isAdminConfig)
bei Microsoft.Web.Administration.ConfigurationManager.CreateConfiguration(WebConfigurationMap configMap, String configPathToEdit, Boolean isAdminConfig)
bei Microsoft.Web.Administration.ConfigurationManager.GetConfiguration(String rawConfigurationPath, String cacheKey, Boolean isAdminConfig)
bei Microsoft.Web.Administration.ConfigurationManager.GetApplicationHostConfiguration()
bei Microsoft.Web.Administration.ServerManager.GetApplicationHostConfiguration()
bei Microsoft.Web.Administration.ServerManager.get_ApplicationPoolsSection()
bei Microsoft.Web.Administration.ServerManager.get_ApplicationPools()
bei Kudu.SiteManagement.SiteManager.DeleteSite(String applicationName) in C:\git\kudu\Kudu.SiteManagement\SiteManager.cs:Zeile 113.
bei Kudu.SiteManagement.SiteManager.CreateSite(String applicationName) in C:\git\kudu\Kudu.SiteManagement\SiteManager.cs:Zeile 71.
bei Kudu.Web.Controllers.ApplicationController.Create(ApplicationViewModel appViewModel) in C:\git\kudu\Kudu.Web\Controllers\ApplicationController.cs:Zeile 87.}

I'm running it locally from Visual Studio (as an administrator)

It would be also great to have some basic documentation on how to get started. In one of the first versions I was able to simply point to a git repository on the filesystem and things worked fine. However this option seems to be gone and creating an application didn't work for me so far since I'm running into this error.