Bug reports Found a bug? Post it here please.
Version 7.x > Bug reports > CMS.WebAnalytics.GeoIPHelper View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 5/1/2013 7:31:49 AM
   
CMS.WebAnalytics.GeoIPHelper
Just updated to the latest hotfix 32 and when I build the site, I receive an error stating
'CMS.WebAnalytics.GeoIPHelper' does not contain a definition for 'GetCurrentGeoLocation'
When I check the code via Intellisense, it appears there is a misspelling in the method name (the word Current vs Currect) :
CMS.WebAnalytics.GeoIPHelper.GetCurrectGeoLocation

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 5/1/2013 12:25:10 PM
   
RE:CMS.WebAnalytics.GeoIPHelper
Ok after messing around all morning, I found this not to be a bug BUT rather the KIM didn't copy any of the .dlls into my project so I had to manually do it. Once I copied all the .dll's, the project built without issue.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/13/2013 2:19:34 AM
   
RE:CMS.WebAnalytics.GeoIPHelper
Hi,

We were able to find the cause - it is in the web.config file. It seems it was modified and some elements that are used to detect the .Net version were moved to another level or surrounded with another elements and the HF tool does not see them - so the version is not detected and no DLLs copied. This will be changed and in such a case, there will be a message displayed explaining what to do.

Best regards,
Juraj Ondrus

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 5/13/2013 7:27:13 AM
   
RE:CMS.WebAnalytics.GeoIPHelper
Juraj

I think I saw that in the KSM tool with my installation. In order to filter out a few items from our child application I had to wrap a <location> tag around 2 nodes in the web.config and it would error out when I attempted to install the Scheduler Service. This actually displayed a message "InheritInChildApplications cannot be set to 'false' if the location path is referring to machine.config or the root web.config. <path to web.config>."

Will this fix also apply to the KSM tool as well as the KIM tool?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/16/2013 2:39:53 AM
   
RE:CMS.WebAnalytics.GeoIPHelper
Hi,

Well, this is exactly the situation I was talking about :-)
It will be covered in the hotfix.

Best regards,
Juraj Ondrus

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 6/19/2013 6:27:51 AM
   
RE:CMS.WebAnalytics.GeoIPHelper
Juraj,

I believe this problem is still there. I updated to HF32 on May 1, HF34 May 8, HF35 May 10 and HF36 May 20. This morning I updated to HF40 in an attempt to resolve some web farm issues and still none of my DLL's were copied. I'll mention when I update using the KIM, I always update in "advanced" mode and update the installer files but I do not overwrite all files.

I will say when I went into the KIM and modified my project when I saved it had confirmed my CMS version and hotfix version but could not confirm my .NET version. So I entered 7, selected .NET 4.0 and HF 36 and clicked ok and saved then ran the update.

Now when I go in with HF40 applied and modify my project, I get the same message box stating Automatic version detection failed with no .NET version detected. Is there anything I can send you to see what my unique setup could be that is causing the problems?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/20/2013 1:41:18 AM
   
RE:CMS.WebAnalytics.GeoIPHelper
Hi,

So, when applying the hotfix, in the advanced mode you selected the option to fix the Setup files as well?

Are you applying the hotfix via KIM or by running the exe file?

It seems that we will need to have a backup of your project folder to check all the conditions you have there.

Best regards,
Juraj Ondrus

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 6/20/2013 7:34:20 AM
   
RE:CMS.WebAnalytics.GeoIPHelper
Yes, I'm using the KIM and selecting the option to fix the setup files. Do you need the full project file or specific folders? Database backup too? I'll create a zip file and send an email to support.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/21/2013 1:55:10 AM
   
RE:CMS.WebAnalytics.GeoIPHelper
Hi,

I would try using the hotfix tool directly too.

Just project backup is OK - it is about copying files so DB does not matter.

Thank you!

Best regards,
Juraj Ondrus