KENTICO 8 - Missing value or key 'CMSApplicationGuid' in web.config file

Leandro Filipczyk asked on June 9, 2014 16:30

Hello, currently I am trying to usie KIM to update a migrated site (We migrated it from kentico 5.5 and some ecommerce features didnt got installed properly). Because of this, I want to modify the installation, in order to add the ecommerce features. When I open up the instance of the site from KIM, the Kentico installer pops, I select modify, and a list of my installed kentico instances appear. I select the one I want to update, and I get a "Missing value or key 'CMSApplicationGuid' in web.config file" popup. That key and the CMSApplicationName are both present in web.config.

Why could this be happening?

Thanks!

Correct Answer

Leandro Filipczyk answered on June 11, 2014 11:52

I'll answer myself on this one. I fixed the issue by renaming the folder were my Kentico installation was to "CMS".

Thanks!

0 votesVote for this answer Unmark Correct answer

Recent Answers


Martin Danko answered on June 10, 2014 05:39 (last edited on June 10, 2014 05:40)

Hi Leandro,

So your website is working without any problem under version 7?

How exactly does look your < appSettings > section in the web.config file?

You can eventually try to install a clean installation of Kentico 8 and then use the export/import functionality.

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

Leandro Filipczyk answered on June 10, 2014 07:26

Hello Martin, thanks for your response. Since we were not using ecommerce features on our previous site, I really dont know if the migration to 7 actually had all the ecommerce webparts/templates/doctypes, but the site was functional on its version 7.

This is what my appsettings looks like:

<!-- KENTICO RELATED CONFIGURATION START -->
    <add key="CMSProgrammingLanguage" value="C#"/>
    <add key="CMSTrialKey" value="CU05-20110105-xxxxxx"/>
    <!-- <add key="CMSTrialKey" value="CX08-20140605-xxxxxx" /> -->
    <add key="ChartImageHandler" value="storage=session;timeout=20;" />
    <add key="CMSApplicationGuid" value="9e5b8955-246d-4b0b-a5f7-ae90b4c3e86d" />
    <add key="CMSApplicationName" value="Default Web Site/7.0.4640.25309_FINAL_NET40_PROJ" />
    <add key="WS.webservice" value="http://localhost/WebService/webservice.asmx"/>

    <add key="CMSWYSIWYGFixXHTML" value="false" />
    <add key="CMSWYSIWYGFixXHTMLResolve" value="false" />
    <add key="CMSLogOutputToFile" value="false" />
    <add key="CMSDebugOutput" value="true" />    

    <!-- Kentico 8 added config start -->
    <add key="PageInspector:ServerCodeMappingSupport" value="Disabled" />
    <add key="CMSHashStringSalt" value="6c032508-8921-4d32-bf43-7fbed97324d6" />
    <add key="CMSDisplayApplicationErrorMessages" value="true"/>
  <add key="CMSDebugMacros" value="true"/>
    <!-- Kentico 8 added config end -->

    <!-- KENTICO RELATED CONFIGURATION END -->

I have a side fresh kentico 8 installation, and I actually thought about the import feature, but I was not sure if that would import EVERYTHING ( webparts, doctypes, templates, transformations, and store configuration). Do you think that is the case?

Thanks again!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.