Swashbuckle 5 can’t find my ApiControllers

I got stuck.. and these answers didn’t help me fully… although they led me there. Just to save other people some time: You have to pass the http config from OWIN and then register on that instead of using the GlobalConfiguration class like so: //starup.cs public void Configuration(IAppBuilder app) { Config = new HttpConfiguration(); WebApiConfig.Register(Config); … Read more

How can you change an IIS Site’s App Pool with the Powershell Web Admin Commandlets

ApplicationPool is a property on the web site in the IIS: drive. Set it like so: #site level Set-ItemProperty ‘IIS:\Sites\Default Web Site’ applicationPool ProjectAppPool #app level Set-ItemProperty ‘IIS:\Sites\Default Web Site\AppName’ applicationPool ProjectAppPool If you have the PowerShell Community Extensions installed, you can use the Show-Tree command to explore these drives e.g.: Show-Tree IIS:\Sites -ShowProperty -Depth … Read more

IIS Server error because of the current total memory

Solution is written in your post. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element. The easiest way just add this into your web.config <system.serviceModel> <serviceHostingEnvironment minFreeMemoryPercentageToActivateService=”0″ /> </system.serviceModel> Read more about serviceHostingEnvironment here. Anyway how @Mr Grok correctly pointed it is an … Read more

“Retrieving the COM class factory for component…. error: 80070005 Access is denied.” (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Make sure that you have Office runtime installed on the server. If you are using Windows Server 2008 then using office interops is a lenghty configuration and here are the steps. Better is to move to Open XML or you can configure as below Install MS Office Pro Latest (I used 2010 Pro) Create User … Read more