Kentico 7 installer doesn’t detect already installed IIS 8.5 in Windows Server 2012

There is an issue when trying to install Kentico 7 using the new installer (there is also a classic installer), where the wizard will not see that you have an IIS 8.5 server running and it will not list the existing websites.

This specific scenario will only happen when trying to install in a spanking new Windows Server 2012 (R2 or not).

You may find the following article in the Kentico knowledgebase Kentico 8 Installer doesn’t detect already installed IIS (8), but it would not solve you problem with the Kentico 7 installer. Beside, in my experience, the Kentico 8 installer was working flawlessly and not showing this issue. Unfortunately, due to business requirements we needed version 7.

The reason for this issue, is because this version of Windows, by default, have installed .NET 4.5 only. After you install .NET 3.5, you will see that the installer works like a charm.

You may also want to make sure you meet all the other required components. You can find them in this MSDN article recommended by Kentico’s support in their discussion forums. Just remember to add .NET 3.5 to the list.

Posted in Administration, Software | Tagged , , | Leave a comment

Successfully Install Web Deploy 3.5 in IIS 8 on Windows Server 2012

 

If you install Web Deploy using the Web Platform Installer (WPI) within IIS, some components wont be added by default and you wont be able to make it work.

You will need to open incoming TCP port 8172 in your firewall (if any).

Using the WPI, install all three:

clip_image001

Then open: Control Panel > Programs > Programs and Features

Find Microsoft Web Deploy 3.5 and select "Change".

In the following wizard chose "Change" again and install the IIS Deployment Handler.

clip_image002

The Deployment Handler wont be listed unless "Web Deploy 3.5 for Hosting Servers" is installed.

If the Deployment Handler is not installed the context menu in IIS wont appear.

clip_image003

You should now be able to grant publishing permission to a user.

Posted in Administration, Development, Software | Tagged , | 1 Comment

Import SSL certificates from IIS into Oracle Wallet Manager

 

When you need to install or renew an SSL certificate in your webserver, you first need to create a certificate request. You can generate this request inside IIS or Oracle Wallet Manager (OWM). But what happens with you already have a certificate’s public/private keys and you want to move it to OWM? You may think you will need a new certificate since it appears to be no built-in mechanism in OWM to import private keys.

PFX and pkcs12 are the same thing (for the purpose of this post, for technical details read this ).

Follow these simple steps to convert a PFX file into an Oracle Wallet.

  1. Export your certificate from the Windows’ Certificate Manager including your private key.
  2. Rename the PFX file to ewallet.p12
  3. Place that file in a folder of your choice.
  4. The name of the folder becomes the wallet’s name in Oracle Wallet.

Example:

image

That is it. Now you have a new wallet.

  1. Open Oracle Wallet Manager
  2. Open the previously created folder as a wallet.
  3. The wallet’s password is the one you entered when you first exported the cert as PFX.
    I hate dealing with Oracle. To me, it is always a painful experience. Hopefully this will reduce your pain.
Posted in Administration, Software | Tagged , , , , | 1 Comment

Very special specimen

At lunch, one of my colleagues made the quoted statement down below. As he was making the statement, my immediate thought was him pinned to a cork board, so I had to photo edit the image below to explain this to my colleagues at the office.

“I like to think of myself as a very special specimen.” – Alfonso

clip_image002

clip_image004

Posted in Random Thought | Tagged | Leave a comment

BatCat

I want to see you try this with puppies. No, it does not work. Kittens are clearly superior.

BatCat

Posted in Random Thought | Tagged , , | Leave a comment

Being a programmer is like a city car driver.

You have something in common with every single driver in the city: You think you are the only one who know how to drive. Everybody else thinks the same.

Programmers have the tendency to think the same way. We think that everybody else writes shitty code, but us. It does not matter what is the programming language or technology involved, we all look at someone else’s code and will start ranting.

Here is my favorite image of code quality. WTFs/m – By Thom Holwerda in OSNews.com

Two doors with a sign of 'Code review'. People inside are screaming WTF.

 

I first saw it while reading Coding Horror many years back.

This time it was refreshed today when a consultant and I were reverse engineering one of our in-house web applications that is about to be replaced.

It doesn’t get old.

Posted in Development, Random Thought, Software | Leave a comment

An engineer walks into a bar…

An engineer walks into a bar and orders 1.0E20 root beers.
Bartender: "That’s a root beer float."
Engineer: "Make it a double."

Posted in Random Thought | Leave a comment

SharePoint 2012 Search Top Level Error

We have a production SharePoint 2010 server with the out-of-the-box search feature enabled. After adding more web applications to our server and changing the port on some of the existing ones, the search stopped working. All searches would come back with ‘We did not find any results for…’

After some troubleshooting the one place you want to go look is Central Administration : Search Service Application: Crawl Log – Content Source for clues.

There I found the log summary with some Top Level Errors.

Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled. ( HttpStatusCode Unauthorized The request failed with HTTP status 401: Unauthorized. )

After making sure the service account had the proper permission, I was not sure what else to do, so I turned my eyes to Google and found many blog posts suggesting to disable the Loopback Check in the server by tweaking the registry. Changes to the registry are always risky, so I instead researched why the Loopback check was there to begin with, and I found this Knowledge base article by MS http://support.microsoft.com/kb/896861

We have a single SP server with multiple web applications; all in port 80 (except central administration).

When the Content Sources are pointing to http://machine-name you will not have this issue, but a source in the form of http://MysiteName will fail to be crawled if that site resides in the same server machine doing the search crawling.

Your possible solutions are these:

  • Disable the Loopback check (less-recommended method).
  • Specify host names in the registry (BackConnectionHostNames).
  • Change the port of your web application.
  • Extend you web application in SharePoint to a different port and use it for the crawling content source, and create the proper entries in the Server Name Mappings in your Search Administration settings.

Do not compromise the security of you server just to make the search feature to work.

Posted in Software | Tagged | Leave a comment

Deer-proof

As I was drinking my Nantucket orange juice, I noticed the inscription in the cap Beach Plum and Dwarf Alberta Spruce, native plant species of Nantucket, are considered to be “deer-proof”.

WTF? Deer-proof? WTF is that supposed to mean?

Someone shoots deer at you and you wear a flowers-made deer-proof vest?

WTF? And why would you shoot deer at people? That is just freaken EVIL!

So I searched the term in Google and that’s how i found this site (http://www.deerresistantplants.com/) and the meaning of the term.

They are deer and bunny haters!

How can anyone hate deer AND bunnies? OMG! The two cutest, softest, more loving, pure goodness of all animals.

Posted in Obfuscated | Leave a comment

MS Business Contact Manager for Outlook

BCM does not show any database

If you are planning on using a dedicated SQL Server for your BCM database you may find that BCM shows none of your databases. While the reasons for this can vary -from permissions to firewalls- be mindful that SQL Server default port is 1433.

The port is important not only in your firewall settings but also in the SQL Server configuration.

The BCM connection wizard will not find any shared databases in your SQL Server until you change the port of your server to 5356.

To change the server’s port open your Sql Server Configuration Manager then find the section SQL Server Network Configuration and identify the server instance you are using for your BCM database. Change the TCP/IP properties and set the port to 5356.

As a side note, you can chose anything for the instance name. It does not have to be MSSMLBIZ as some people suggests in some forums.

Posted in Software | Tagged , | Leave a comment